[zeromq-dev] CZMQ selftest build fails.

Riskybiz riskybizlive at live.com
Wed Jan 7 11:48:56 CET 2015

Finally I'm able to get CZMQ to build on Windows 7 using the Visual Studio
2013 solution.  However there are a couple of issues;


Without this section commented out of czmq_prelude.h then the build gave
many errors relating to int8_t redefinition. N.B. This computer has Mingw
installed if that makes any difference.


#   if ((!defined (__MINGW32__) \

    || (defined (__MINGW32__) && defined (__IS_64BIT__))) \

    && !defined (ZMQ_DEFINED_STDINT))

    typedef __int8 int8_t;

    typedef __int16 int16_t;

    typedef __int32 int32_t;

    typedef __int64 int64_t;

    typedef unsigned __int8 uint8_t;    

    typedef unsigned __int16 uint16_t;

    typedef unsigned __int32 uint32_t;

    typedef unsigned __int64 uint64_t;

#   endif


The other issue is that the czmq_selftest build fails like so:


------ Build started: Project: czmq_selftest, Configuration: ReleaseDEXE
Win32 ------

1>  ConfigurationType : Application

1>  Configuration     : ReleaseDEXE

1>  PlatformToolset   : v120

1>  TargetPath        :

1>  Linkage-czmq      : dynamic

1>  Linkage-libzmq    : dynamic

1>  Linkage-libsodium : dynamic

1>czmq_selftest.obj : error LNK2001: unresolved external symbol

elease\v120\dynamic\czmq_selftest.exe : fatal error LNK1120: 1 unresolved

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


Does anyone please know how to fix this?





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150107/e65cd566/attachment.htm>

More information about the zeromq-dev mailing list