#1091 closed Bugs (fixed)
Build.bat does not autodetect msvc on 64-bit Windows when building bjam
Reported by: | Owned by: | René Rivera | |
---|---|---|---|
Milestone: | Boost.Jam 3.1.15 | Component: | bjam |
Version: | Severity: | Cosmetic | |
Keywords: | bjam Win64 | Cc: |
Description
In trying out the release candidate, I noticed a problem with the batch file that builds the bjam executable on windows. If I execute build.bat from the tools\jam\src directory, I get an error:
T:\boost-1_34_1\boost\tools\jam\src>.\build.bat Setting environment for using Microsoft Visual Studio 2005 x86 tools. \Microsoft was unexpected at this time.
However, if I specify msvc, things work fine:
T:\boost-1_34_1\boost\tools\jam\src>.\build.bat msvc ### ### Using 'msvc' toolset. ### T:\boost-1_34_1\boost\tools\jam\src>rd /S /Q bootstrap T:\boost-1_34_1\boost\tools\jam\src>md bootstrap ... and so on ...
The problem only shows up on Win64 systems, possibly because the Microsoft compiler is stored under "\Program Files (x86)\" on 64-bit systems.
The problem is already fixed in CVS head, but not the 1.34.1 release candidate or the 3.1.14 release of bjam.
Change History (3)
comment:1 by , 15 years ago
Milestone: | Boost 1.34.1 → Boost.Jam 3.1.15 |
---|
comment:2 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 10 years ago
Note:
See TracTickets
for help on using tickets.
This bug seems to have appeared again. I have MSVC2012 installed, but also several other compilers (mingGW, embedded). Unpacked boost_1_53_0.zip , bootstrap.bat failed.
I can't provide a pastebin or direct paste of the error message or attach a file, due to spam filtering. But the error is sort of similar to the above.