[Scons-users] scon for windows 64 bit

Ronex Dicapriyo ronex_89 at yahoo.in
Sun Jul 6 06:07:11 EDT 2014


Hello,


Thanks for your response. 




On Sunday, 6 July 2014 2:42 PM, Dirk Bächle <tshortik at gmx.de> wrote:


the SCons installer is created for 32bit machines, so you would have to install 32bit-Python instead. Would that be an option for you? For a more detailed discussion about the underlying problems you might want to have a loot at http://bugs.python.org/issue6792 .
>
Sorry, that wouldn't be an option for me. I need to check my project in a 64 bit environment and it's a requiremnt that I could not change. Do I have any other options ?

For the VisualStudio toolchains, the "vcvars.bat" batch files get used to properly setup not only the paths to the programs, but a lot of other stuff. If you want to specify a target architecture (32bit vs. 64bit) or similar, please follow the instructions as given in the UserGuide, "Appendix A Construction Variables". Search for the keywords HOST_ARCH, TARGET_ARCH, MSVC_VERSION, MSSDK_VERSION...
>
Yes, But using "vcvarsall.bat x64" throws following error: 
The specified configuration type is missing. The tools for the configuration might not be installed.
So, I preferred another option as follow:
CALL "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64"

This sets the 64 bit environment, But still running the scons under the same command prompt it tries to use 32 bit compilers.
Another thing is when I explicitly provides the path for CXX as r'C:\Program Files
 (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64\cl.exe', It raises "C:\Program" unrecognized command error.

Is it a bug ? Although I have used r -> raw string, why it doesn't accepts or excute the command accordingly ?



Best regards,

Ronex



_______________________________________________
Scons-users mailing list
Scons-users at scons.org
http://four.pairlist.net/mailman/listinfo/scons-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20140706/0139fc94/attachment-0002.html>


More information about the Scons-users mailing list