ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Weird make eclipse-project after Groovy update

asked 2013-07-18 21:44:43 -0600

BennyRe gravatar image

updated 2014-01-28 17:17:19 -0600

ngrennan gravatar image


today I updated ROS from Fuerte to Groovy and now I want to generate an Eclipse project from one of my packages in my rosbuild workspace. Running make eclipse-project after a "rosmake" results in this error:

<user>@precise:~/rosbuild_ws/ROS-LfD-LAT/fake_or$ make eclipse-project 
mv Makefile Makefile.ros
if ! (cmake -G"Eclipse CDT4 - Unix Makefiles" -Wno-dev . && rm Makefile && rm CMakeCache.txt && rm -rf CMakeFiles); then mv Makefile.ros Makefile && echo "**ERROR building Eclipse project!**" && false; fi
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Could not determine Eclipse version, assuming at least 3.6 (Helios). Adjust CMAKE_ECLIPSE_VERSION if this is wrong.
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PythonInterp: /usr/bin/python (found version "2.7.3")
[rosbuild] Building package fake_or
[rosbuild] Cached build flags older than manifests; calling rospack to get flags
-- Using CATKIN_DEVEL_PREFIX: /home/benny/rosbuild_ws/ROS-LfD-LAT/fake_or/devel
-- Using CMAKE_PREFIX_PATH: /home/<user>/catkin_ws/devel;/opt/ros/groovy
-- This workspace overlays: /home/<user>/catkin_ws/devel;/opt/ros/groovy
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE 
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using CATKIN_TEST_RESULTS_DIR: /home/<user>/rosbuild_ws/ROS-LfD-LAT/fake_or/test_results
-- catkin 0.5.65
[rosbuild] Including /opt/ros/groovy/share/roscpp/rosbuild/roscpp.cmake
[rosbuild] Including /opt/ros/groovy/share/rospy/rosbuild/rospy.cmake
-- Configuring done
-- Generating done
-- Build files have been written to: /home/<user>/rosbuild_ws/ROS-LfD-LAT/fake_or
mv Makefile.ros Makefile
mv .project .project-cmake
awk -f /opt/ros/groovy/share/mk/eclipse.awk .project-cmake > .project
rm .project-cmake
python /opt/ros/groovy/share/mk/
Creating pydev project for package 'fake_or'
Traceback (most recent call last):
  File "/opt/ros/groovy/share/mk/", line 39, in <module>
    import roslib; roslib.load_manifest(PKG)
  File "/opt/ros/groovy/lib/python2.7/dist-packages/roslib/", line 62, in load_manifest
    sys.path = _generate_python_path(package_name, _rospack) + sys.path
  File "/opt/ros/groovy/lib/python2.7/dist-packages/roslib/", line 93, in _generate_python_path
    m = rospack.get_manifest(pkg)
  File "/usr/lib/pymodules/python2.7/rospkg/", line 136, in get_manifest
    return self._load_manifest(name)
  File "/usr/lib/pymodules/python2.7/rospkg/", line 175, in _load_manifest
    retval = self._manifests[name] = parse_manifest_file(self.get_path(name), self._manifest_name)
  File "/usr/lib/pymodules/python2.7/rospkg/", line 167, in get_path
    raise ResourceNotFound(name, ros_paths=self._ros_paths)
rospkg.common.ResourceNotFound: fake_or
ROS path [0]=/opt/ros/groovy/share/ros
ROS path [1]=/home/<user>/rosbuild_ws/ROS-LfD-LAT
ROS path [2]=/home/<user>/rosbuild_ws/ar_kinect
ROS path [3]=/home/<user>/rosbuild_ws/ar_tools
ROS path ...
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-07-18 22:15:01 -0600

gvdhoorn gravatar image

updated 2013-07-18 23:26:21 -0600

The files and directories you mention are generated by the build system (rosbuild) in packages which have not been migrated to catkin yet. For packages under version control I add those to my svn:ignore (or similar).

As for the make eclipse-project error: see rospkg/issues/39 and ros/issues/20. In summary: older versions of the eclipse-project target generated some files in the package root -- CATKIN_IGNORE to be precise -- which caused rospack to subsequently ignore those directories. The updates to catkin and ros/mk (see answer by Dirk Thomas on 'rosmake does not find my package') should fix this.

In the meantime just removing the generated CATKIN_IGNORE file should at least allow you to build the package again.

edit flag offensive delete link more


Thank you. These issues describe exactly what I observed. Sorry I did not find these issues by myself. I though I made somewhere a mistake.

BennyRe gravatar image BennyRe  ( 2013-07-19 02:16:47 -0600 )edit

Everything is fine now. After installing these updates CATKIN_IGNORE does not occur anymore.

BennyRe gravatar image BennyRe  ( 2013-07-22 22:58:16 -0600 )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


Asked: 2013-07-18 21:44:43 -0600

Seen: 526 times

Last updated: Jul 18 '13