You may have to modify the solution for libzmq to pick up the libsodium include files. Also check the builds/msvc/platform.hpp, it probably needs a #define HAVE_LIBSODIUM 1 in it.
On Sat, Dec 13, 2014 at 8:46 PM, Riskybiz <[email protected]> wrote: > Ok, so I’m getting underway to create a demonstration project using zeromq > and curve security on Windows 7 (64 bit). Started out by trying to create a > security certificate and the code below is giving the error shown. > > > > char public_txt[41]; > > char secret_txt[41]; > > > > int rc = zmq_curve_keypair(public_txt, secret_txt); > > if(rc != 0) > > { > > std::string errStr = zmq_strerror(zmq_errno()); > > std::string errConc = "Error Creating KeyPair: " + errStr; > > std::cout << errConc.c_str() << std::endl; > > } > > > > > > Error Creating KeyPair: Not supported > > > > I suspect this is due to the zeromq build not picking up the libsodium > files. I have the software located like so: > > > > C:\libsodium > > C:\zeromq-4.0.4 > > > > To try and fix the error I rebuilt libsodium and then rebuilt zeromq-4.0.4 > both using provided solution files for Visual Studio 2013 on Windows 7. > > > > They both build OK but still the curve security is not supported. > > > > Can anyone please suggest what I should do to get the curve security > built-in with zeromq? Also how do I run the self-tests to verify the > installation is sound? > > > > Thanks, > > > > Riskybiz. > > > _______________________________________________ > 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
