ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

make error [closed]

asked 2013-06-07 04:43:41 -0500

Mohsen Hk gravatar image

Hi :) any body know about my problem? how can I solve it? i did these works before:

sudo apt get update
sudo apt get upgrade
sudo apt-get install ros-fuerte-desktop-full

but I also have this error:

mohsen@mohsen-ThinkPad-R500:~/fuerte_workspace/irrw2012tutorial/depends/hector_navigation.git/trunk/hector_exploration_planner$ sudo chmod 777 -R ~/fuerte_workspace/irrw2012tutorial/depends/hector_navigation.git/trunk/hector_exploration_planner
mohsen@mohsen-ThinkPad-R500:~/fuerte_workspace/irrw2012tutorial/depends/hector_navigation.git/trunk/hector_exploration_planner$ make
mkdir -p bin
cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild`/rostoolchain.cmake  ..
[rosbuild] Building package hector_exploration_planner
[rosbuild] Cached build flags older than manifests; calling rospack to get flags
Failed to invoke /opt/ros/fuerte/bin/rospack cflags-only-I;--deps-only hector_exploration_planner
CMake Error at /usr/lib/vtk-5.8/VTKTargets.cmake:16 (ADD_EXECUTABLE):
  Command add_executable() is not scriptable
Call Stack (most recent call first):
  /usr/lib/vtk-5.8/VTKConfig.cmake:231 (INCLUDE)
  /usr/share/cmake-2.8/Modules/FindVTK.cmake:73 (FIND_PACKAGE)
  /opt/ros/fuerte/stacks/perception_pcl/pcl/vtk_include.cmake:1 (find_package)

CMake Error at /opt/ros/fuerte/share/ros/core/rosbuild/public.cmake:129 (message):

  Failed to invoke rospack to get compile flags for package
  'hector_exploration_planner'.  Look above for errors from rospack itself.
  Aborting.  Please fix the broken dependency!

Call Stack (most recent call first):
  /opt/ros/fuerte/share/ros/core/rosbuild/public.cmake:227 (rosbuild_invoke_rospack)
  CMakeLists.txt:14 (rosbuild_init)

-- Configuring incomplete, errors occurred!
make: *** [all] Error 1
edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by tfoote
close date 2013-07-14 22:17:45


anybody help? :(

Mohsen Hk gravatar image Mohsen Hk  ( 2013-06-08 04:32:59 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-06-09 13:27:21 -0500

Jiayi Liu gravatar image

It's probably because of some recent ROS update error. This might help.

edit flag offensive delete link more

Question Tools



Asked: 2013-06-07 04:43:41 -0500

Seen: 603 times

Last updated: Jun 09 '13