error during pcl_ros
Hi ,
I downloaded pcl and perception_pcl from pointclouds.org and did rosdep without any errors..
when I rosmake pcl_ros, its resulting the errors below.
mkdir -p bin
cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=rospack find rosbuild
/rostoolchain.cmake ..
[rosbuild] Building package pcl_ros
[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 pcl_ros
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)
/home/sai/fuerte_workspace/pcl17/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 'pcl_ros'. 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:4 (rosbuild_init)
-- Configuring incomplete, errors occurred!
Thanks