|
From: Tapio V. <aa...@us...> - 2012-09-16 21:00:38
|
Author: Tapio Vierros <tap...@gm...> Date: Sun Sep 16 23:56:40 2012 +0300 Hack fix compilation on my machine. Had forced compile error: you must define either BOOST_ASIO_SEPARATE_COMPILATION or BOOST_ASIO_DYN_LINK in your project in order for asio`s declarations to be correct. If you're linking dynamically against libtorrent, define BOOST_ASIO_DYN_LINK otherwise BOOST_ASIO_SEPARATE_COMPILATION. You can also use pkg-config or boost build, to automatically apply these defines --- game/downloader.cc | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/game/downloader.cc b/game/downloader.cc index 8de8fb8..b8a15ca 100644 --- a/game/downloader.cc +++ b/game/downloader.cc @@ -1,5 +1,7 @@ #include "downloader.hh" +#define BOOST_ASIO_DYN_LINK + #include "fs.hh" #include "config.hh" #include "configuration.hh" |