
Hi, thanks very much for responding. I have followed your instructions but so far can't get it to work. running bjam as below gives a message: msvc:9.0:C:/microsoft..../bin/cl.exe.jam: Invalid argument and : rule msvc:9.0:c:/micro..../cl.exe.init unknown in module toolset then appears to drop through with a number of in (various modules) messages. Would greatly appreciate your help. Thanks Chris ----- Original Message ----- From: "John Maddock" <john@johnmaddock.co.uk> To: <boost-users@lists.boost.org> Sent: Wednesday, January 02, 2008 6:59 PM Subject: Re: [Boost-users] cannot build the regex example in visual c++ 2008
chris briscoe wrote:
Hello- absolute beginner here. I have the latest (November version) of visual studio c++ 2008 express.
The header only version compiled fine. However the regex example fails with many unresolved external symbols.
Do I need to build the libraries for this compiler? Or am I making some other booboo.
Yes you need to build the libraries for this compiler: see http://www.boost.org/more/getting_started/windows.html
There aren't any pre-built binaries for VC2008 yet, but you should be able to build from source OK. Also note that since VC2008 wasn't available when Boost-1.34 was released, you will need to modify your user-config.jam to tell bjam where to look for it, basically:
copy boost-root/tools/build/v2/user-config.jam to %HOMEDRIVE%%HOMEPATH% or %HOME% (echo these from the command prompt to check where these locations are),
and then add the line:
using msvc : 9.0 : "c:/program files/microsoft visual studio 9.0/vc/bin/cl.exe" ;
adjusting the path as necessary, then you should be able to build from Boost's root directory with:
bjam --with-regex stage msvc-9.0
Afterwards make sure the binaries are in your project's library-search-path and hopefully everything should just work :-)
HTH, John.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users