Closed AaronNGray closed 9 years ago
I just googled cannot open file 'LIBCMT.lib'
and I found this so question that implies that you are running this from a prompt that does not have all the environment variables set. I am unfamiliar with windows environments though.
I tried a) running vcvarsall.bat before building on command line b) building the project using Visual Studio 2015
And am getting the same error. LIBCMT.LIB which is the standard Multithreaded, static linking library chosen using /MT C++ compiler option. Normal /MT based projects build okay, on my machine.
So its got to be something to do with node-gyp's generation of the project file as far as I can tell.
Okay it only works with Visual Studio 2012 or 2013 !
Am getting the following error when building on Windows 8.1 (64 bit) with Visual Studio 2015
LINK : fatal error LNK1104: cannot open file 'LIBCMT.lib' [C:\Users\Aaron\Node.js\node-proxy\build\nodeproxy.vcxproj]
I got a similar error with Visual Studio 2012.