|
Boost Users : |
From: Simon Pickles (sipickles_at_[hidden])
Date: 2007-11-08 14:29:40
Hi, I had this problem recently.
I had to abandon the stage argument and just use:
bjam --toolset=msvc --with-system
or alternatively, just build the system part by running bjam in:
boost\libs\system\build
like this:
bjam --toolset=msvc threading=multi link=static
Good luck!
Simon
Damjan Miklic wrote:
> Hi,
>
> I am running into some problems when trying to build a simple Asio
> program (the Timer2 tutorial) with MSVC 8.0. I have installed Boost
> using the installer from Boost Consulting and copied the Asio headers to
> the boost_1_34_1\boost directory. The program compiles (with three
> warnings about deprecated unsafe functions in asio headers) but linking
> fails with the error:
>
> fatal error LNK1104: cannot open file
> 'libboost_system-vc80-mt-sgd-1_34_1.lib'
>
> I have tried building Boost.System with the command:
>
> bjam --with-system stage
>
> according to the instructions found on:
>
> http://asio.sourceforge.net/boost_asio_0_3_8/libs/asio/doc/html/boost_asio/using.html
>
> but i get the following error:
> error: wrong library name 'system' in the --with-<library> option.
>
> I have searched the Boost website and mailing list archives but couldn't
> find any further information on building the System library.
>
> Any help in resolving this problem will be greatly appreciated.
>
> Best Regards,
>
> Damjan Miklic
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
> </
>
>
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