Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 69

compile pcl code pointcloud_to_pcd

$
0
0
I have downloaded the code [pointcloud_to_pcd](http://alufr-ros-pkg.googlecode.com/svn-history/r2218/branches/tidyup_robot-experimental/perception_pcl_unstable/pcl_ros/src/tools/pointcloud_to_pcd.cpp) and I am trying to compile it but I have errors. I have created a new package ( pointcloud2occupancy) and inserted the source(pointcloud2pcd.cpp). I have modified the Cmakelists.txt file in lines: - include_directories( ${catkin_LIBRARIES}) - add_executable(pc2og src/pointcloud2pcd.cpp) - add_dependencies(pc2og pointcloud2occupancy_generate_messages_cpp) - target_link_libraries(pc2og ${catkin_LIBRARIES} ) But catkin_make show this: fatal error: pcl/io/io.h: file or directory not found. #include I think I should insert some dependence of pcl in package.xml or cmakelists.txt, and not only the lines #include in the source cpp. But I am not sure when I have to include "the includes" in those files and when not. Could some help me, please? Thanks in advance.

Viewing all articles
Browse latest Browse all 69

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>