ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Can I link to ROS libraries without CMAKE?

asked 2017-09-12 14:59:31 -0500

drhalftone gravatar image

updated 2022-01-22 16:16:36 -0500

Evgeny gravatar image

Everytime I try to use a library built by CMAKE, I need to also use CMAKE. I don't want to use CMAKE. I just want to use the LIB, INCLUDEPATH, and DEPENDPATH variables in my Qt project. Is this possible?

edit retag flag offensive close merge delete



Please consider rephrasing this in a way that does not read as an attack on cmake.

ahendrix gravatar image ahendrix  ( 2017-09-12 15:13:00 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2017-09-12 15:19:13 -0500

ahendrix gravatar image

This post describes what catkin and cmake are doing under the hood, and how to build a simple ROS node on the command line without cmake.

The ROS packages that you install through apt-get also install pkgconfig files in /opt/ros/<distro>/lib/pkgconfig, if your build system is compatible with pkgconfig.

edit flag offensive delete link more

Question Tools



Asked: 2017-09-12 14:59:31 -0500

Seen: 402 times

Last updated: Sep 12 '17