acfr / snark

generic c++ libraries and utilities for robotics
Other
69 stars 41 forks source link

building fails due to link error "cannot find -lsnark_geometry" #89

Closed andsok75 closed 10 years ago

andsok75 commented 10 years ago

It looks like snark_build_point_cloud has a new dependency which was not needed before. Note that snark_build_math_geometry is turned off on my machine. If it turn it on, I get an error too.

make error (snark_build_math_geometry is turned off):

/usr/bin/ld: cannot find -lsnark_geometry collect2: error: ld returned 1 exit status make[2]: * [bin/points-grep] Error 1 make[1]: * [point_cloud/applications/CMakeFiles/points-grep.dir/all] Error 2 make: *\ [all] Error 2

make error(when snark_build_math_geometry is turned on):

/home/andrey/src/snark/math/geometry/polytope.cpp:36:24: fatal error: dsdp/dsdp5.h: No such file or directory

include <dsdp/dsdp5.h>

                    ^

compilation terminated.

akas9185 commented 10 years ago

yes you need to install libdsdp. anyway I have pushed a version that disables points-grep when snark_geometry is not built

andsok75 commented 10 years ago

thanks