setvisible / ArrowDL

ArrowDL (Arrow Downloader) is a download manager for Windows, MacOS and Linux
https://www.arrow-dl.com/
GNU Lesser General Public License v3.0
551 stars 30 forks source link

Use system libtorrent instead of building static libs #50

Closed yochananmarqos closed 1 year ago

yochananmarqos commented 2 years ago

Can you add a Cmake flag to use the system libtorrent instead of building it? I tried patching out a few things, but it didn't work as it couldn't find libtorrent/fwd.hpp.

setvisible commented 2 years ago

Hi,

Could you be more specific? The Travis CI and AppveyorCI don't show this (maybe) link error: https://app.travis-ci.com/github/setvisible/DownZemAll/builds/241310066

Maybe the problem is your missing cmake path settings?

Regards

yochananmarqos commented 2 years ago

No, it builds fine as is. I said I tried patching out building the static libtorrent, but couldn't figure out how to make it use the system libtorrent package instead.

setvisible commented 2 years ago

Hi, Do you mean building the libtorrent apart and linking it dynamically to DZA, instead of the current static build? It's a lot of work to reengineer all this... Libtorrent isn't easy to understand. I'm not sure I have the time to do it. Maybe let's keep it for the future, when the current implementation will stop to work (and when going for libtorrent 2.0 would be the only solution to fix it...)? Cheers

yochananmarqos commented 2 years ago

No, I mean don't build it at all and depend on libtorrent as a dependency.

yochananmarqos commented 1 year ago

Maybe the problem is your missing cmake path settings?

I guess that was it. I figured out how to do it with 3.0.0. See my AUR PKGBUILD.