Skip to content

compilation wrong  #7

@pswpswpsw

Description

@pswpswpsw

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions