[ros-users] rosmake doesn't wait for rosbuild_gensrv to complete

Mike Vande Weghe vandeweg at cmu.edu
Mon Apr 18 15:50:05 UTC 2011

I've noticed that for a package that defines a single ROS service and
that builds a single shared library, the compilation fails the first
time through because the header file for the service has not yet been
completed.  When I do a second rosmake the compilation succeeds.  Do
service generation and code compilation happen in parallel, and if so is
there a way to order them?

My CMakeLists.txt looks like this:
cmake_minimum_required(VERSION 2.4.6)


add_library(mytraj SHARED MyTraj.cpp)

and my manifest.xml looks like this:
  <description brief="OpenWAM sample Trajectory plugin">
     A ROS package that builds a Trajectory plugin to be
     dynamically loaded into OWD at runtime.
  <author>Mike Vande Weghe (vandeweg at cmu.edu)</author>
  <depend package="owd"/>
  <depend package="std_msgs"/>



More information about the ros-users mailing list