0.13.6...............lib太舊
自己compile1.1.8啦
雖然唔知arm要compile幾耐
./configure --prefix=/usr --disable-gui --with-boost-libdir=/usr/lib/arm-linux-gnueabihf
./configure --disable-debug --prefix=/usr --with-boost-libdir=/home/*username*/Desktop/compile/boost/stage/lib
./configure --prefix=/usr --disable-gui --with-boost-libdir=/home/*username*/Desktop/compile/boost/stage/lib
./configure --disable-debug --enable-encryption --with-boost-libdir=/home/*username*/Desktop/compile/boost/stage/lib --with-libgeoip=system CXXFLAGS=-std=c++11
/configure --disable-gui
./bootstrap.sh --with-libraries=system,chrono,random
./b2 -j$(nproc)
sudo ./b2 -j$(nproc)
autotool.sh
./configure --disable-debug --enable-encryption CXXFLAGS=-std=c++11
make -j$(nproc)
sudo make install
linking qbittorrent-nox
make[1]: Leaving directory '/home/c0re/qBittorrent-Enhanced-Edition/src'
base/bittorrent/peerinfo.cpp:206:41: warning: ‘std::__cxx11::string libtorrent::identify_client(const peer_id&)’ is deprecated [-Wdeprecated-declarations]
return QString::fromStdString(libt::identify_client(m_nativeInfo.pid));
^~~~~~~~~~~~~~~
git checkout RC_1_1
error: ‘from_hex’ is not a member of ‘libtorrent’
好似係因為新版libtorrent問題..../usr/local/include/libtorrent
checking dependency style of gcc... none
checking dependency style of g++... none
checking whether OS is FreeBSD... no
checking whether OS is macOS... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.23... yes
checking whether to enable the Debug build... no
checking whether to enable the stacktrace feature... yes
checking whether to enable the GUI... no
checking whether to install the systemd service file... no
checking whether to enable the WebUI... yes
checking for Qt5 qmake >= 5.5.1... /usr/lib/arm-linux-gnueabihf/qt5/bin/qmake
checking whether QtDBus should be enabled... no
checking for boostlib >= 1.35 (103500)... yes
configure: Boost CPPFLAGS: "-I/usr/include"
Boost LDFLAGS: "-L/usr/lib"
checking whether the Boost::System library is available... yes
configure: error: Could not find a version of the library!