-
-
Notifications
You must be signed in to change notification settings - Fork 996
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
need help building windows xp #5334
Comments
Why you are still on Windows XP? We shouldn't support it. |
@Avatat |
iirc, The work-arounds to build on XP were removed at some point in 1.2.x. I believe Vista is the oldest supported windows now. |
@arvidn |
@bemaru so finally, what is the latest version that supports XP? |
I expect you could build RC_1_2 for XP with just a small amounts of fixes to feature detections |
I do not understand how to modify WINAPI address_change_cb to support Windows XP. |
@gtumanyan libtorrent-1_2_3 tag is the latest version that xp support maybe. |
I've just managed to run client_test.exe 1.2.3 with a few modifications on windows XP. |
please do! |
Could you give me the right to create the branch or should I fork libtorrent-1_2_3 first? |
fork the repo, create your feature branch, then PR it against this repo on github. |
PR created but github wants it to be merged into the existing branch. |
I want to use libtorrent on windows xp. I was trying to build and an error occurred
Can libtorrent run on windows xp? I need help if possible.
Below is my situation.
cmake
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=14 -G "Visual Studio 15 2017" .. -DBoost_USE_STATIC_LIBS=ON -A Win32 -B "Win32" -Dstatic_runtime=ON -Dbuild_tests=ON -Dbuild_examples=ON
build client_test.exe in libtorrent.sln
changed platform toolset : Visual Studio 2017 - Windows XP (v141_xp)
referenced the openssl, boost dependency
build was successful and it worked fine in windows 10
However, I confirmed that it does not work in window xp,
and I modified the preprocessor of torrent-rasterbar.
I changed _WIN32_WINNT from 0x0600 to 0x0501.
As a result, a build error occurred.
cf. my preprocessor of torrent-rasterbar
WIN32
_WINDOWS
NDEBUG
TORRENT_BUILDING_SHARED
BOOST_ASIO_ENABLE_CANCELIO
TORRENT_BUILDING_LIBRARY
_FILE_OFFSET_BITS=64
BOOST_EXCEPTION_DISABLE
BOOST_ASIO_HAS_STD_CHRONO
WIN32_LEAN_AND_MEAN
BOOST_ALL_NO_LIB
_SCL_SECURE_NO_DEPRECATE
_CRT_SECURE_NO_DEPRECATE
TORRENT_USE_OPENSSL
TORRENT_USE_LIBCRYPTO
TORRENT_EXPORT_EXTRA
_WIN32_WINNT=0x0501
CMAKE_INTDIR="Release"
torrent_rasterbar_EXPORTS
Additionally, the b2 build seems to be the same.
b2 toolset=msvc-14.1 cxxstd=14 variant=release link=static runtime-link=static debug-symbols=on windows-version=xp
The text was updated successfully, but these errors were encountered: