-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
zmq cannot work on windows xp #3694
Comments
Can you provide more details on this? What are you doing? Are you experiencing problems building on Windows XP, or are you using a DLL built on a newer Windows version on Windows XP? |
i use zeromq dll on work on windows xp sp3,but crash about: if_indextoname unable to locate program input point in IPHLPAPI.DLL |
i bulid dll on window 10, but need work on window xp. |
You need to build it on windows xp if you want to use it on windows xp |
@bluca That shouldn't be necessary. The target SDK version can already be specified by setting the CMake variable ZMQ_WIN32_WINNT, but this particular guard uses a custom define ZMQ_HAVE_WINDOWS_TARGET_XP which was set only from the deprecated
@myhevenisqing For the moment, can you please try to edit the CMakeLists.txt file locally and add |
@sigiesec in my job,i build zeromq dll in vs2010. so,I'm afraid that won't work . |
@myhevenisqing You use CMake to generate a VS solution, don't you? |
@myhevenisqing It turned out there were a few more incompatibilities with Win XP. With the changes in #3716, these will be fixed. You can then generate a VS solution that target Win XP by running |
It was already fixed a while ago:
https://github.com/zeromq/libzmq/blob/master/src/ip_resolver.cpp#L584
Originally posted by @bluca in #3693 (comment)
sorry,i tryed the newest code, is still not fix zmq work on window xp. due to windows xp is not support the if_indextoname.
The text was updated successfully, but these errors were encountered: