WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Boost::ASIO library ?  (Read 3326 times)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Boost::ASIO library ?
« on: November 09, 2009, 11: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.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: Boost::ASIO library ?
« Reply #1 on: November 18, 2009, 03:35:38 AM »

Offline robc

  • Sr. Member
  • ****
  • Posts: 447
Re: Boost::ASIO library ?
« Reply #2 on: November 18, 2009, 01:09:20 PM »
From the Asio page (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
"Never give up! Never surrender!" - Commander Peter Quincy Taggart

"Make it so." - Captain Picard

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Boost::ASIO library ?
« Reply #3 on: November 18, 2009, 01:13:26 PM »
I will check on the boost update tonight, may have been overwritten in the conversion.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Boost::ASIO library ?
« Reply #4 on: November 19, 2009, 08:44:35 PM »
New version uploaded.