Boost logo

Boost Users :

From: Damjan Miklic (damjan.miklic_at_[hidden])
Date: 2007-11-10 14:29:04


I have solved my problem by downloading the latest version of Boost from
the subversion repository. With this version, i could build the System
library and link the Asio Timer examples.

I was wondering whether this is the recommended solution and whether the
System library is officially a part of Boost 1.34.1, as there is no
information on it in the online docs http://www.boost.org/libs/libraries.htm

Best regards,
Damjan Miklic

Damjan Miklic wrote:
> 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/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 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