Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

compiling asio library without boost

I am trying compile the asio without the boost library. http://think-async.com/Asio/Documentation

so, I did

 ./configure --prefix=/raspberry/asio/product

and I got error

checking boost/noncopyable.hpp usability... no
checking boost/noncopyable.hpp presence... no
checking for boost/noncopyable.hpp... no
Can't find boost headers. Please check the location of the boost
distribution and rerun configure using the --with-boost=DIR option.

I thought this asio doesn't require boost.

So, next I grab the library of asio that with boost and grabbed the boost folder and put into the asio(non boost) folder.

but it still give me the same error.

like image 580
lilzz Avatar asked Aug 08 '13 21:08

lilzz


People also ask

Is ASIO part of Boost?

Asio is a cross-platform C++ library for network and low-level I/O programming that provides developers with a consistent asynchronous model using a modern C++ approach. (Note: Boost. Asio 1.24. 0 is also included in Boost 1.80.)

Is Boost ASIO header only?

By default, Boost. Asio is a header-only library. However, some developers may prefer to build Boost. Asio using separately compiled source code.

Is Boost ASIO open source?

Asio is a freely available, open-source, cross-platform C++ library for network programming. It provides developers with a consistent asynchronous I/O model using a modern C++ approach. Boost. Asio was accepted into the Boost library on 30 December 2005 after a 20-day review.

What is Boost Io_service?

The io_service class provides the core I/O functionality for users of the asynchronous I/O objects, including: boost::asio::ip::tcp::socket. boost::asio::ip::tcp::acceptor.


1 Answers

./configure --prefix=/raspberry/asio/product --without-boost
like image 120
Paul Crown Avatar answered Oct 27 '22 00:10

Paul Crown