-
Notifications
You must be signed in to change notification settings - Fork 96
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
libzmq for ZeroMQ for Mono on Windows? #157
Comments
Windows |
Which libzmq.dll will work? I can put different versions of libzmq.dll in the directory of the .exe, but none appear to be the correct libzmq.dll. Which version? |
The correct one it's depending on your OS architecture (x86 -> 32 bits, x64 ->64bits) |
Thanks for attempting to help, but I cannot make this work. I think it is a problem in getting the correct version of the libzmq.dll (2.2.0?). I get an error if I attempt to refer to: ZeroMQ.ZmqVersion.Current SystemError: An exception was thrown by the type initializer for ZeroMQ.Interop.LibZmq That suggests that clrzmq is finding the libzmq.dll, but it is not the correct version for ZeroMQ for Mono. |
Do you need additional information? |
Some additional detail: we're using the same managed DLL (with the ZeroMQ namespace, from the Mono folder) on Linux, Mac, and Windows. We have the correct low-level libraries for Mac, and Linux (and everything works fine), but have not been able to find the correct low-level libraries for Windows for that particular managed DLL. Any ideas? |
I think I have come to the conclusion that you can't use Mono on Windows with this code. Why do I want to use Mono on Windows? Because we have one code base for all platforms. Here is the problem: If you build src\clrzmq.Mono.sln, and then compile and run this program with Mono on Windows:
You get:
|
Found the issue: There was a confusion between MONO and UNIX flags: in the file SocketProxy.cs: line 398, change UNIX to MONO |
I corrected this issue using Visual Studio 2015 by adding Reference to the project ZeroMQ.VS instead of the release ZeroMQ.dll |
Hello, I have successfully built clrzmq/src/ZeroMQ on Windows for Mono, but I can't figure out what libzmq.dll nor where to put it. Any suggestions?
The text was updated successfully, but these errors were encountered: