[zeromq-dev] Example for building against ZMQ with CMake + UDP Multicast Support

Stephan Opfer opfer at vs.uni-kassel.de
Tue Jan 10 22:06:24 CET 2017

On 10.01.2017 21:59, Luca Boccassi wrote:
> Did you install the packages? Because then /usr/local is wrong, if you
> did a make install before you should do a make uninstall to remove the
> manually installed files
I tried both ways. Currently I have the library manually compiled and 
did make install.

When I install the packages and do make uninstall before, "pkg-config 
--cflags --libs libzmq" only creates "-DZMQ_BUILD_DRAFT_API=1 -lzmq" and 
I get the same linker errors doing this: g++ -DZMQ_BUILD_DRAFT_API=1 
-lzmq src/Discovery.cpp -o foo

Distributed Systems Research Group
Stephan Opfer  T. +49 561 804-6283  F. +49 561 804-6277
Univ. Kassel,  FB 16,  Wilhelmshöher Allee 73,  D-34121 Kassel
WWW: http://www.uni-kassel.de/go/vs_stephan-opfer/

More information about the zeromq-dev mailing list