[修改版] 會自動Block迅雷嘅qBittorrent (3)
kkwong7878 2020-9-7 15:26:09 v4.2.5.15 正式版替換成 v4.2.5.15-alpha1
將C:\Program Files\qBittorrent\(qbittorrent.exe,qbittorrent.pdb)兩個文件刪除,替換上v4.2.5.15-alpha1 (qbittorrent.exe,qbittorrent.pdb) 替換方法有無做錯?
reboot computer
1:用這樣替換方法測試了兩個新種子,上傳下載正常,開關qt正常,Block迅雷正常,Ram使用情況正常(跟以往差不多)

2:重新掛上一粒已完成的舊種子,重新較驗(recheck),100%完成正常,上傳下載正常,開關qt正常

3:proxy改用socks5 127.0.0.1 1234,apply正常,tracker連接唔到正常,上傳下載正常(有DHT可以連接到少量其他Peer),開關qt正常,proxy失效正常

:^(

:^(

:^(

Ads

Husky 2020-9-7 21:50:25 係boost 1.74出事
:^(

我downgrade番就冇野了
:^(
kkwong7878 2020-9-7 22:19:17 咁快搵到出事原因
:^(
Husky 2020-9-7 22:36:01 07/09/2020 - v4.2.5.16
Changelog
1. [Windows] Boost Library downgrade to 1.73 (Fix #155 #156)
2. Save torrent resume data when enabling IP Filter
v4.2.5.15
1. libtorrent update to 1.2.10-0f0afec8c (Fix #127)
2. Optional Button for re-enable Torrent IP Filter (Tools>Enable Torrent IP Filter).
如果你用緊4.2.5.11-14,請升級完之後即刻用呢個功能開返IP Filter
4.2.5.10或以下就唔洗理

詳情: https://github.com/arvidn/libtorrent/issues/5074
洛托姆圖鑑 2020-9-7 22:59:57
:^(
洛托姆圖鑑 2020-9-7 23:08:41 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
洛托姆圖鑑 2020-9-7 23:12:21 有人話係CXXFLAGS=-std=c++11嘅問題,但我冇加到落去
:^(
Husky 2020-9-7 23:22:57 2邊都要用 CXXFLAGS=-std=c++14
Husky 2020-9-7 23:28:33 準確D講係libtorrent要用c++14
因為qbittorrent default/mininum用c++14
洛托姆圖鑑 2020-9-7 23:52:47 由libtorrent重新開始過

./configure --disable-debug --prefix=/usr --with-libgeoip=system --with-boost-libdir=/usr/lib/arm-linux-gnueabihf CXXFLAGS=-std=c++14

確認有喺度
CXXFlags: -std=c++14 -ftemplate-depth=512 -Wno-format-zero-length -fvisibility=hidden -fvisibility-inlines-hidden

然後
make CXXFLAGS=-std=c++14 -j3

但係見到佢繼續用11...
:^(
kkwong7878 2020-9-8 00:17:56 完整解除安裝v4.2.5.15-alpha1 (Windows Registry,所有qbittorent舊設置文件清理)
新安裝v4.2.5.16,掛上4-5個舊種子,重新校驗。另新加2粒種子下載測試,暫時一切正常
:^(

Ads

Husky 2020-9-8 01:08:29 試下 ./configure --disable-debug --prefix=/usr --with-libgeoip=system --with-boost-libdir=/usr/lib/arm-linux-gnueabihf CXXFLAGS="-std=c++14" CPPFLAGS="-std=c++14"
make唔洗CXXFLAGS=-std=c++14
洛托姆圖鑑 2020-9-8 20:40:51 都係繼續11
:^(

我試吓唔理佢照去睇吓點先
洛托姆圖鑑 2020-9-8 21:11:28 結果libtorrent繼續11
qb就用到14
成功咗
但係我都唔知點解得
:^(
Husky 2020-9-8 23:21:26 gnueabihf唔同d?
:^(
:^(
:^(

libtorrent c11 qbittorrent c14
我記得會炒車
洛托姆圖鑑 2020-9-9 11:26:49 唔知
:^(


:^(
Husky 2020-9-10 09:33:57
:^(
開到荼蘼 2020-9-10 13:33:56
:^(

更新咗之後咁樣
咩事
:^(
Husky 2020-9-10 14:24:26 。。。。。
:^(
:^(
:^(
:^(

有冇用custom ui style?
一係Qt改過UI黎
:^(
:^(
:^(
ネコに風船 2020-9-10 20:30:16 想問下係咪無 "下載完成之後有音效提示" ?
定係我記錯無嬲都無
:^(
英年早肥 2020-9-10 21:57:10
:^(

Ads

Husky 2020-9-11 01:26:32
:^(
:^(
Husky 2020-9-11 09:55:06
:^(
開到荼蘼 2020-9-11 13:22:33 點樣轉番上個版本
:^(
開到荼蘼 2020-9-11 13:25:30 冇事了 原來依到可以較
:^(