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] Updating the Windows MSVC 2017 wiki page #11522

Closed
Rootax opened this issue Nov 25, 2019 · 3 comments
Closed

[Compilation] Updating the Windows MSVC 2017 wiki page #11522

Rootax opened this issue Nov 25, 2019 · 3 comments
Labels

Comments

@Rootax
Copy link

@Rootax Rootax commented Nov 25, 2019

Hello,

First of all, big thanks to all the people who have updated this page https://github.com/qbittorrent/qBittorrent/wiki/Compiling-with-MSVC-2017-x64-(static-linkage) over the years.

Not, it seems that the soon to be released 4.2 version will use libtorrent 1.2.x, and a newer openssl version. From what I understand, this page is still mostly relevent, but openssl compilation has changed since 1.0.x, and I don't know about other changes.

Could it be possible for someone with (time and) knowledge, to update this page for 4.2.x versions, and the news librairies ?

Thx a lot.

(Sorry for my english)

@sledgehammer999

This comment has been minimized.

Copy link
Contributor

@sledgehammer999 sledgehammer999 commented Nov 25, 2019

If I remember, I'll do it once I release 4.2.0 final.
In case you yourself are trying to build with the new libs then here are my barebones notes on the matter. Don't expect much clarification if you don't know what you're doing.

Openssl 1.1.x

perl Configure VC-WIN64A no-shared no-zlib no-zlib-dynamic threads --release --openssldir=C:\openssl --prefix=G:\QBITTORRENT\install_msvc64\base -IG:\QBITTORRENT\install_msvc64\base\include -LG:\QBITTORRENT\install_msvc64\base\lib --with-zlib-lib=G:\QBITTORRENT\install_msvc64\base\lib\zlib.lib
nmake
nmake test
nmake install_sw

Libtorrent 1.2:

b2 -q --without-python --toolset=msvc address-model=64 variant=release link=static runtime-link=static debug-symbols=on encryption=on crypto=openssl openssl-version=1.1 logging=off dht=on windows-version=win7 deprecated-functions=off boost-link=static -sBOOST_ROOT="G:\qBittorrent\boost_1_71_0" include="G:\QBITTORRENT\install_msvc64\base\include" include="G:\QBITTORRENT\boost_1_71_0" library-path="G:\QBITTORRENT\install_msvc64\base\lib" library-path="G:\QBITTORRENT\boost_1_71_0\stage\lib" --prefix="G:\QBITTORRENT\install_msvc64\base" cxxflags="-O1 -Gy -Gw -GL" define=BOOST_ASIO_DISABLE_CONNECTEX linkflags="/NOLOGO /DYNAMICBASE /NXCOMPAT /LTCG /OPT:REF /OPT:ICF=5 /MANIFEST:EMBED /INCREMENTAL:NO" --hash -j 8
@Rootax

This comment has been minimized.

Copy link
Author

@Rootax Rootax commented Nov 26, 2019

Thx a lot. I already build with older versions, so yeah your notes will help. And I'll allow myself to remind you to update the wiki page once the final release is out ; )

@sledgehammer999

This comment has been minimized.

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.