Good day Nayab, C# app or C++? I used to get those errors when linking to the wrong library; i.e. 64 bit / 86 bit. Have you installed the x86 zmq libraries? If you’ve using C#, are you using x86 clrzmq & x86 libzmq? DependencyWalker (http://www.dependencywalker.com/) is of good help to check that all your libraries are of the right architecture, and find any that are missing. I generally use it when getting these type of library errors. Check that c++ redistribute are installed as well depending on which zmq you’re linking with.
Regards, Quinlan On 02 Jul 2014, at 12:12, Nayab Rasul <[email protected]> wrote: > Hi all, > > I was trying to write zeromq application for windows x86, I had installed 32 > bit Release 4.0.4. > I have added include folder and lib folder and lib file to project. > > I am using window 64 -bit windows 7 machine with Visual studio 2010 for > development. > I was getting compilation errors like below. > > error LNK2019: unresolved external symbol "__imp__zmq_ctx_set" in Funktion > ""public: __thiscall zmq::context_t::context_t(int,int)" > (??0context_t@zmq@@QAE@HH@Z)". > error LNK2019: unresolved external symbol "__imp__zmq_ctx_new" in Funktion > ""public: __thiscall zmq::context_t::context_t(int,int)" > (??0context_t@zmq@@QAE@HH@Z)". > > Can somebody suggest me how to resolve these. Also any suggestion for zeromq > windows documentation is welcome. > > -- > thanks, > Nayab Rasul > _______________________________________________ > 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
