Closed jeroen closed 7 years ago
wget http://download.zeromq.org/zeromq-3.2.4.zip unzip zeromq-3.2.4.zip cd zeromq-3.2.4 ./configure --host=x86_64-w64-mingw32 --disable-shared ... ... checking whether C++ compiler supports -Wno-long-long... yes configure: error: Building static libraries is not supported under MinGW32
last time I looked into getting a win build working there were changes that needed to be made to the configure script.
DevKit is the preferred config for windows and instructions are here: http://zeromq.org/docs:windows-installations
if you have lots of configure-foo, then I'd love some help modifying the configure script to support static libs. I tried a few years ago, but I'm not a windows person, so I eventually gave up.
-Whit
I got it to compile on windows: https://github.com/takluyver/IRkernel/issues/54 but only the shared lib. I found this instruction on the web for a static version: http://grokbase.com/t/zeromq/zeromq-dev/136sg6zk4s/build-zmq-as-static-library-under-mingw
One other problem is that the windows version of R ships with an old version of gcc (4.6.3) that does not support C++11.
There is now a windows build in #16
haha coming shortly.
In order to provide windows builds on
CRAN
, you need to compile static libraries oflibzmq
for win32 and win64 and mail them to the CRAN maintainers. They can then deploy them on the windows build server to link when building the windows binary forrzmq
.See here for a script that I used to cross compile
libprotobuf.a
for theRProtoBuf
package. You can also createlibzmq.a
on an actual windows machine obviously.