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

Building on Win 7 x64: node-gyp and Visual Studio fail "unresolved externals" #174

Closed
26medias opened this issue Aug 26, 2015 · 3 comments
Closed

Comments

@26medias
Copy link

Hi,

I'm trying to build on Win 7 x64.
I have Visual Studio 2015 installed, as well as all its requirements (Python 2.7, ....)

I tried to build using "npm install", node-gyp and manually using Visual Studio, but always get the same issues.

Here are the fatal errors when building using Visual Studio:
http://i.imgur.com/Na6pPfF.png

Here is the output of node-gyp:
http://i.imgur.com/kDv3Ere.png
http://i.imgur.com/Ro5aP5b.png (last few lines of the console)

When building in Visual Studio, I had to change the config from debug (default) to release, else I was getting this:
http://i.imgur.com/6JR9qlf.png
Looks like the latest node-gyp doesn't support debug by default (the /Debug directory is missing). Node-gyp was re-installed using "npm install -g node-gyp" prior to the build.

Do you have any idea what is going on?

Thanks.

@iangilman
Copy link

I too am having trouble building on Windows! Win 8.1 x64, VS Community 2015. I've got Python but now it's complaining it can't find CL.exe (which neither can I on my hard drive...supposedly it's part of VS Community?).

@cedon
Copy link

cedon commented Sep 20, 2015

If you installed VS 2015, the C/C++ tools are not installed by default so you'll have to add them. But unfortunately it still will not build under Windows if you're using Node 4.

@EyalAr
Copy link
Owner

EyalAr commented Oct 3, 2015

#182 should solve this.

@EyalAr EyalAr closed this as completed Oct 3, 2015
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

No branches or pull requests

4 participants