A
A
Alexey Maksimov2017-12-18 21:50:13
Windows
Alexey Maksimov, 2017-12-18 21:50:13

How to fix libtorrent error on Windows XP?

Hello. I'm trying to run a program on Windows XP that uses libtorrent 1.1.5 (boost 1.65.1) and I'm getting the error "CreateSemaphoreExW procedure entry point not found in DLL KERNEL32.dll". I understand that XP is no longer supported, but it is exactly what I need for my task. At the same time, the Deluge client written on the same libtorrent works fine on Windows XP. How can I solve this problem? Maybe there is some specific version after which support for XP stopped?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Maksimov, 2017-12-18
@additivex

_WIN32_WINNT=0x0501when compiling the library solved the problem.

E
Ezhyg, 2017-12-18
@Ezhyg

Your?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question