[zeromq-dev] CMakeLists.txt for ROS while using ZeroMQ

Ravi Joshi ravi.joshi53 at yahoo.com
Fri Nov 24 16:07:31 CET 2017


Hope you are having a great time. I am trying to use ZeroMQ in ROS C++. I am looking for CMakeLists.txt file for ZeroMQ. From the Google, I found that there is a ROS Package to do it (https://github.com/ethz-asl/zeromq_catkin). However, it seems that this package downloads and compiles ZeroMQ first. 

I already have ZeroMQ installed and working fine. Hence I don't want to install it again.

I have written a standalone C++ ZeroMQ code, which works fine but I am not able to compile it with ROS. Since I don't know CMakeLists.txt.

Please have a look at the following Pastebin links to see CMakeLists.txt
[1] "[ROS]CMakeLists.txt": (https://pastebin.com/29AKZvmF) This is the ROS file, which I am looking for. Unfortunately, this is not working.
[2] "[Standalone]CMakeLists.txt": (https://pastebin.com/TC1Bw4t5) This is standalone file and it is working properly.

Please note that I am using ROS Indigo on Ubuntu 14.04 LTS PC.


More information about the zeromq-dev mailing list