[zeromq-dev] CZMQ selftest build fails.
Pieter Hintjens
ph at imatix.com
Wed Jan 7 12:27:59 CET 2015
I believe this condition is bogus:
|| (defined (__MINGW32__) && defined (__IS_64BIT__)) \
Try removing it.
On Wed, Jan 7, 2015 at 11:48 AM, Riskybiz <riskybizlive at live.com> wrote:
> 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 :
> C:\zeromq4-1\czmq\builds\msvc\vs2013\czmq_selftest\..\..\..\..\bin\Win32\Release\v120\dynamic\czmq_selftest.exe
>
> 1> Linkage-czmq : dynamic
>
> 1> Linkage-libzmq : dynamic
>
> 1> Linkage-libsodium : dynamic
>
> 1>czmq_selftest.obj : error LNK2001: unresolved external symbol
> __imp__zsys_allocs
>
> 1>C:\zeromq4-1\czmq\builds\msvc\vs2013\czmq_selftest\..\..\..\..\bin\Win32\Release\v120\dynamic\czmq_selftest.exe
> : fatal error LNK1120: 1 unresolved externals
>
> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
>
>
>
> Does anyone please know how to fix this?
>
>
>
> Thanks,
>
>
>
> Riskybiz.
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
More information about the zeromq-dev
mailing list