jeudi 29 septembre 2016

How to add Boost.Asio to project?

I'm trying to add the Boostless (despite what the title says) version of Asio to my project but when I build it I always get an error:

../lib/asio/async_result.hpp:18:10: fatal error: 'asio/detail/config.hpp' file not found

I downloaded the library from Sourceforge, ran ./configure --without-boost, copied the content of the include folder into my project and included asio in my project: #include "../lib/asio.hpp"

I can't find any other SO answers or google search results for this. Any help?

Aucun commentaire:

Enregistrer un commentaire