[zeromq-dev] jzmq on Windows with mingw32
Koert Kuipers
Koert.Kuipers at diamondnotch.com
Mon Dec 27 19:20:19 CET 2010
Has anyone successfully build jzmq on windows with mingw32? I managed to tweak the configure.in so that it creates dynamic libraries on mingw32, so I now have libjzmw-0.dll. But when I load zmq.jar I get the following error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: org.zeromq.ZMQ$Contex
t.construct(I)V
at org.zeromq.ZMQ$Context.construct(Native Method)
at org.zeromq.ZMQ$Context.<init>(ZMQ.java:174)
at org.zeromq.ZMQ.context(ZMQ.java:120)
at com.diamondnotch.Main.main(Main.java:2
29)
I know that zmq.jar can find libjzmw-0.dll, since when I rename libjzmw-0.dll it throws a different error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no libjzmq-0 in java.
library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.zeromq.ZMQ.<clinit>(ZMQ.java:29)
at com.diamondnotch.Main.main (Main.java:2
29)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101227/5fd794f3/attachment.htm>
More information about the zeromq-dev
mailing list