[ros-users] Dependencies of a stack
Brian Gerkey
gerkey at willowgarage.com
Fri Jul 16 18:50:25 UTC 2010
On Fri, Jul 16, 2010 at 11:08 AM, ibwood <ianbenjiman at hotmail.com> wrote:
>
> ok, why does my CMakeLists.txt file have an error with rospack (omnibot) on
> line 3?
> cmake_minimum_required(VERSION 2.4.6)
> include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake)
> rospack(omnibot)
> genmsg()
Because you're using a very very old version of the rosbuild API. You
should instead say:
> cmake_minimum_required(VERSION 2.4.6)
> include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake)
> rosbuild_init(omnibot)
> rosbuild_genmsg()
Out of curiosity, where did find the example that you started with?
brian.
More information about the ros-users
mailing list