Ask Your Question
0

Package using pcl make error

asked 2012-12-08 07:11:57 -0500

KARTHIK MURUGAN gravatar image

updated 2012-12-08 16:34:42 -0500

hi, I used a source code from

http://www.pointclouds.org/documentation/tutorials/range_image_visualization.php#range-image-visualization (pcl/range_image & visualization)

in my ROS package(pcl_tutorial) to create a range image. But when i make the package, i get an error

In file included from /opt/ros/fuerte/include/pcl-1.5/pcl/visualization/range_image_visualizer.h:44:0,

from /home/karthik/Desktop/OpenCV/sandbox/pcl_tutorial/src/pcd2range_image.cpp:13: /opt/ros/fuerte/include/pcl-1.5/pcl/visualization/image_viewer.h:41:28:

fatal error: vtkImageViewer.h: No such file or directory compilation terminated.

screenshot screenshot contd1 sc contd2 sc contd 3

I have highlighted the lines which i think has the error. Please help me out with this error.

I would like to make you know that :- as in the highlighted lines /opt/ros/fuerte/pcl-1.5/pcl/visualization/image_viewer.h ,i checked out the directory, which is named pcl-1.5. But i installed pcl from

http://www.pointclouds.org/downloads/linux.html (pcl/Downloads)

(prebuilt binaries) which happens to be pcl-1.6(as seen in ubuntu software center)

And the error vtkImageViewer.h , from my synaptics package manager, i found vtk has dependencies of pcl 1.6 which are installed and pcl 1.5 which are not installed.

Should i uninstall all pcl-1.6 packages and install pcl-1.5 because my ROS uses pcl-1.5(as i assume from the above) or should i reinstall vtk5.8.0-5(as seen from synaptic package manager) is there any other way?? please help me out.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-12-09 00:39:51 -0500

KARTHIK MURUGAN gravatar image

hi, I solved the error http://answers.ros.org/question/39444/pcl-visualizer-error/?answer=39744#post-id-39744 (from answers.ros.org) .Now I am able to build the package without any error.

edit flag offensive delete link more

Comments

Putting the solution itself or the summary of it would be better.

OzzieTheHead gravatar image OzzieTheHead  ( 2017-05-06 10:15:45 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-12-08 07:11:57 -0500

Seen: 817 times

Last updated: Dec 09 '12