Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix debug build with VS2015 #546

Merged
merged 1 commit into from
May 5, 2017
Merged

Conversation

dpolivy
Copy link
Contributor

@dpolivy dpolivy commented Apr 25, 2017

The debug build on Windows for Native CLR was throwing linker errors
because the wrong MSVCRT was being linked in.

The fix is to use the runtime multi-threaded debug DLL, and the best
solution to getting node-gyp to use it is to set the RuntimeLibrary
property to '3'.

Docs on RuntimeLibrary property:
https://msdn.microsoft.com/en-us/library/aa652367(v=vs.71).aspx

Fix for #454

The debug build on Windows for Native CLR was throwing linker errors
because the wrong MSVCRT was being linked in.

The fix is to use the runtime multi-threaded *debug* DLL, and the best
solution to getting node-gyp to use it is to set the RuntimeLibrary
property to '3'.

Docs on RuntimeLibrary property:
https://msdn.microsoft.com/en-us/library/aa652367(v=vs.71).aspx
@tjanczuk tjanczuk merged commit 55216d6 into tjanczuk:master May 5, 2017
@dpolivy dpolivy deleted the fix-debug-build branch May 8, 2017 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants