ndt_omp
ndt_omp copied to clipboard
error: ‘shared_ptr’ in namespace ‘pcl’ does not name a template type
When trying to build, the following error is occurring:
error: ‘shared_ptr’ in namespace ‘pcl’ does not name a template type typedef pcl::shared_ptr< pcl::VoxelGrid > Ptr;
error: ‘shared_ptr’ in namespace ‘pcl’ does not name a template type typedef pcl::shared_ptr< const pcl::VoxelGrid > ConstPtr;
My pcl version is the 1.8.1. I temporarily fixed it by replacing pcl::shared_ptr to boost::shared_ptr. I saw there was a recent pull request on this regard.
When trying to build, the following error is occurring:
error: ‘shared_ptr’ in namespace ‘pcl’ does not name a template type typedef pcl::shared_ptr< pcl::VoxelGrid > Ptr;
error: ‘shared_ptr’ in namespace ‘pcl’ does not name a template type typedef pcl::shared_ptr< const pcl::VoxelGrid > ConstPtr;
My pcl version is the 1.8.1. I temporarily fixed it by replacing pcl::shared_ptr to boost::shared_ptr. I saw there was a recent pull request on this regard.
I also met the same question and solved it by checkout to old version.
could you please tell me, which old version you are talking about?
When trying to build, the following error is occurring: error: ‘shared_ptr’ in namespace ‘pcl’ does not name a template type typedef pcl::shared_ptr< pcl::VoxelGrid > Ptr; error: ‘shared_ptr’ in namespace ‘pcl’ does not name a template type typedef pcl::shared_ptr< const pcl::VoxelGrid > ConstPtr; My pcl version is the 1.8.1. I temporarily fixed it by replacing pcl::shared_ptr to boost::shared_ptr. I saw there was a recent pull request on this regard.
I also met the same question and solved it by checkout to old version.
I created melodic
branch for backwards compatibility. Try to checkout it.
I created
melodic
branch for backwards compatibility. Try to checkout it.
Thank you, it was helpful :-)
I updated the code, and now master
branch can be built on older environments as well