Boost C++ Libraries: Ticket #6283: Visual Studio 11 support for Boost.Build https://svn.boost.org/trac10/ticket/6283 <p> There seems to be no support declared for lookup of cl.exe from Visual Studio 11 (currently available as Visual Studio 11 Developer Preview) in Boost.Build. </p> <p> I attached patch with relevant update in the tools. </p> <ul><li>Running Boost.Build to build Boost.Asio tests from current trunk reports: </li></ul><pre class="wiki">d:\dev\boost\_svn\trunk\libs\asio\test&gt;b2 --debug-configuration --debug-building --debug-generator buffer.cpp notice: found boost-build.jam at D:/dev/boost/_svn/trunk/boost-build.jam notice: loading Boost.Build from D:/dev/boost/_svn/trunk/tools/build/v2 notice: Searching C:\Windows C:\Users\mloskot C:\Users\mloskot D:\dev\boost\_svn\trunk\tools/build/v2 D:/dev/boost/_svn/trunk/tools/build/v2/kernel D:/dev/ boost/_svn/trunk/tools/build/v2/util D:/dev/boost/_svn/trunk/tools/build/v2/build D:/dev/boost/_svn/trunk/tools/build/v2/tools D:/dev/boost/_svn/trunk/tool s/build/v2/contrib D:/dev/boost/_svn/trunk/tools/build/v2/. for site-config configuration file site-config.jam . notice: Loading site-config configuration file site-config.jam from D:/dev/boost/_svn/trunk/tools/build/v2/site-config.jam . notice: Searching C:\Users\mloskot C:\Users\mloskot D:\dev\boost\_svn\trunk\tools/build/v2 D:/dev/boost/_svn/trunk/tools/build/v2/kernel D:/dev/boost/_svn/ trunk/tools/build/v2/util D:/dev/boost/_svn/trunk/tools/build/v2/build D:/dev/boost/_svn/trunk/tools/build/v2/tools D:/dev/boost/_svn/trunk/tools/build/v2/ contrib D:/dev/boost/_svn/trunk/tools/build/v2/. for user-config configuration file user-config.jam . notice: Loading user-config configuration file user-config.jam from C:/Users/mloskot/user-config.jam . notice: [msvc-cfg] msvc-10.0 detected, command: 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\cl.exe' notice: [msvc-cfg] msvc-10.0express detected, command: 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\cl.exe' warning: toolset msvc initialization: can not find tool cl.exe warning: initialized from C:\Users\mloskot\user-config.jam:49 notice: will use 'cl.exe' for msvc, condition &lt;toolset&gt;msvc-11.0 ... </pre><ul><li>After the patch applied, it reports VS11 found: </li></ul><pre class="wiki">d:\dev\boost\_svn\trunk\libs\asio\test&gt;b2 --debug-configuration --debug-building --debug-generator buffer.cpp notice: found boost-build.jam at D:/dev/boost/_svn/trunk/boost-build.jam notice: loading Boost.Build from D:/dev/boost/_svn/trunk/tools/build/v2 notice: Searching C:\Windows C:\Users\mloskot C:\Users\mloskot D:\dev\boost\_svn\trunk\tools/build/v2 D:/dev/boost/_svn/trunk/tools/build/v2/kernel D:/dev/ boost/_svn/trunk/tools/build/v2/util D:/dev/boost/_svn/trunk/tools/build/v2/build D:/dev/boost/_svn/trunk/tools/build/v2/tools D:/dev/boost/_svn/trunk/tool s/build/v2/contrib D:/dev/boost/_svn/trunk/tools/build/v2/. for site-config configuration file site-config.jam . notice: Loading site-config configuration file site-config.jam from D:/dev/boost/_svn/trunk/tools/build/v2/site-config.jam . notice: Searching C:\Users\mloskot C:\Users\mloskot D:\dev\boost\_svn\trunk\tools/build/v2 D:/dev/boost/_svn/trunk/tools/build/v2/kernel D:/dev/boost/_svn/ trunk/tools/build/v2/util D:/dev/boost/_svn/trunk/tools/build/v2/build D:/dev/boost/_svn/trunk/tools/build/v2/tools D:/dev/boost/_svn/trunk/tools/build/v2/ contrib D:/dev/boost/_svn/trunk/tools/build/v2/. for user-config configuration file user-config.jam . notice: Loading user-config configuration file user-config.jam from C:/Users/mloskot/user-config.jam . notice: [msvc-cfg] msvc-11.0 detected, command: 'C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\cl.exe' notice: [msvc-cfg] msvc-10.0 detected, command: 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\cl.exe' notice: [msvc-cfg] msvc-10.0express detected, command: 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\cl.exe' notice: will use 'C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\cl.exe' for msvc, condition &lt;toolset&gt;msvc-11.0 notice: [msvc-cfg] condition: '&lt;toolset&gt;msvc-11.0/&lt;architecture&gt;/&lt;address-model&gt;', setup: 'call "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcv arsall.bat" x86 &gt;nul </pre><p> I have tested it on Windows 7 64-bit with Visual Studio 11 Developer Preview installed along Visual Studio 2010 Express Edition with only one entry in my user-config.jam: </p> <pre class="wiki">using msvc : 11.0 ; </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6283 Trac 1.4.3 Mateusz Loskot Sat, 17 Dec 2011 02:03:39 GMT attachment set https://svn.boost.org/trac10/ticket/6283 https://svn.boost.org/trac10/ticket/6283 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost-build-msvc-11.patch</span> </li> </ul> <p> Patch for Boost.Build with Visual Studio 11 support </p> Ticket Mateusz Loskot Sat, 17 Dec 2011 02:27:01 GMT attachment set https://svn.boost.org/trac10/ticket/6283 https://svn.boost.org/trac10/ticket/6283 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost-build-msvc-11.2.patch</span> </li> </ul> <p> Updated version of patch for Boost.Build with Visual Studio 11 support </p> Ticket Vladimir Prus Mon, 19 Dec 2011 11:07:02 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/6283#comment:1 https://svn.boost.org/trac10/ticket/6283#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/76061" title="Add support for MSVC 11. Patch from Mateusz Łoskot. Fixes #6283. ">[76061]</a>) Add support for MSVC 11. </p> <p> Patch from Mateusz Łoskot. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6283" title="#6283: Bugs: Visual Studio 11 support for Boost.Build (closed: fixed)">#6283</a>. </p> Ticket