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.
Asked by tonyParker on 2018-10-18 10:57:19 UTC
Answers
If the build type is still cmake
, you can use either catkin_make_isolated
or catkin build
(from catkin_tools
).
Asked by gvdhoorn on 2018-10-18 11:19:24 UTC
Comments
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 by tonyParker on 2018-10-18 11:26:26 UTC
I found the answer. The catkin was not able to produce -config.cmake file. The command is
catkin_make --cmake-args -DUSE_CATKIN=ON
Asked by tonyParker on 2018-10-18 12:04:50 UTC
Comments