perception_pcl_electric_unstable compilation error [closed]

asked 2012-07-05 22:14:36 -0600

karthik gravatar image

Hi, I use Ubuntu 11.04; ROS-Electric

I am getting the below error when i compile the perception_pcl_electric_unstable. Basically i need pcl 1.6 in ros

[rosmake-1] Starting >>> pcl_ros [ make ]                                                                                    
[ rosmake ] All 31 linescl_ros: 0.6 sec ]                                                       [ 1 Active 101/102 Complete ]
{-------------------------------------------------------------------------------
  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/electric/ros/bin/rospack cflags-only-I;--deps-only pcl_ros
  CMake Error at /usr/local/lib/vtk-5.8/VTKTargets.cmake:16 (ADD_LIBRARY):
    Command add_library() is not scriptable
  Call Stack (most recent call first):
    /usr/local/lib/vtk-5.8/VTKConfig.cmake:231 (INCLUDE)
    /usr/share/cmake-2.8/Modules/FindVTK.cmake:73 (FIND_PACKAGE)
    /workspace/karthik/RRC/ros_workspace/perception_pcl_electric_unstable/pcl/vtk_include.cmake:1 (find_package)


  [rospack] warning: got non-zero exit status from executing backquote expression "ret="-I/workspace/karthik/RRC/ros_workspace/perception_pcl_electric_unstable/pcl/include/pcl-1.6/ -I`cmake -P /workspace/karthik/RRC/ros_workspace/perception_pcl_electric_unstable/pcl/vtk_include.cmake`" && echo $ret" in [/workspace/karthik/RRC/ros_workspace/perception_pcl_electric_unstable/pcl/manifest.xml]
  [rospack] error in backquote expansion for pcl_ros


  CMake Error at /opt/ros/electric/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/electric/ros/core/rosbuild/public.cmake:230 (rosbuild_invoke_rospack)
    CMakeLists.txt:4 (rosbuild_init)


  -- Configuring incomplete, errors occurred!
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package pcl_ros written to:
[ rosmake ]    /home/karthik/.ros/rosmake/rosmake_output-20120706-133230/pcl_ros/build_output.log
[rosmake-1] Finished <<< pcl_ros [FAIL] [ 0.62 seconds ]                                                                     
[ rosmake ] Halting due to failure in package pcl_ros. 
[ rosmake ] Waiting for other threads to complete.                   
[ rosmake ] Results:                                                                                                         
[ rosmake ] Built 102 packages with 1 failures.                                                                              
[ rosmake ] Summary output to directory                                                                                      
[ rosmake ] /home/karthik/.ros/rosmake/rosmake_output-20120706-133230

Any help here is appreciated!!!

Thanks, Karthik

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2015-03-26 18:20:03.316494

Comments

I am also having the same issue, How to solve this ?

sai gravatar imagesai ( 2013-06-06 23:31:19 -0600 )edit