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

installing ROS from source, PCL build issue

asked 2012-10-30 01:55:54 -0600

updated 2012-10-30 06:33:50 -0600

joq gravatar image

Hey,

I'm trying to install ROS Fuerte from source on Ubuntu 12.10. I'm having trouble when rosmake -a is trying to make PCL. Does anybody have any tips how to solve this?

Part of the error:

   home/gloin/ros/perception_pcl/pcl/build/pcl_trunk/octree/src/octree_impl.cpp:60:1:   required from here
/home/gloin/ros/perception_pcl/pcl/build/pcl_trunk/octree/include/pcl/octree/impl/octree_pointcloud.hpp:727:5: error: ‘branchHasChild’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/home/gloin/ros/perception_pcl/pcl/build/pcl_trunk/octree/include/pcl/octree/impl/octree_pointcloud.hpp:727:5: note: declarations in dependent base ‘pcl::octree::Octree2BufBase<int, pcl::octree::OctreeLeafDataTVector<int> >’ are not found by unqualified lookup
/home/gloin/ros/perception_pcl/pcl/build/pcl_trunk/octree/include/pcl/octree/impl/octree_pointcloud.hpp:727:5: note: use ‘this->branchHasChild’ instead
/home/gloin/ros/perception_pcl/pcl/build/pcl_trunk/octree/include/pcl/octree/impl/octree_pointcloud.hpp:731:5: error: ‘getBranchChild’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/home/gloin/ros/perception_pcl/pcl/build/pcl_trunk/octree/include/pcl/octree/impl/octree_pointcloud.hpp:731:5: note: declarations in dependent base ‘pcl::octree::Octree2BufBase<int, pcl::octree::OctreeLeafDataTVector<int> >’ are not found by unqualified lookup
/home/gloin/ros/perception_pcl/pcl/build/pcl_trunk/octree/include/pcl/octree/impl/octree_pointcloud.hpp:731:5: note: use ‘this->getBranchChild’ instead
/home/gloin/ros/perception_pcl/pcl/build/pcl_trunk/octree/include/pcl/octree/impl/octree_pointcloud.hpp: In instantiation of ‘int pcl::octree::OctreePointCloud<PointT, LeafT, OctreeT>::getOccupiedVoxelCentersRecursive(const OctreeBranch*, const OctreeKey&, std::vector<PointT, Eigen::aligned_allocator<PointT> >&) const [with PointT = pcl::PointNormal; LeafT = pcl::octree::OctreeLeafDataTVector<int>; OctreeT = pcl::octree::Octree2BufBase<int, pcl::octree::OctreeLeafDataTVector<int> >; pcl::octree::OctreePointCloud<PointT, LeafT, OctreeT>::OctreeBranch = pcl::octree::Octree2BufBase<int, pcl::octree::OctreeLeafDataTVector<int> >::OctreeBranch; pcl::octree::OctreePointCloud<PointT, LeafT, OctreeT>::OctreeKey = pcl::octree::Octree2BufBase<int, pcl::octree::OctreeLeafDataTVector<int> >::OctreeKey]’:
/home/gloin/ros/perception_pcl/pcl/build/pcl_trunk/octree/src/octree_impl.cpp:60:1:   required from here
/home/gloin/ros/perception_pcl/pcl/build/pcl_trunk/octree/include/pcl/octree/impl/octree_pointcloud.hpp:727:5: error: ‘branchHasChild’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/home/gloin/ros/perception_pcl/pcl/build/pcl_trunk/octree/include/pcl/octree/impl/octree_pointcloud.hpp:727:5: note: declarations in dependent base ‘pcl::octree::Octree2BufBase<int, pcl::octree::OctreeLeafDataTVector<int> >’ are not found by unqualified lookup
/home/gloin/ros/perception_pcl/pcl/build/pcl_trunk/octree/include/pcl/octree/impl/octree_pointcloud.hpp:727:5: note: use ‘this->branchHasChild’ instead
/home/gloin/ros/perception_pcl/pcl/build/pcl_trunk/octree/include/pcl/octree/impl/octree_pointcloud.hpp:731:5: error: ‘getBranchChild’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/home/gloin/ros/perception_pcl/pcl/build/pcl_trunk/octree/include/pcl/octree/impl/octree_pointcloud.hpp:731:5: note: declarations in dependent base ‘pcl::octree ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
2

answered 2012-10-30 06:38:38 -0600

joq gravatar image

Building PCL from source is difficult on ROS Fuerte. The sources from pointclouds.org will not work with ROS.

Since you are using Ubuntu, you may be able to build it like Willow Garage does, using their github PCL repository.

If that does not work, there are many other questions on answers.ros.org relating to this subject.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-10-30 01:55:54 -0600

Seen: 566 times

Last updated: Oct 30 '12