LINUX.ORG.RU

[gentoo]Не собирается FatRat

 


0

1

Пробовал разные версии. Все при сборке вылетыют с тем же выхлопом:

In file included from /usr/include/libtorrent/entry.hpp:68:0,
                 from /usr/include/libtorrent/bencode.hpp:78,
                 from /usr/include/libtorrent/create_torrent.hpp:36,
                 from /home/evgeniy/src/fatrat/src/tools/CreateTorrentDlg.h:36,
                 from /home/evgeniy/src/fatrat/src/AppTools.cpp:35:
/usr/include/libtorrent/config.hpp:46:2: error: #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
make[2]: *** [CMakeFiles/fatrat.dir/src/AppTools.cpp.o] Error 1
make[1]: *** [CMakeFiles/fatrat.dir/all] Error 2
make: *** [all] Error 2

Вроде все зависимости установлены. libtorrent-0.13.1 . Кто сталкивался с подобным и как это лечить?

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

А что вам тут не понятно?

andreyu ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.