Ask Your Question
0

How to build non-catkin package in catkin workspace

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

tonyParker 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 -0600

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 -0600

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 imagetonyParker ( 2018-10-18 11:26:26 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

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

Seen: 240 times

Last updated: Oct 18 '18