Opened 15 years ago

Closed 15 years ago

Last modified 10 years ago

#1091 closed Bugs (fixed)

Build.bat does not autodetect msvc on 64-bit Windows when building bjam

Reported by: jonathon-olesberg@… 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 René Rivera, 15 years ago

Milestone: Boost 1.34.1Boost.Jam 3.1.15

comment:2 by René Rivera, 15 years ago

Resolution: fixed
Status: newclosed

comment:3 by pullin@…, 10 years ago

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.

Note: See TracTickets for help on using tickets.