Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to compile Boost 1.39 in VS2010?
    text
    copied!<p>I am trying to upgrade our C++ project from VS2005 to VS2010 and so far all seems good except I need to recompile our Boost libraries (v1.39) in VS2010 (i.e. with vc100 - the versions we have are vc80). I do not (at this stage) want to upgrade Boost as I'd prefer to complete the VS2005 to VS2010 upgrade first without doing a Boost upgrade at the same time.</p> <p>The problem I have is that Boost 1.39 comes with bjam and the version we have does not support/know about msvc10.0. I tried this:</p> <p>C:\libs\boost_1_39_0><strong>bjam toolset=msvc-10.0 --build-type=complete stage</strong></p> <p>But, I get this:</p> <p>C:/libs/boost_1_39_0/tools/build/v2/tools\msvc.jam:733: in configure-really<br> <em>*</em> argument error<br> * rule path.make ( native )<br> * called with: ( )<br> * missing argument native<br> C:/libs/boost_1_39_0/tools/build/v2/util\path.jam:44:see definition of rule 'make' being called<br> C:/libs/boost_1_39_0/tools/build/v2/tools\msvc.jam:184: in configure<br> C:/libs/boost_1_39_0/tools/build/v2/tools\msvc.jam:137: in msvc.init<br> C:/libs/boost_1_39_0/tools/build/v2/build\toolset.jam:38: in toolset.using<br> C:/libs/boost_1_39_0/tools/build/v2\build-system.jam:465: in process-explicit-toolset-requests<br> C:/libs/boost_1_39_0/tools/build/v2\build-system.jam:545: in load<br> C:\libs\boost_1_39_0\tools\build\v2/kernel\modules.jam:283: in import<br> C:\libs\boost_1_39_0\tools\build\v2\kernel\bootstrap.jam:138: in boost-build<br> C:\libs\boost_1_39_0\boost-build.jam:16: in module scope<br> C:\libs\boost_1_39_0></p> <p>When I look at msvc.jam, it does not seem to support msvc-10.0 (no surprise as I doubt vc10.0 was out when Boost was at 1.39).</p> <p>So did a bit of research and found that maybe I need to b2 instead of bjam, but I have very little experience of compiling Boost (just used precompiled libs before), so I would like to ask is it possible to get b2 that will work with Boost 1.39? Or is it possible to make bjam work with vc10.0?</p> <p>Essentially, I just need to compile Boost 1.39 with vc-10.0 (VS2010) as simply as possible please! I will be very grateful to anyone who can tell me how to do this!</p> <p>Thank you in advance........ :)</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload