Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error with qBittorent #11192

Cecilben opened this issue Sep 4, 2019 · 3 comments


Copy link

commented Sep 4, 2019

Please provide the following information

qBittorrent version and Operating System

(type here)

If on linux, libtorrent-rasterbar and Qt version

(type here)
libtorrent-rasterbar8 - 1.0.7

What is the problem

(type here)
When compiling qBittorrent from the source - getting errors in base/bittorrent/session.cpp
lt:: has not been declared.

What is the expected behavior

Compile without any error

Steps to reproduce

(type here)
Followed steps mentioned in the url -

Required dependencies as mentions in the wiki link.
sudo apt-get install libtorrent-rasterbar-dev
Qbittorent :
git clone
cd qBittorrent
git checkout v4_1_x
make -j$(nproc)

Extra info(if any)

(type here)
./configure run without any errors


This comment has been minimized.

Copy link

commented Sep 4, 2019

Instead of "sudo apt-get install libtorrent-rasterbar-dev" install newer versions of libtorrent. (1.1.1+)
libtorrent 1.2.1


This comment has been minimized.

Copy link

commented Sep 10, 2019

I am able to compile without errors with the latest version. But getting an error with qBittorent linking.


This comment has been minimized.

Copy link

commented Sep 10, 2019

After building and installing libtorrent-rasterbar onto your system do not forget to "ldconfig".

Also as you know qBittorrent supports cmake. It will be easier to building with cmake.

Else you need to pass ./configure --with-something -without-something --enable-something --disable-something and CFLAGS="incl. directory" LDFLAGS="libs directory"
After that if you want a static build LDFLAGS still needed with make command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.