Using ZeroMQ in VS2012 C++ RRS feed

  • Question

  • So i installed the ZeroMQ in python(and it's working) but i can't do it in Visual studio 2012 C++. I downloaded the windows installer, installed it and searched in the installation folder which is:

    -an "include" folder with 2 header files which i copied into my VS include
    -a "lib" folder with 3 lib files and 3 pdb files which i copied into my VS lib

    -a "bin" folder which i copied into my VS bin

    After this, i tried to use zmq::context_t... and zmq::socket_t... but i couldn't do it, it said that zmq had to be a class in order for me to use as a namespace. I tried to add all the libraries to the dependencies and still couldn't do it.

    So, after, i copied [this]( to a zmqhpp.h file which i imported to my other header file where i want to create the socket.
    Now it says "1>PythonPlugIn2.obj : error LNK2019: unresolved external symbol __imp__zmq_close referenced in function "public: void __thiscall zmq::socket_t::close(void)" (?close@socket_t@zmq@@QAEXXZ)" and a bunch of other "unresolved" problems(12 more to be exact)

    What's happening guys?

    I'm on windows 7 x-64 and on Visual Studio 2012 c++

    Thank you guys

    Edit: Meanwhile i tried another thing. Instead of the windows installer i downloaded the .zip. I followed every step(i had to build the msvc10 because the msvc wouldn't build) and then i added the library libzmq_d.lib to my dependencies. I still get the error "zmq is not a class or namespace name"

    Edit2: Tried [this]( also. Nothing...
    • Edited by JoãoPer Tuesday, July 9, 2013 8:50 PM
    Tuesday, July 9, 2013 8:48 PM

All replies

  • joaoPer,

    This forum is dedicated to questions/issues about customizing and programming Microsoft Project, a planning and scheduling application. So how about you post and then repost to a forum that deals with whatever application you are using.


    Tuesday, July 9, 2013 11:54 PM
  • Well i tried to do that in their forum but no one answered. And this question is about Microsoft too because it's about how to get additional libraries to work on Visual Studio right?

    If you think i'm wrong can you at least suggest the best way for you to exchange data between C++ and Python?

    Wednesday, July 10, 2013 12:35 AM
  • joao,

    Sorry, but this forum is EXCLUSIVELY for question/issues about customizing and programming Microsoft Project, a planning and scheduling application. I suggest you start here:


    Wednesday, July 10, 2013 2:51 AM
  • Okay, you're right

    Thank you very much for the help

    Wednesday, July 10, 2013 3:48 AM