On Fri, Jul 16, 2010 at 11:08 AM, ibwood <
ianbenjiman@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.