cwi-dis / cwi-pcl-codec

Point Cloud Codec invented by Rufael Mekuria, based on PCL (Point Cloud Library)
Other
48 stars 18 forks source link

meet errors when compiling #2

Open cucrui opened 5 years ago

cucrui commented 5 years ago

below is what I meet

[ 42%] Linking CXX static library libpcl_jpeg_io.a [ 42%] Built target pcl_jpeg_io In file included from /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/src/point_cloud_codec_v2.cpp:41:0: /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2_impl.hpp: In member function ‘virtual void pcl::io::OctreePointCloudCodecV2<PointT, LeafT, BranchT, OctreeT>::simplifyPCloud(const PointCloudConstPtr&, pcl::io::OctreePointCloudCodecV2<PointT, LeafT, BranchT, OctreeT>::PointCloudPtr&)’: /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2impl.hpp:350:15: error: ‘OctreeLeafNodeIterator’ is not a member of ‘pcl::octree’ octree::OctreeLeafNodeIterator it = octree_simplifier->leaf_begin(); ^~~~~~ /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2impl.hpp:350:15: note: suggested alternative: ‘OctreeLeafNode’ octree::OctreeLeafNodeIterator it = octree_simplifier->leaf_begin(); ^~~~~~ OctreeLeafNode /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2impl.hpp:350:45: error: expected primary-expression before ‘>’ token octree::OctreeLeafNodeIterator it = octree_simplifier->leaf_begin(); ^ /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2impl.hpp:350:47: error: ‘it’ was not declared in this scope octree::OctreeLeafNodeIterator it_ = octree_simplifier->leaf_begin(); ^~~ /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2_impl.hpp:351:15: error: ‘OctreeLeafNodeIterator’ is not a member of ‘pcl::octree’ octree::OctreeLeafNodeIterator it_end = octree_simplifier->leaf_end(); ^~~~~~ /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2_impl.hpp:351:15: note: suggested alternative: ‘OctreeLeafNode’ octree::OctreeLeafNodeIterator it_end = octree_simplifier->leaf_end(); ^~~~~~ OctreeLeafNode /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2_impl.hpp:351:45: error: expected primary-expression before ‘>’ token octree::OctreeLeafNodeIterator it_end = octree_simplifier->leaf_end(); ^ /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2_impl.hpp:351:47: error: ‘it_end’ was not declared in this scope octree::OctreeLeafNodeIterator it_end = octree_simplifier->leaf_end(); ^~ /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2_impl.hpp:351:47: note: suggested alternative: ‘va_end’ octree::OctreeLeafNodeIterator it_end = octree_simplifier->leaf_end(); ^~ va_end /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2_impl.hpp: In member function ‘virtual void pcl::io::OctreePointCloudCodecV2<PointT, LeafT, BranchT, OctreeT>::generatePointCloudDeltaFrame(const PointCloudConstPtr&, const PointCloudConstPtr&, pcl::io::OctreePointCloudCodecV2<PointT, LeafT, BranchT, OctreeT>::PointCloudPtr&, std::ostream&, std::ostream&, bool, bool)’: /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2_impl.hpp:605:15: error: ‘OctreeLeafNodeIterator’ is not a member of ‘pcl::octree’ octree::OctreeLeafNodeIterator it_predictive = p_block_tree->leaf_begin(); ^~~~~~ /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2_impl.hpp:605:15: note: suggested alternative: ‘OctreeLeafNode’ octree::OctreeLeafNodeIterator it_predictive = p_block_tree->leaf_begin(); ^~~~~~ OctreeLeafNode /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2_impl.hpp:605:45: error: expected primary-expression before ‘>’ token octree::OctreeLeafNodeIterator it_predictive = p_block_tree->leaf_begin(); ^ /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2_impl.hpp:605:47: error: ‘it_predictive’ was not declared in this scope octree::OctreeLeafNodeIterator it_predictive = p_block_tree->leaf_begin(); ^~~~~ /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2_impl.hpp:605:47: note: suggested alternative: ‘do_icp_prediction’ octree::OctreeLeafNodeIterator it_predictive = p_block_tree->leaf_begin(); ^~~~~ do_icp_prediction /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2_impl.hpp:606:15: error: ‘OctreeLeafNodeIterator’ is not a member of ‘pcl::octree’ octree::OctreeLeafNodeIterator it_predictive_end = p_block_tree->leaf_end(); ^~~~~~ /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2_impl.hpp:606:15: note: suggested alternative: ‘OctreeLeafNode’ octree::OctreeLeafNodeIterator it_predictive_end = p_block_tree->leaf_end(); ^~~~~~ OctreeLeafNode /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2_impl.hpp:606:45: error: expected primary-expression before ‘>’ token octree::OctreeLeafNodeIterator it_predictive_end = p_block_tree->leaf_end(); ^ /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2_impl.hpp:606:47: error: ‘it_predictive_end’ was not declared in this scope octree::OctreeLeafNodeIterator it_predictive_end = p_block_tree->leaf_end(); ^~~~~ /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2_impl.hpp: In member function ‘virtual void pcl::io::OctreePointCloudCodecV2<PointT, LeafT, BranchT, OctreeT>::encodePointCloudDeltaFrame(const PointCloudConstPtr&, const PointCloudConstPtr&, pcl::io::OctreePointCloudCodecV2<PointT, LeafT, BranchT, OctreeT>::PointCloudPtr&, std::ostream&, std::ostream&, bool, bool)’: /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2_impl.hpp:807:11: error: ‘OctreeLeafNodeIterator’ is not a member of ‘pcl::octree’ octree::OctreeLeafNodeIterator it_predictive = p_block_tree->leaf_begin(); ^~~~~~ /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2_impl.hpp:807:11: note: suggested alternative: ‘OctreeLeafNode’ octree::OctreeLeafNodeIterator it_predictive = p_block_tree->leaf_begin(); ^~~~~~ OctreeLeafNode /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2_impl.hpp:807:41: error: expected primary-expression before ‘>’ token octree::OctreeLeafNodeIterator it_predictive = p_block_tree->leaf_begin(); ^ /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2_impl.hpp:807:43: error: ‘it_predictive’ was not declared in this scope octree::OctreeLeafNodeIterator it_predictive = p_block_tree->leaf_begin(); ^~~~~ /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2_impl.hpp:807:43: note: suggested alternative: ‘do_icp_prediction’ octree::OctreeLeafNodeIterator it_predictive = p_block_tree->leaf_begin(); ^~~~~ do_icp_prediction /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2_impl.hpp:808:11: error: ‘OctreeLeafNodeIterator’ is not a member of ‘pcl::octree’ octree::OctreeLeafNodeIterator it_predictive_end = p_block_tree->leaf_end(); ^~~~~~ /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2_impl.hpp:808:11: note: suggested alternative: ‘OctreeLeafNode’ octree::OctreeLeafNodeIterator it_predictive_end = p_block_tree->leaf_end(); ^~~~~~ OctreeLeafNode /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2_impl.hpp:808:41: error: expected primary-expression before ‘>’ token octree::OctreeLeafNodeIterator it_predictive_end = p_block_tree->leaf_end(); ^ /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2_impl.hpp:808:43: error: ‘it_predictive_end’ was not declared in this scope octree::OctreeLeafNodeIterator it_predictive_end = p_block_tree->leaf_end(); ^~~~~ /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2_impl.hpp: In instantiation of ‘void pcl::io::OctreePointCloudCodecV2<PointT, LeafT, BranchT, OctreeT>::generatePointCloudDeltaFrame(const PointCloudConstPtr&, const PointCloudConstPtr&, pcl::io::OctreePointCloudCodecV2<PointT, LeafT, BranchT, OctreeT>::PointCloudPtr&, std::ostream&, std::ostream&, bool, bool) [with PointT = pcl::PointXYZRGB; LeafT = pcl::octree::OctreeContainerPointIndices; BranchT = pcl::octree::OctreeContainerEmpty; OctreeT = pcl::octree::Octree2BufBase<pcl::octree::OctreeContainerPointIndices, pcl::octree::OctreeContainerEmpty>; pcl::io::OctreePointCloudCodecV2<PointT, LeafT, BranchT, OctreeT>::PointCloudConstPtr = boost::shared_ptr<const pcl::PointCloud >; pcl::io::OctreePointCloudCodecV2<PointT, LeafT, BranchT, OctreeT>::PointCloudPtr = boost::shared_ptr<pcl::PointCloud >; std::ostream = std::basic_ostream]’: /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/src/point_cloud_codec_v2.cpp:46:16: required from here /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2_impl.hpp:605:61: warning: ‘pcl::octree::Octree2BufBase<LeafContainerT, BranchContainerT>::LeafNodeIterator pcl::octree::Octree2BufBase<LeafContainerT, BranchContainerT>::leaf_begin(unsigned int) [with LeafContainerT = pcl::octree::OctreeContainerPointIndices; BranchContainerT = pcl::octree::OctreeContainerEmpty; pcl::octree::Octree2BufBase<LeafContainerT, BranchContainerT>::LeafNodeIterator = pcl::octree::OctreeLeafNodeDepthFirstIterator<pcl::octree::Octree2BufBase<pcl::octree::OctreeContainerPointIndices, pcl::octree::OctreeContainerEmpty> >]’ is deprecated: use leaf_depth_begin() instead [-Wdeprecated-declarations] octree::OctreeLeafNodeIterator it_predictive = p_block_tree->leaf_begin(); In file included from /usr/local/include/pcl-1.9/pcl/compression/octree_pointcloud_compression.h:42:0, from /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/point_cloud_codec_v2.h:45, from /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/src/point_cloud_codec_v2.cpp:40: /usr/local/include/pcl-1.9/pcl/octree/octree2buf_base.h:258:26: note: declared here LeafNodeIterator leaf_begin (unsigned int max_depth_arg = 0) ^~~~~~ In file included from /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/src/point_cloud_codec_v2.cpp:41:0: /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2_impl.hpp:606:65: warning: ‘const LeafNodeIterator pcl::octree::Octree2BufBase<LeafContainerT, BranchContainerT>::leaf_end() [with LeafContainerT = pcl::octree::OctreeContainerPointIndices; BranchContainerT = pcl::octree::OctreeContainerEmpty; pcl::octree::Octree2BufBase<LeafContainerT, BranchContainerT>::LeafNodeIterator = pcl::octree::OctreeLeafNodeDepthFirstIterator<pcl::octree::Octree2BufBase<pcl::octree::OctreeContainerPointIndices, pcl::octree::OctreeContainerEmpty> >]’ is deprecated: use leaf_depth_end() instead [-Wdeprecated-declarations] octree::OctreeLeafNodeIterator it_predictive_end = p_block_tree->leaf_end(); In file included from /usr/local/include/pcl-1.9/pcl/compression/octree_pointcloud_compression.h:42:0, from /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/point_cloud_codec_v2.h:45, from /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/src/point_cloud_codec_v2.cpp:40: /usr/local/include/pcl-1.9/pcl/octree/octree2buf_base.h:264:32: note: declared here const LeafNodeIterator leaf_end () ^~~~ In file included from /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/src/point_cloud_codec_v2.cpp:41:0: /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2_impl.hpp: In instantiation of ‘void pcl::io::OctreePointCloudCodecV2<PointT, LeafT, BranchT, OctreeT>::encodePointCloudDeltaFrame(const PointCloudConstPtr&, const PointCloudConstPtr&, pcl::io::OctreePointCloudCodecV2<PointT, LeafT, BranchT, OctreeT>::PointCloudPtr&, std::ostream&, std::ostream&, bool, bool) [with PointT = pcl::PointXYZRGB; LeafT = pcl::octree::OctreeContainerPointIndices; BranchT = pcl::octree::OctreeContainerEmpty; OctreeT = pcl::octree::Octree2BufBase<pcl::octree::OctreeContainerPointIndices, pcl::octree::OctreeContainerEmpty>; pcl::io::OctreePointCloudCodecV2<PointT, LeafT, BranchT, OctreeT>::PointCloudConstPtr = boost::shared_ptr<const pcl::PointCloud >; pcl::io::OctreePointCloudCodecV2<PointT, LeafT, BranchT, OctreeT>::PointCloudPtr = boost::shared_ptr<pcl::PointCloud >; std::ostream = std::basic_ostream]’: /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/src/point_cloud_codec_v2.cpp:46:16: required from here /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2_impl.hpp:807:57: warning: ‘pcl::octree::Octree2BufBase<LeafContainerT, BranchContainerT>::LeafNodeIterator pcl::octree::Octree2BufBase<LeafContainerT, BranchContainerT>::leaf_begin(unsigned int) [with LeafContainerT = pcl::octree::OctreeContainerPointIndices; BranchContainerT = pcl::octree::OctreeContainerEmpty; pcl::octree::Octree2BufBase<LeafContainerT, BranchContainerT>::LeafNodeIterator = pcl::octree::OctreeLeafNodeDepthFirstIterator<pcl::octree::Octree2BufBase<pcl::octree::OctreeContainerPointIndices, pcl::octree::OctreeContainerEmpty> >]’ is deprecated: use leaf_depth_begin() instead [-Wdeprecated-declarations] octree::OctreeLeafNodeIterator it_predictive = p_block_tree->leaf_begin(); In file included from /usr/local/include/pcl-1.9/pcl/compression/octree_pointcloud_compression.h:42:0, from /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/point_cloud_codec_v2.h:45, from /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/src/point_cloud_codec_v2.cpp:40: /usr/local/include/pcl-1.9/pcl/octree/octree2buf_base.h:258:26: note: declared here LeafNodeIterator leaf_begin (unsigned int max_depth_arg = 0) ^~~~~~ In file included from /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/src/point_cloud_codec_v2.cpp:41:0: /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2_impl.hpp:808:61: warning: ‘const LeafNodeIterator pcl::octree::Octree2BufBase<LeafContainerT, BranchContainerT>::leaf_end() [with LeafContainerT = pcl::octree::OctreeContainerPointIndices; BranchContainerT = pcl::octree::OctreeContainerEmpty; pcl::octree::Octree2BufBase<LeafContainerT, BranchContainerT>::LeafNodeIterator = pcl::octree::OctreeLeafNodeDepthFirstIterator<pcl::octree::Octree2BufBase<pcl::octree::OctreeContainerPointIndices, pcl::octree::OctreeContainerEmpty> >]’ is deprecated: use leaf_depth_end() instead [-Wdeprecated-declarations] octree::OctreeLeafNodeIterator it_predictive_end = p_block_tree->leaf_end(); In file included from /usr/local/include/pcl-1.9/pcl/compression/octree_pointcloud_compression.h:42:0, from /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/point_cloud_codec_v2.h:45, from /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/src/point_cloud_codec_v2.cpp:40: /usr/local/include/pcl-1.9/pcl/octree/octree2buf_base.h:264:32: note: declared here const LeafNodeIterator leaf_end () ^~~~ In file included from /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/src/point_cloud_codec_v2.cpp:41:0: /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2_impl.hpp: In instantiation of ‘void pcl::io::OctreePointCloudCodecV2<PointT, LeafT, BranchT, OctreeT>::simplifyPCloud(const PointCloudConstPtr&, pcl::io::OctreePointCloudCodecV2<PointT, LeafT, BranchT, OctreeT>::PointCloudPtr&) [with PointT = pcl::PointXYZRGB; LeafT = pcl::octree::OctreeContainerPointIndices; BranchT = pcl::octree::OctreeContainerEmpty; OctreeT = pcl::octree::Octree2BufBase<pcl::octree::OctreeContainerPointIndices, pcl::octree::OctreeContainerEmpty>; pcl::io::OctreePointCloudCodecV2<PointT, LeafT, BranchT, OctreeT>::PointCloudConstPtr = boost::shared_ptr<const pcl::PointCloud >; pcl::io::OctreePointCloudCodecV2<PointT, LeafT, BranchT, OctreeT>::PointCloudPtr = boost::shared_ptr<pcl::PointCloud >]’: /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/src/point_cloud_codec_v2.cpp:46:16: required from here /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2_impl.hpp:350:51: warning: ‘pcl::octree::Octree2BufBase<LeafContainerT, BranchContainerT>::LeafNodeIterator pcl::octree::Octree2BufBase<LeafContainerT, BranchContainerT>::leaf_begin(unsigned int) [with LeafContainerT = pcl::octree::OctreeContainerPointIndices; BranchContainerT = pcl::octree::OctreeContainerEmpty; pcl::octree::Octree2BufBase<LeafContainerT, BranchContainerT>::LeafNodeIterator = pcl::octree::OctreeLeafNodeDepthFirstIterator<pcl::octree::Octree2BufBase<pcl::octree::OctreeContainerPointIndices, pcl::octree::OctreeContainerEmpty> >]’ is deprecated: use leaf_depthbegin() instead [-Wdeprecated-declarations] octree::OctreeLeafNodeIterator it = octree_simplifier->leaf_begin(); In file included from /usr/local/include/pcl-1.9/pcl/compression/octree_pointcloud_compression.h:42:0, from /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/point_cloud_codec_v2.h:45, from /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/src/point_cloud_codec_v2.cpp:40: /usr/local/include/pcl-1.9/pcl/octree/octree2buf_base.h:258:26: note: declared here LeafNodeIterator leaf_begin (unsigned int max_depth_arg = 0) ^~~~~~ In file included from /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/src/point_cloud_codec_v2.cpp:41:0: /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/impl/point_cloud_codec_v2_impl.hpp:351:54: warning: ‘const LeafNodeIterator pcl::octree::Octree2BufBase<LeafContainerT, BranchContainerT>::leaf_end() [with LeafContainerT = pcl::octree::OctreeContainerPointIndices; BranchContainerT = pcl::octree::OctreeContainerEmpty; pcl::octree::Octree2BufBase<LeafContainerT, BranchContainerT>::LeafNodeIterator = pcl::octree::OctreeLeafNodeDepthFirstIterator<pcl::octree::Octree2BufBase<pcl::octree::OctreeContainerPointIndices, pcl::octree::OctreeContainerEmpty> >]’ is deprecated: use leaf_depth_end() instead [-Wdeprecated-declarations] octree::OctreeLeafNodeIterator it_end = octree_simplifier->leaf_end(); In file included from /usr/local/include/pcl-1.9/pcl/compression/octree_pointcloud_compression.h:42:0, from /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/include/pcl/cloud_codec_v2/point_cloud_codec_v2.h:45, from /home/ict/Downloads/cwi-pcl-codec-master/cloud_codec_v2/src/point_cloud_codec_v2.cpp:40: /usr/local/include/pcl-1.9/pcl/octree/octree2buf_base.h:264:32: note: declared here const LeafNodeIterator leaf_end () ^~~~ cloud_codec_v2/CMakeFiles/cloud_codec_v2.dir/build.make:62: recipe for target 'cloud_codec_v2/CMakeFiles/cloud_codec_v2.dir/src/point_cloud_codec_v2.cpp.o' failed make[2]: [cloud_codec_v2/CMakeFiles/cloud_codec_v2.dir/src/point_cloud_codec_v2.cpp.o] Error 1 CMakeFiles/Makefile2:140: recipe for target 'cloud_codec_v2/CMakeFiles/cloud_codec_v2.dir/all' failed make[1]: [cloud_codec_v2/CMakeFiles/cloud_codec_v2.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2

jackjansen commented 5 years ago

At the moment the codec doesn't work with PCL 1.9 yet, it only supports PCL 1.8 (the semantics of iterators has changed in an incompatible way).

Support for 1.9 is in the works, should be there in a few weeks.

keesblom commented 5 years ago

Hi Jack,

you’re right, I was too much in a hurry when checking in my modifications for supporting both PCL-1.8.1 and PCL-1.9.1. Sorry about that. Now everything should be there.

Regards,

Kees.

On 22 Mar 2019, at 17:09, Jack Jansen Jack.Jansen@cwi.nl wrote:

Kees, ofwel ik kijk niet goed, ofwel de enige verandering mbt 1.9.1 is een kleine wijziging in de CMakeLists.txt, ofwel je hebt niet alles ingechecked afgelopen dinsdag…

Enig idee?

Jack Jansen, Jack.Jansen@cwi.nl, http://www.cwi.nl/~jack If I can't dance I don't want to be part of your revolution -- Emma Goldman

jackjansen commented 2 years ago

Replying to a very old bug.

Could you have a look at https://github.com/cwi-dis/cwipc, which contains the same codec as this repository (in the cwipc_codec submodule)? But, unlike this repo, we actively maintain that one. For one thing, that repo is compatible with PCL 1.9 thru 1.12.