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

Closed
Cecilben opened this issue Sep 4, 2019 · 3 comments

Comments

@Cecilben
Copy link

commented Sep 4, 2019

Please provide the following information

qBittorrent version and Operating System

(type here)
4_1_x

If on linux, libtorrent-rasterbar and Qt version

(type here)
libtorrent-rasterbar8 - 1.0.7
Qt5

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 - https://github.com/qbittorrent/qBittorrent/wiki/Compiling-qBittorrent-on-Debian-and-Ubuntu

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

Extra info(if any)

(type here)
./configure run without any errors

@hvonw

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+)

https://github.com/arvidn/libtorrent/releases
libtorrent-1.1.13*
libtorrent 1.2.1

@Cecilben

This comment has been minimized.

Copy link
Author

commented Sep 10, 2019

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

@hvonw

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
Projects
None yet
3 participants
You can’t perform that action at this time.