[zeromq-dev] CZMQ Build error.

Riskybiz riskybizlive at live.com
Wed Jul 23 13:30:43 CEST 2014


Message: 3
Date: Tue, 22 Jul 2014 23:08:29 +0000
From: Mellitus Ezeme <mellitus.ezeme at mail.utoronto.ca>
Subject: [zeromq-dev] CZMQ Build error
To: "zeromq-dev at lists.zeromq.org" <zeromq-dev at lists.zeromq.org>
Message-ID: <1406070493471.52444 at mail.utoronto.ca>
Content-Type: text/plain; charset="iso-8859-1"


I am trying to build CZMQ on Visual Studio 2013 and I get the following
errors.


Error 1 error C1083: Cannot open include file: 'sodium.h': No such file or
directory C:\Users\Tarbo\Desktop\czmq-2.2.0\src\zcert.c 39 1 czmq

Error 2 error LNK1104: cannot open file
'C:\Users\Tarbo\Desktop\czmq-2.2.0\builds\msvc\vs2013\czmq_selftest\..\..\..
\..\..\libsodium\bin\Win32\Debug\libsodium12\libsodium.imp.lib'
C:\Users\Tarbo\Desktop\czmq-2.2.0\builds\msvc\vs2013\czmq_selftest\LINK
czmq_selftest

I opened the include folder and truly, I can't find any "sodium.h" file.
Could someone tell me how to locate the header file or how to build without
libsodium or sodium as I tried commenting it out but the self test will then
fail.

Thanks.
Mel.

When building CZMQ I found it necessary to build sodium separately see
http://labs.opendns.com/2013/03/06/announcing-sodium-a-new-cryptographic-lib
rary/ and http://download.dnscrypt.org/libsodium/releases/ and
https://github.com/jedisct1/libsodium 

Also the installation instructions at https://github.com/zeromq/libcurve
were useful to me on a Linux system; but also elucidated what might
necessarily need to be installed on Windows.

I don't know if your experience will be different, but when building on CZMQ
on Windows 7 it was necessary for me to solve several build errors by adding
additional include directories and linking instructions to the CZMQ Visual
Studio project.

Riskybiz.


-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140722/b0220587/a
ttachment.html 

------------------------------





More information about the zeromq-dev mailing list