Ask Your Question
0

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.

Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
2

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

Comments

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

Thanks a lot.

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

No problem. ROS Answers is sometimes difficult to search.

gvdhoorn gravatar imagegvdhoorn ( 2015-09-23 02:01:41 -0500 )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

1 follower

Stats

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

Seen: 81 times

Last updated: Sep 22 '15