On Tue, 2017-01-10 at 17:23 +0100, Stephan Opfer wrote: > On 10.01.2017 17:21, Kevin Sapper wrote: > > there is a cmake option "ENABLE_DRAFTS" which should do the same. > Do I have to include this option into the compilation of my project, too? Or > is it just for compiling libzmq with CMake?
As always on *NIX, use pkg-config and your life will be much easier. eg: g++ `pkg-config --cflags --libs libzmq` foo.cpp -o foo Or if you don't install via packages: g++ `PKG_CONFIG_PATH=/path/to/pkgconfig pkg-config --cflags --libs libzmq` foo.cpp -o foo Even easier, we provide repositories and packages for the most used distros and architectures, including Ubuntu. So if you add this repository and then run apt-get update; apt-get install libzmq3-dev and then everything will be in the right path for your application to find. Append to /etc/apt/sources.list : deb http://download.opensuse.org/repositories/home:/zeromq:/git-draft/xUbuntu_16.04/ ./ Kind regards, Luca Boccassi
signature.asc
Description: This is a digitally signed message part
_______________________________________________ zeromq-dev mailing list [email protected] https://lists.zeromq.org/mailman/listinfo/zeromq-dev
