简体   繁体   中英

Couldn't able to build node-gyp Visual Studio 2013 support

I'm using Visual Studio 2013, and i need to do a example project with msnodesql , I installed node-gyp globally, then i tried to configure the node-gyp using node-gyp configure command, it executed successfully, but when i tried to build the node-gyp using node-gyp build . It shows me so many errors.

I also updated MSVSVersion.py as suggested in this link but no use.

I get several errors like error C4430: missing type specifier - int assumed. Note: C++ does not support default-int OdbcOperation.h error C4430: missing type specifier - int assumed. Note: C++ does not support default-int OdbcOperation.h .

error C2819: type 'mssql::OdbcOperation' does not have an overloaded member 'operator -> OdbcOperation.cpp' 

Could any one help me with this? Thanks.

If you look at the node-gyp GitHub page the installation details list the prerequisites for installing on windows.

Basically you need either VS2010 or 2012 installed (depending on OS) and if on Windows 7 the Windows 7 sdk.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM