[Scons-users] scon for windows 64 bit

Bill Deegan bill at baddogconsulting.com
Sun Jul 6 14:51:38 EDT 2014


Ronex,


On Sun, Jul 6, 2014 at 3:07 AM, Ronex Dicapriyo <ronex_89 at yahoo.in> wrote:

> 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 ?
>

You do realize that you can install and run 32 bit python on a 64 bit
windows machine?


>
>  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 ?
>

This means that you do not have the 64 bit compilers installed through
visual studio, but rather through the platform SDK install. (I believe).

Are you explicitly listing the tools for your Environment()? or are you
allowing them to default?

When you installed ms visual studio did you install in the default location?

-Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20140706/c62ac684/attachment.html>


More information about the Scons-users mailing list