-
Notifications
You must be signed in to change notification settings - Fork 17
Windows Compiler
D.-L.Pohl edited this page Jan 28, 2015
·
7 revisions
- Under windows, be sure you have Visual Studio 2008. VS 2013 wouldn’t work, since distutils does not support it so far. Best way is to have the Professional Version of VS. If this is not available install the Express Version.
- If you want to have a 64-bit compiler in the Visual Studio Express Version follow this hack:
- Since VS2008, doesn’t come with a 64-bit compiler, after Installing VS 2008, install Windows SDK for Windows7 and .NET Frame Work Sp1 (link)
- During installation, only tick Windows Headers and Libraries and Visual C++ Compilers
- To verify that you have all installed components, check that the Microsoft SDK contains the “amd64” version of the C/C++ compiler “cl.exe”. This is usually installed into C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\amd64\cl.exe
- copy …/VC/bin/vcvars64.bat to …/VC/bin/vcvarsamd64.bat
copy …/VC/bin/vcvars64.bat to _…/VC/bin/amd64/vcvarsamd64.bat