Boost logo

Boost-Build :

Subject: [Boost-build] vcvarsall.bat not being called for 2 out of 3 msvc versions
From: Beman Dawes (bdawes_at_[hidden])
Date: 2013-09-20 09:41:55


My user-config.jam contains these lines:

  using msvc : 12.0express ; # Visual C++ 2013 RC
  using msvc : 11.0express ; # Visual C++ 2012
  using msvc : 10.0express ; # Visual C++ 2010

Running this works fine (in \boost\trunk\libs\system\test):

>b2 -a -d2 toolset=msvc-10.0express error_code_test

As expected, the output includes:

call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\vc\vcvarsall.bat"
x86 >nul

But running these both fail to find the compiler:

>b2 -a -d2 toolset=msvc-11.0express error_code_test
>b2 -a -d2 toolset=msvc-12.0express error_code_test

Because there is no call to vcvarsall.bat.

vcvarsall.bat is at an similar location in all three cases:

"C:\Program Files (x86)\Microsoft Visual Studio 10.0\vc\vcvarsall.bat"
"C:\Program Files (x86)\Microsoft Visual Studio 11.0\vc\vcvarsall.bat"
"C:\Program Files (x86)\Microsoft Visual Studio 12.0\vc\vcvarsall.bat"

What's wrong? Why isn't vcvarsall.bat being called for 11 and 12?

Thanks,

--Beman



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