Boost logo

Boost Users :

From: David R. Palmer (dpalmer_at_[hidden])
Date: 2008-02-02 09:50:08


Prashant Gupta wrote:
> I have both VS2005 (VC8) and VS2008 (VC9) on the same machine.
>
> I have already downloaded 'boost_1_34_1.zip' and installed a complete
> boost distribution.
>
> On the command prompt, I go to $BOOST_ROOT and type just "bjam", with
> no arguments. I get the complete VC8 build in a clean way.
>
> I follow the same procedure to build using VS2008 (vc9). I go to the
> $BOOST_ROOT and type "bjam --toolset=msvc-9.0 stage". I get bunch of
> errors, resulting in failure.
>
> Could someone help me in building clean boost libraries, using VS2008
> (VC9)?
> ------------------------------------------------------------------------
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
Download and replace auto_link.hpp (most likely found here) C:\Program
Files\boost\boost_1_34_1\boost\config with the one from
http://svn.boost.org/trac/boost/browser/trunk/boost/config/auto_link.hpp

Also your user-config.jam file if you want to rebuild all the libraries
needs these lines;

# MSVC configuration
using msvc : 9.0 : "C:/Program Files/Microsoft Visual Studio
9.0/VC/bin/cl.exe" ;
# C:\Program Files\Microsoft Visual Studio 9.0\VC\bin

This file needs to be in the user default directory in Vista. So the
Kevlar directory, if that is your Vista Log In name.

Also if you read this post, it will also list a couple other fixes I
made, thanks to Greorgy Jikia, about half way down the post.
http://www.nabble.com/Preliminary-0.9.0-tarballs---VC%2B%2B-2008-Express-td14142470.html

Dave


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net