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

error during pcl_ros

asked 2013-02-18 15:47:06 -0600

sai gravatar image

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-02-18 21:44:11 -0600

updated 2013-02-18 21:45:47 -0600

You should use the one provided with ROS, type in a terminal :

sudo apt-get install ros-fuerte-pcl* ros-fuerte-perception*

Unless you wanted to use some unstable ones ?

Bests reguards,

Steph

Ps :And next time, don't forget to precise : your distribution (Ubuntu xx.xx), your platform, and which ROS you use (I see from the error message you are using fuerte)

edit flag offensive delete link more

Comments

ubuntu 12.04 and fuerte, The registration library which i wanted to use is not up to date in ros-fuerte repository. So I downloaded from the trunk from pcl website which has ros wrappers but it isresulting in the above errors given in the question

sai gravatar image sai  ( 2013-02-19 19:38:14 -0600 )edit

OK... Yes, I tried to compiled pcl trunk also but a lot of things doesn't compile in it, thus needing to flag only the part you want to compile, and leave the rest out. You can go to PCL support forum, in which you may find more help (suscribe at http://pointclouds.org/mailman/listinfo/pcl-users)

Stephane.M gravatar image Stephane.M  ( 2013-02-19 20:02:31 -0600 )edit

Question Tools

Stats

Asked: 2013-02-18 15:47:06 -0600

Seen: 1,598 times

Last updated: Feb 18 '13