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
hi ,
I have a strange problems , i followed the build instructions and i can run cpd executable succesfully , but when i want to use it in my own code i have some problems. I want to use it with ROS
it is installed to (/usr/local/lib succesfully ... )
find_package(CPD required) => cant find the CPD & CPD_Directories
if I set the .so lib (libcpd.so) in target_link_libraries it's OK ,
but I have just got the undefined reference for
Hm, before we get into manually setting target_link_libraries, let's figure out why your find_package is failing. Do you have CPD's CMake configuration scripts in /usr/local/lib/cpd/cmake? There should be a CpdConfig.cmake, CpdTargets.cmake, and others. Also, what's you're CMake version?
Dear pete ,
main problem was the package name
So it should be Cpd insted of CPD .
Solved now , but i add the libcpd.so to target link then ...
Thanks for your reply
Edwin.
On Aug 29, 2015 5:54 PM, "Pete Gadomski" notifications@github.com wrote:
Hm, before we get into manually setting target_link_libraries, let's
figure out why your find_package is failing. Do you have CPD's CMake
configuration scripts in /usr/local/lib/cpd/cmake? There should be a
CpdConfig.cmake, CpdTargets.cmake, and others. Also, what's you're CMake
version?
—
Reply to this email directly or view it on GitHub #36 (comment).
hi ,
I have a strange problems , i followed the build instructions and i can run cpd executable succesfully , but when i want to use it in my own code i have some problems. I want to use it with ROS
it is installed to (/usr/local/lib succesfully ... )
find_package(CPD required) => cant find the CPD & CPD_Directories
if I set the .so lib (libcpd.so) in target_link_libraries it's OK ,
but I have just got the undefined reference for
error: undefined reference to `cpd::NonrigidLowrank::NonrigidLowrank(float, int, float, bool, float, float, float, unsigned int)'
so , I cant compile and use CPD in my ROS package . Any Suggestion ?!
The text was updated successfully, but these errors were encountered: