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

having to compile msgs and srvs first

asked 2015-09-22 12:18:31 -0500

luc gravatar image

updated 2015-09-22 12:18:54 -0500

Hi all,

I'm working with a large stack that includes some custom ROS messages and services.

Every time I try to compile from scratch, catkin yells at me about not knowing where certain message header files are.

To fix this problem, I do a catkin_make --pkg on the specific service package or message package I'm trying to use.

Is there any way to force compilation of those packages first? It doesn't really make sense that they're not being compiled first to begin with as they're listed as build and run depends in the package.xml's of the packages that complain.


edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2015-09-22 12:52:33 -0500

gvdhoorn gravatar image

Some searching for older questions should've provided you with this answer, but just in case: please see catkin 0.6.15 documentation » How to do common tasks » Package format 2 (recommended) » C++ message or service dependencies.

edit flag offensive delete link more


Sorry about that; that's what I needed. I didn't know what to search for.

Thanks a lot.

luc gravatar image luc  ( 2015-09-22 16:02:21 -0500 )edit

No problem. ROS Answers is sometimes difficult to search.

gvdhoorn gravatar image gvdhoorn  ( 2015-09-23 02:01:41 -0500 )edit

Question Tools

1 follower


Asked: 2015-09-22 12:18:31 -0500

Seen: 281 times

Last updated: Sep 22 '15