Osiris Pedroso
2016-03-09 10:16:37 UTC
I need instructions on how to build CZMQ in Windows.
I have DevStudio 2013.
I have successfully built libzmq on a parallel dir (g:\libzmq) using CMAKE
steps:
mkdir cmake-make
cd cmake-make
cmake ..
This gives me the following library built:
g:\> dir/s/b *.lib
g:\libzmq\cmake-make\lib\Debug\libzmq-v120-mt-gd-4_2_0.lib
g:\libzmq\cmake-make\lib\Debug\libzmq-static-v120-mt-sgd-4_2_0.lib
To build CZMQ then I did these steps
g:\czmq> g:\czmq\builds\msvc\configure.bat
Configuring CZMQ...
Building with libzmq
Building without uuid
Building without systemd
Building without draft API (stable + legacy API)
Attempting to build #1:
==================
g:\czmq> g:\czmq\builds\msvc\vs2013\build.bat
Building without uuid
Building without systemd
Building CZMQ... ()
Platform=x86
Configuration=DynDebug
*** ERROR, build terminated early: see build.log
Build.log indicates that this script cannot be run from main dir.
Attempting to build #2:
==================
g:\czmq\builds\msvc\vs2013> build.bat
Building without uuid
Building without systemd
Building CZMQ... ()
Platform=x86
Configuration=DynDebug
*** ERROR, build terminated early: see build.log (attached)
Attempting to build #3:
=================
I also opened the solution file like this:
g:\czmq\builds\msvc\vs2013> czmq.sln
When attempting to build, it compiles but fails with this error:
1>LINK : fatal error LNK1104: cannot open file 'libzmq.lib'
The full output is in the attached Output-Build.txt file (attached).
Appreciate any tips,
Osiris
I have DevStudio 2013.
I have successfully built libzmq on a parallel dir (g:\libzmq) using CMAKE
steps:
mkdir cmake-make
cd cmake-make
cmake ..
This gives me the following library built:
g:\> dir/s/b *.lib
g:\libzmq\cmake-make\lib\Debug\libzmq-v120-mt-gd-4_2_0.lib
g:\libzmq\cmake-make\lib\Debug\libzmq-static-v120-mt-sgd-4_2_0.lib
To build CZMQ then I did these steps
g:\czmq> g:\czmq\builds\msvc\configure.bat
Configuring CZMQ...
Building with libzmq
Building without uuid
Building without systemd
Building without draft API (stable + legacy API)
Attempting to build #1:
==================
g:\czmq> g:\czmq\builds\msvc\vs2013\build.bat
Building without uuid
Building without systemd
Building CZMQ... ()
Platform=x86
Configuration=DynDebug
*** ERROR, build terminated early: see build.log
Build.log indicates that this script cannot be run from main dir.
Attempting to build #2:
==================
g:\czmq\builds\msvc\vs2013> build.bat
Building without uuid
Building without systemd
Building CZMQ... ()
Platform=x86
Configuration=DynDebug
*** ERROR, build terminated early: see build.log (attached)
Attempting to build #3:
=================
I also opened the solution file like this:
g:\czmq\builds\msvc\vs2013> czmq.sln
When attempting to build, it compiles but fails with this error:
1>LINK : fatal error LNK1104: cannot open file 'libzmq.lib'
The full output is in the attached Output-Build.txt file (attached).
Appreciate any tips,
Osiris