You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is good chance for me to know and touch your codes of object_recognition with ppf features. when i tried to build your codes at the environment of Ubuntu 14.04, ros indigo, qtcreator 5 and gcc/g++ 4.9. I got the following errors.
%%%%%%%
/home/USER/catkin_ws/src/object_recognition-master/src/find_function.cpp:-1: error: multiple definition of pcl::PPFHashMapSearch::nearestNeighborSearch(float&, float&, float&, float&, std::vector<std::pair<unsigned long, unsigned long>, std::allocator<std::pair<unsigned long, unsigned long> > >&)' /home/USER/catkin_ws_indigo2/src/object_recognition-master/src/find_function.cpp:-1: error: multiple definition of pcl::PPFHashMapSearch::setInputFeatureCloud(boost::shared_ptr<pcl::PointCloudpcl::PPFSignature const>)'
collect2: error: ld returned 1 exit status
%%%%%%%
don't you mind helping me correcting the errors. i cannot deny that the errors may occur depending on my environment. when i searched the causal factor for them, i could find the next links. i understand that you have encountered the similar problems several years ago. if you know how to fix about them, please tell me the answers.
the problem is that you have this function pcl::PPFHashMapSearch::nearestNeighborSearch defined in two different files (maybe in the includes).
The easiest way to correct the problem is to search for the definition of the function in the pcl library and just put it as inline so that you won't find it twice.
I did not update that code since quite some time so I am not 100% sure but probably it is that.
It is good chance for me to know and touch your codes of object_recognition with ppf features. when i tried to build your codes at the environment of Ubuntu 14.04, ros indigo, qtcreator 5 and gcc/g++ 4.9. I got the following errors.
%%%%%%%
/home/USER/catkin_ws/src/object_recognition-master/src/find_function.cpp:-1: error: multiple definition of
pcl::PPFHashMapSearch::nearestNeighborSearch(float&, float&, float&, float&, std::vector<std::pair<unsigned long, unsigned long>, std::allocator<std::pair<unsigned long, unsigned long> > >&)' /home/USER/catkin_ws_indigo2/src/object_recognition-master/src/find_function.cpp:-1: error: multiple definition of
pcl::PPFHashMapSearch::setInputFeatureCloud(boost::shared_ptr<pcl::PointCloudpcl::PPFSignature const>)'collect2: error: ld returned 1 exit status
%%%%%%%
don't you mind helping me correcting the errors. i cannot deny that the errors may occur depending on my environment. when i searched the causal factor for them, i could find the next links. i understand that you have encountered the similar problems several years ago. if you know how to fix about them, please tell me the answers.
http://www.pcl-developers.org/bug-in-ppf-registration-td5709617.html
PointCloudLibrary/pcl#891
this is my mail address(m_yoshihira at hotmail.com). if you communicate via the mail address, i am grad that we can talk smoothly.
kind regards
masanori yoshihira
The text was updated successfully, but these errors were encountered: