Ask Your Question
0

No CMakeLists.txt in ROS Fuerte install

asked 2012-11-11 17:31:04 -0500

nckswt gravatar image

updated 2014-01-28 17:14:14 -0500

ngrennan gravatar image

I'm in the process of installing ROS on my iMac running Mountain Lion, and I'm having issues with cmake.

When I run this: cmake .. -DMAKE_INSTALL_PREFIX=/opt/ros/fuerte -DSETUPTOOLS_DEB_LAYOUT=OFF

I get this: CMake Error: The source directory "/Users/NickSweet/ros-underlay" does not appear to contain CMakeLists.txt.

Everything went fine with rosinstall, except it wasn't able to get actionlib โ€“ but I doubt that's the issue. Any idea why I don't have a CMakeLists.txt in my ~/ros-underlay? Here's what I've got, in case anything else is missing:

> drwxr-xr-x   2 NickSweet  staff   68 12 Nov 00:08 build 
> drwxr-xr-x  19 NickSweet  staff  646 12 Nov 00:06 catkin 
> drwxr-xr-x  14 NickSweet  staff  476 12 Nov 00:06 common_msgs
> drwxr-xr-x  13 NickSweet  staff  442 12 Nov 00:06 gencpp  
> drwxr-xr-x  14 NickSweet  staff  476 12 Nov 00:06 genlisp 
> drwxr-xr-x  15 NickSweet  staff  510 12 Nov 00:06 genmsg
> drwxr-xr-x  17 NickSweet  staff  578 12 Nov 00:07 genpy
> drwxr-xr-x  15 NickSweet  staff  510 12 Nov 00:07 ros
> drwxr-xr-x  14 NickSweet  staff  476 12 Nov 00:07 ros_comm 
> drwxr-xr-x   9 NickSweet  staff  306 12 Nov 00:07 ros_tutorials 
> drwxr-xr-x  18 NickSweet  staff  612 12 Nov 00:07 roscpp_core
> drwxr-xr-x  17 NickSweet  staff  578 12 Nov 00:07 rospack 
> drwxr-xr-x  12 NickSweet  staff  408 12 Nov 00:07 rx
> drwxr-xr-x  10 NickSweet  staff  340 12 Nov 00:07 std_msgs
edit retag flag offensive close merge delete

Comments

What was the rosinstall command you were using? Did you add the --catkin parameter? It will create a top-level CMakeLists.

Lorenz gravatar image Lorenz  ( 2012-11-11 21:10:43 -0500 )edit

I used this:

rosinstall --catkin ~/ros-underlay http://ros.org/rosinstalls/fuerte-ros-full.rosinstall

Does that mean there's an issue with catkin, then?

nckswt gravatar image nckswt  ( 2012-11-12 02:03:59 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-11-12 02:13:24 -0500

nckswt gravatar image

I found the problem!

ActionLib is actually hosted at https://github.com/ros-gbp/actionlib-release and no longer at it://github.com/wg-debs/actionlib-release.git โ€“ when it didn't install properly, gitinstall simply wouldn't create the CMakeLists.txt file.

The fix is to install ActionLib manually. Go into ~/ros-underlay and use

git clone --recursive git://github.com/ros-gbp/actionlib-release.git /Users/YOURUSERNAME/ros-underlay/actionlib

Then run

rosinstall --catkin ~/ros-underlay http://ros.org/rosinstalls/fuerte-ros-full.rosinstall

And hit skip when the install asks whether you want to replace actionlib. Problem solved!

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-11-11 17:31:04 -0500

Seen: 411 times

Last updated: Nov 12 '12