Open bgn-dev opened 1 year ago
What is the content of yout lib folder of your g2o build?
What is the content of build/g2o/config.h? In particular, the value of G2O_HAVE_CSPARSE indicates whether g2o ws build with csparse support or not.
It could be that dependencies are not found. Make sure, that libsuitesparse-dev
is installed
Code:
[ 50%] Linking CXX executable bundle_adjustment_g2o ld: library not found for -lg2o_csparse_extension clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [bundle_adjustment_g2o] Error 1 make[1]: *** [CMakeFiles/bundle_adjustment_g2o.dir/all] Error 2 make: *** [all] Error 2
I've searched so much, and im not finding anything with the library named: -lg2o_csparse_extension. I looked up in my /PATH/g2o/solvers/csparse and there is a file named csparse_extension.h.
Where can i find the library?