compile又遇到問題
libtorrent用呢個版本
https://github.com/arvidn/libtorrent/releases/tag/libtorrent-1.2.10
之後compile qBittorrent 4.2.5.16
...
compiling moc_transfercontroller.cpp
compiling moc_webapplication.cpp
compiling moc_webui.cpp
linking qbittorrent-nox
/usr/bin/ld: resumedatasavingmanager.o: in function `int libtorrent::detail::bencode_recursive<Utils::IO::FileDeviceOutputIterator>(Utils::IO::FileDeviceOutputIterator&, libtorrent::entry const&)':
/usr/include/libtorrent/bencode.hpp:165: undefined reference to `libtorrent::entry::dict[abi:cxx11]() const'
/usr/bin/ld: tracker.o: in function `BitTorrent::Tracker::prepareAnnounceResponse(BitTorrent::Tracker::TrackerAnnounceRequest const&)':
/home/xxxxxxxx/compile/qBittorrent-Enhanced-Edition/src/base/bittorrent/tracker.cpp:452: undefined reference to `libtorrent::entry::entry(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, libtorrent::entry, libtorrent::aux::strview_less, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, libtorrent::entry> > >)'
/usr/bin/ld: tracker.o: in function `BitTorrent::Tracker::prepareAnnounceResponse(BitTorrent::Tracker::TrackerAnnounceRequest const&)':
/usr/include/c++/8/ext/new_allocator.h:136: undefined reference to `libtorrent::entry::entry(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, libtorrent::entry, libtorrent::aux::strview_less, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, libtorrent::entry> > >)'
/usr/bin/ld: tracker.o: in function `BitTorrent::Tracker::processRequest(Http::Request const&, Http::Environment const&)':
/home/xxxxxxxx/compile/qBittorrent-Enhanced-Edition/src/base/bittorrent/tracker.cpp:259: undefined reference to `libtorrent::entry::entry(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, libtorrent::entry, libtorrent::aux::strview_less, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, libtorrent::entry> > >)'
/usr/bin/ld: tracker.o: in function `int libtorrent::detail::bencode_recursive<std::back_insert_iterator<QByteArray> >(std::back_insert_iterator<QByteArray>&, libtorrent::entry const&)':
/usr/include/libtorrent/bencode.hpp:165: undefined reference to `libtorrent::entry::dict[abi:cxx11]() const'
/usr/bin/ld: tracker.o: in function `void std::vector<libtorrent::entry, std::allocator<libtorrent::entry> >::_M_realloc_insert<std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, libtorrent::entry, libtorrent::aux::strview_less, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, libtorrent::entry> > >&>(__gnu_cxx::__normal_iterator<libtorrent::entry*, std::vector<libtorrent::entry, std::allocator<libtorrent::entry> > >, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, libtorrent::entry, libtorrent::aux::strview_less, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, libtorrent::entry> > >&)':
/usr/include/c++/8/ext/new_allocator.h:136: undefined reference to `libtorrent::entry::entry(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, libtorrent::entry, libtorrent::aux::strview_less, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, libtorrent::entry> > >)'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:623: qbittorrent-nox] Error 1
make[1]: Leaving directory '/home/xxxxxxxx/compile/qBittorrent-Enhanced-Edition/src'
make: *** [Makefile:45: sub-src-make_first] Error 2