Gudmundur Adalsteinsson
                                            Gudmundur Adalsteinsson
                                        
                                    Looks like an extra /usr/lib/x86_64-linux-gnu/libzmq.so at the end. The -l/usr/lib/x86_64-linux-gnu/libzmq.so part should come after all .o files.
Should probably be -L/usr/lib/x86_64-linux-gnu -lzmq
Ok, I see now what this is, libzmq is not built with draft features but cppzmq is built with drafts on, try turning off drafts in cppzmq or rebuild libzmq...
Catch should define a main function I think. Are you using the latest master?
The main function should be defined in https://github.com/zeromq/cppzmq/blob/bfaf8e884f79be91e3bc241af2a5dd31cff93cf6/tests/message.cpp since we are defining CATCH_CONFIG_MAIN there before including catch, that should work with catch v2.13.4.
It should just work if using the catch2 version expected. You could try commenting out find_package(Catch2 QUIET) in the tests CMakeLists.txt and rebuild and see if it downloads and builds...
First I would try changing the receiving part to something like ```c++ std::array buf{}; auto ret = socket.recv(zmq::buffer(buf), zmq::recv_flags::none); if (ret) { std::cout
You could point to the installed location like so `cmake .. -DZeroMQ_DIR=/usr/local/share/cmake/ZeroMQ`, that is if libzmq has been built with cmake.
No. You should use the new send and recv functions if you can, or suppress the warnings locally.
The functions take messages or buffers by reference and also take zmq::recv_flags or send_flags. They also have different return types which are more consistent. There are some examples in the...