Subject: Re: [Boost-build] Difficulty configuring boost.build for MSVC 9.0
From: Ian Emmons (iemmons_at_[hidden])
Date: 2008-12-22 16:20:22
Hi Steven -- thanks for looking into this for me.
On Dec 22, 2008, at 1:24 PM, Steven Watanabe wrote:
> Ian Emmons wrote:
>> Note that all three versions of Visual Studio are installed in
>> their default locations:
>> C:\Program Files (x86)\Microsoft Visual Studio .NET 2003
>> C:\Program Files (x86)\Microsoft Visual Studio 8
>> C:\Program Files (x86)\Microsoft Visual Studio 9.0
>> Also note that these locations are all under "C:\Program Files
>> (x86)" because the Windows box is running 64-bit Vista.
> Boost.Build uses
> to find the installation directory of msvc 9.0.
The first key doesn't exist. ("...\VisualStudio\9.0\Setup" does, but
it has no VC sub-key.) The second key does exist. It's default value
is null, and it has a single named value called "ProductDir", whose
value is "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\",
which is exactly the directory where the vcvarsall.bat script is
I tried accessing this key under "Users" permissions, and I didn't
have any trouble reading the registry value or accessing the
vcvarsall.bat file, so this doesn't appear to be a permissions problem.
Do you have any idea what's going wrong here? Does bjam emit any sort
of log file that might show details of the error?
>> notice: msvc-8.0 detected, command: 'C:\Program Files
>> (x86)\Microsoft Visual Studio 8\VC\bin\cl.exe'
>> notice: msvc-7.1 detected, command: 'C:\Program Files
>> (x86)\Microsoft Visual Studio .NET 2003\Vc7\bin\cl.exe'
> Somehow the autodetection isn't working. What version of
> Boost.Build are you using?
Sorry, I meant to include that in my last email. The command "bjam --
Boost.Build V2 (Milestone 12)
(which I believe is the latest).
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk