Ask Your Question
0

Rosmake fails due to CMake issues after upgrade to Groovy

asked 2012-12-06 15:33:10 -0500

derekjchow gravatar image

Hi all,

I recently upgraded to groovy and subsequently have had problems building any package what so ever. The error is as follows:

  mkdir -p bin
  cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=/opt/ros/groovy/share/core/rosbuild/rostoolchain.cmake  ..
  CMake Error at build/CMakeFiles/CMakeSystem.cmake:1 (INCLUDE):
    include could not find load file:

      /opt/ros/fuerte/share/ros/core/rosbuild/rostoolchain.cmake
  Call Stack (most recent call first):



  CMake Error at CMakeLists.txt:2 (include):
    include could not find load file:

      /opt/ros/groovy/share/core/rosbuild/rosbuild.cmake


  CMake Error at CMakeLists.txt:12 (rosbuild_init):
    Unknown CMake command "rosbuild_init".


  -- Configuring incomplete, errors occurred!

I removed all of the fuerte packages, so /opt/ros/fuerte/share/ros/core/rosbuild/rostoolchain.cmake should be missing. Could anyone provide any insight into what is going on and how can I fix it?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-12-08 04:43:37 -0500

derekjchow gravatar image

This problem appeared to be that the old fuerte CMake files were still in the directory. Running "rosmake --pre-clean" appears to resolve the immediate issue.

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

2 followers

Stats

Asked: 2012-12-06 15:33:10 -0500

Seen: 480 times

Last updated: Dec 08 '12