Open dpolivy opened 8 years ago
Related to this tools\buildall.bat
appears to hardcode msvs_version=2013
which is causing problems. If I update that to 2015
, then buildall.bat
appears to work OK.
The proper fix to build debug with VS2015 is to change the RuntimeLibrary
property for the debug config to 3
, which is the value for the runtime multithreaded debug DLL.
I've pulled down the latest code from master, and am trying to build it with VS2015 on my machine. Python, etc are all installed correctly. Building a
release
build works just fine, but when I try to builddebug
, I get a bunch of linker errors that seem to indicate MSVCRT is missing.Steps:
npm install
node-gyp configure
node-gyp build
-->success
node-gyp build -debug
-->fail
Sample error output (32 linker errors total):
Funny thing is the CoreCLR library builds just fine; this is only impacting the native CLR version.
As a potential fix/hack, I manually modified
build/edge_nativeclr.vcxproj
to addmsvcmrtd.lib
to the<AdditionalDependencies>
section. That seems to work, but does give another linker warning:Not sure if this is a
node-gyp
issue, or something with the build configuration for edge. Any ideas?