>From Johan email above: CZMQ: - download *czmq 3.0.2* (latest stable release, which will be used in our project): https://github.com/zeromq/czmq/archive/v3.0.2.zip - unpack and rename v3.0.2 folder to “czmq” (important to ensure referenced paths in other builds are set correctly) - navigate to czmq/builds/msvc/vs2013 and open czmq.sln in VS2013. - select Win32 or x64 target (preferably the same as the other libs). - build solution.
On Wed, Mar 9, 2016 at 2:52 PM Pieter Hintjens <[email protected]> wrote: > Do you maybe have two versions of CZMQ? Zyre cannot be building and > failing just on those two functions unless it's using an old version > of CZMQ. > > On Wed, Mar 9, 2016 at 10:41 PM, Osiris Pedroso <[email protected]> > wrote: > > Using Johan instructions above, I got the code in ZIP form. > > > > I see that these functions exist in the CZMQ source, but Zyre compilation > > don't see their definition/types. > > > > I am stuck right now. > > > > On Wed, Mar 9, 2016 at 2:19 PM Pieter Hintjens <[email protected]> wrote: > >> > >> Make sure you're using CZMQ from github master; these functions were > >> added recently. > >> > >> On Wed, Mar 9, 2016 at 3:50 PM, Osiris Pedroso <[email protected]> > wrote: > >> > Thanks Johan. That helped me to get CZMQ built. > >> > I am interested in building Zyre as well, so thanks for the steps. > >> > > >> > But building Zyre from master.zip currently fails with these errors > >> > using > >> > the steps above: > >> > ..\..\..\..\src\zyre_node.c(166): error C3861: 'zsys_ipv6': identifier > >> > not > >> > found > >> > ..\..\..\..\src\zyre_node.c(167): error C3861: 'zsys_ipv6_address': > >> > identifier not found > >> > > >> > CZMQ defines it, but seems like Zyre does not see it. > >> > > >> > Are there any other configuration steps needed maybe? > >> > > >> > > >> > On Wed, Mar 9, 2016 at 5:09 AM Pieter Hintjens <[email protected]> wrote: > >> >> > >> >> This is great. > >> >> > >> >> It's gotten simpler in libzmq master as libsodium is an optional > >> >> dependency. > >> >> > >> >> On Wed, Mar 9, 2016 at 1:03 PM, Johan Philips > >> >> <[email protected]> > >> >> wrote: > >> >> > > >> >> >> On 09 Mar 2016, at 11:52, Pieter Hintjens <[email protected]> wrote: > >> >> >> > >> >> >> It's in builds/msvc, and looks a lot like the libzmq build > scripts. > >> >> >> We > >> >> >> generate this from project. > >> >> > > >> >> > Indeed. We usually give our Windows users following “HOWTO” to > >> >> > compile > >> >> > zeromq projects (such as czmq and zyre) in visual studio 2013. > >> >> > > >> >> > Libsodium: > >> >> > - download libsodium: > >> >> > https://github.com/jedisct1/libsodium/archive/master.zip > >> >> > - unpack and rename “master” folder to “libsodium” (important to > >> >> > ensure > >> >> > referenced paths in other builds are set correctly) > >> >> > - navigate to libsodium/builds/msvc/vs2013 and open libsodium.sln > in > >> >> > VS2013. > >> >> > - select Win32 or x64 target (preferably the same as the other > libs). > >> >> > - build solution. > >> >> > > >> >> > ZeroMQ: > >> >> > - download libzmq 4.1.2 (latest stable release, which will be used > in > >> >> > our project): http://download.zeromq.org/zeromq-4.1.2.zip > >> >> > - unpack and rename zeromq-4.1.2 folder to “libzmq” (important to > >> >> > ensure > >> >> > referenced paths in other builds are set correctly) > >> >> > - navigate to libzmq/builds/msvc/vs2013 and open libzmq.sln in > >> >> > VS2013. > >> >> > - select Win32 or x64 target (preferably the same as the other > libs). > >> >> > - build solution. > >> >> > > >> >> > CZMQ: > >> >> > - download czmq 3.0.2 (latest stable release, which will be used in > >> >> > our > >> >> > project): https://github.com/zeromq/czmq/archive/v3.0.2.zip > >> >> > - unpack and rename v3.0.2 folder to “czmq” (important to ensure > >> >> > referenced paths in other builds are set correctly) > >> >> > - navigate to czmq/builds/msvc/vs2013 and open czmq.sln in VS2013. > >> >> > - select Win32 or x64 target (preferably the same as the other > libs). > >> >> > - build solution. > >> >> > > >> >> > Zyre: > >> >> > - download zyre: https://github.com/zeromq/zyre/archive/master.zip > >> >> > - unpack and rename “master” folder to “zyre” (important to ensure > >> >> > referenced paths in other builds are set correctly) > >> >> > - navigate to zyre/builds/msvc/vs2013 and open zyre.sln in VS2013. > >> >> > - select Win32 or x64 target (preferably the same as the other > libs). > >> >> > - build solution. > >> >> > > >> >> >> On Wed, Mar 9, 2016 at 12:16 PM, Osiris Pedroso < > [email protected]> > >> >> >> wrote: > >> >> >>> 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 > >> >> >>> > >> >> >>> > >> >> >>> > >> >> >>> _______________________________________________ > >> >> >>> zeromq-dev mailing list > >> >> >>> [email protected] > >> >> >>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev > >> >> >>> > >> >> >> _______________________________________________ > >> >> >> zeromq-dev mailing list > >> >> >> [email protected] > >> >> >> http://lists.zeromq.org/mailman/listinfo/zeromq-dev > >> >> > > >> >> > _______________________________________________ > >> >> > zeromq-dev mailing list > >> >> > [email protected] > >> >> > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > >> >> _______________________________________________ > >> >> zeromq-dev mailing list > >> >> [email protected] > >> >> http://lists.zeromq.org/mailman/listinfo/zeromq-dev > >> > > >> > > >> > _______________________________________________ > >> > zeromq-dev mailing list > >> > [email protected] > >> > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > >> > > >> _______________________________________________ > >> zeromq-dev mailing list > >> [email protected] > >> http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > > > > > _______________________________________________ > > zeromq-dev mailing list > > [email protected] > > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev >
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
