-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compilation wrong #7
Comments
I figured it out, at least on my computer, CMakeLists.txt need to add two additional library at the end. target_link_libraries(PrincipalCurvaturesEstimation |
I figured it out, at least on my computer, CMakeLists.txt need to add two additional library at the end. |
Great, I'm glad you got it to work. Would you mind editing the page to reflect the required changes? |
I used your cmake file: https://github.com/daviddoria/Examples/blob/master/c%2B%2B/PCL/Descriptors/PrincipalCurvaturesEstimation/CMakeLists.txt
and https://github.com/daviddoria/Examples/blob/master/c%2B%2B/PCL/Descriptors/PrincipalCurvaturesEstimation/PrincipalCurvaturesEstimation.cpp
It seems that I got error
Linking CXX executable PrincipalCurvaturesEstimation
/usr/bin/ld: CMakeFiles/PrincipalCurvaturesEstimation.dir/PrincipalCurvaturesEstimation.cpp.o: undefined reference to symbol '_ZN5boost6system15system_categoryEv'
//usr/lib/x86_64-linux-gnu/libboost_system.so.1.54.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [PrincipalCurvaturesEstimation] Error 1
make[1]: *** [CMakeFiles/PrincipalCurvaturesEstimation.dir/all] Error 2
make: *** [all] Error 2
Do you know what is going on?
The text was updated successfully, but these errors were encountered: