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.
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.)
By default, Boost. Asio is a header-only library. However, some developers may prefer to build Boost. Asio using separately compiled source code.
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.
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.
./configure --prefix=/raspberry/asio/product --without-boost
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With