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

How to build non-catkin package in catkin workspace

asked 2018-10-18 10:57:19 -0500

tonyParker gravatar image

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

Evgeny gravatar image

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.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2018-10-18 12:04:50 -0500

tonyParker gravatar image

I found the answer. The catkin was not able to produce -config.cmake file. The command is

catkin_make --cmake-args -DUSE_CATKIN=ON

edit flag offensive delete link more
0

answered 2018-10-18 11:19:24 -0500

gvdhoorn gravatar image

If the build type is still cmake, you can use either catkin_make_isolated or catkin build (from catkin_tools).

edit flag offensive delete link more

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

tonyParker gravatar image tonyParker  ( 2018-10-18 11:26:26 -0500 )edit

Question Tools

Stats

Asked: 2018-10-18 10:57:19 -0500

Seen: 1,170 times

Last updated: Oct 18 '18