How to build non-catkin package in catkin workspace
Hello,
I have a non-catkin package in my catkin work space. I forgot how to build that. catkin_make does not work for it.
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Hello,
I have a non-catkin package in my catkin work space. I forgot how to build that. catkin_make does not work for it.
I found the answer. The catkin was not able to produce -config.cmake file. The command is
catkin_make --cmake-args -DUSE_CATKIN=ON
If the build type is still cmake
, you can use either catkin_make_isolated
or catkin build
(from catkin_tools
).
I did catkin_make_isolated, but it still gives following error No env.sh file generated at: '/home/luqman/Work/catkin_ws/devel_isolated/radar_grabber/env.sh' This sometimes occurs when a non-catkin package is interpreted as a catkin package. This can also occur when the cmake cache is stale, try
Asked: 2018-10-18 10:57:19 -0500
Seen: 1,163 times
Last updated: Oct 18 '18