[zeromq-dev] zeromq on windows with VS2010 link errors
Quinlan Morake
qmorake at yandex.ru
Wed Jul 2 12:14:18 CEST 2014
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 <rasulnrasul at gmail.com> 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 at zmq@@QAE at HH@Z)".
> error LNK2019: unresolved external symbol "__imp__zmq_ctx_new" in Funktion ""public: __thiscall zmq::context_t::context_t(int,int)" (??0context_t at zmq@@QAE at 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
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
More information about the zeromq-dev
mailing list