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

Using Windows SDK only on windows for automatic buidling? #23

Closed
be5invis opened this issue Feb 14, 2012 · 8 comments
Closed

Using Windows SDK only on windows for automatic buidling? #23

be5invis opened this issue Feb 14, 2012 · 8 comments
Labels

Comments

@be5invis
Copy link

Visual studio is large.

@TooTallNate
Copy link
Contributor

@piscisaureus wants this too.

Basically node-gyp depends on the msbuild.exe command that comes with Visual Studio to build the .sln file generated from gyp. So my question is does the Windows SDK come with msbuild.exe or some other equivalent "build my solution" command?

@be5invis
Copy link
Author

http://stackoverflow.com/questions/2567018/installing-msbuild-4-0-without-visual-studio-2010

Comfirmed, SDK DOES have msbuild. It is possible.

@TooTallNate
Copy link
Contributor

Well then unless msbuild.exe resides in a different location with just the SDK (entirely possible) then this should already work fine! I'll try to test it out when I get a chance.

@TooTallNate
Copy link
Contributor

With just the Windows 7 SDK installed on a Win 7 64-bit machine, I'm getting this when trying to run msbuild:

So it looks like at least .NET Framework 2.0 Software Development Kit needs to be installed alongside the newer SDK, so that vcbuild.exe gets installed.

@be5invis
Copy link
Author

I think .NET SDK is also required. Use the Windows SDK 7.1 (incl. .NET).

@TooTallNate
Copy link
Contributor

@be5invis With just the Windows SDK 7.1 installed (and .NET 4.0), I get the error shown above.

Even after installing the .NET Framework 2.0 SDK, like it says in the error message, I pretty much get the same thing. I'm not exactly sure what else needs to be installed other than Visual Studio 2010 Express :\

@TooTallNate
Copy link
Contributor

I wasn't able to figure this out. @be5invis were you?

I ended up just downloading Visual Studio 2010 Express alongside the Windows 7 64-bit SDK. Together they can produce 64-bit node native modules.

@TooTallNate
Copy link
Contributor

I'm just gonna recommend that people install the 64-bit SDK alongside Visual Studio C++ 2010 Express. Closing...

targos added a commit to targos/node-gyp that referenced this issue Aug 22, 2021
`python -m flake8 . --select E231`

Refs: psf/black#1288
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants