Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: bmarkus on November 09, 2009, 08:10:47 AM

Title: Boost::ASIO library ?
Post by: bmarkus on November 09, 2009, 08:10:47 AM
Trying to compile against boost getting this error:

Code: [Select]
checking for boostlib >= 1.35... yes
checking whether the Boost::System library is available... yes
checking for exit in -lboost_system-gcc42-mt-1_39... yes
checking whether the Boost::ASIO library is available... no
configure: error: Unable to find Boost.Asio library, currently this is required.
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.

Advice appreciated.
Title: Re: Boost::ASIO library ?
Post by: ^thehatsrule^ on November 18, 2009, 12:35:38 AM
This? http://www.boost.org/doc/libs/1_40_0/doc/html/boost_asio.html
Title: Re: Boost::ASIO library ?
Post by: robc on November 18, 2009, 10:09:20 AM
From the Asio page (http://think-async.com/Asio/AsioAndBoostAsio (http://think-async.com/Asio/AsioAndBoostAsio)):
Quote
— Boost.Asio uses the Boost.System library to provide support for error codes ( boost::system::error_code and boost::system::system_error). Asio includes these under its own namespace ( asio::error_code and asio::system_error). The Boost.System version of these classes currently supports better extensibility for user-defined error codes.

— Asio is header-file-only and for most uses does not require linking against any Boost library. Boost.Asio always requires that you link against the Boost.System library, and also against Boost.Thread if you want to launch threads using boost::thread.
The asio deps are in the boost-devs extension. The v1.40 update to the boost extension is no longer there....its back to v1.39  ???
Though there may be problems with exception handling as we have seen before...not sure if that is the cause
Title: Re: Boost::ASIO library ?
Post by: Jason W on November 18, 2009, 10:13:26 AM
I will check on the boost update tonight, may have been overwritten in the conversion.
Title: Re: Boost::ASIO library ?
Post by: Jason W on November 19, 2009, 05:44:35 PM
New version uploaded.