linking to a static 0MQ library in VS

后端 未结 3 1478
情话喂你
情话喂你 2021-02-02 01:07

This may be a Visual Studio question more than anything else...
I\'m trying to build a 0MQ C++ example using VS10 and ZeroMQ 2.2.0.
I downloaded the windows sources and

3条回答
  •  春和景丽
    2021-02-02 01:21

    I had similar errors - not when trying to statically link, but just trying to create a ZMQ project and link the .lib 'stubs' for the dll.

    In my case it was because I was trying to link the 64-bit libraries into a 32-bit project. I had downloaded the wrong version. When I got the right ones, ie x86 instead of x64, it worked.

提交回复
热议问题