
Thaks for the quick reply. Unfortunately i still can't compile the system library. My default installation doesn't even have a libs\system folder. I have downloaded system-0.2.1.zip from the boost vault and copied the 'system' folder to boost_1_34_1\libs but running bjam --toolset=msvc --with-system results with the same error: wrong library name 'system' in the --with-<library> option. Running bjam in boost\libs\system\build gives a lengthy error message and doesn't seem to build anything. Further assistance would be appreciated. Best regards, Damjan Miklic Simon Pickles wrote:
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/u...
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