Open krishnakumarranganathan opened 4 years ago
Make sure SuiteSparse is installed prior to g2o compilation. IIRC this issue would come up with ORB_SLAM2 as well. If you already built g2o without having SuiteSparse installed, clean the g2o build directory, rebuild, reinstall, and then try compiling openvslam again.
I am compiling openvslam as per the installation instructions provided.
from openvslam/openvslam/src/openvslam/optimize/local_bundle_adjuster.cc:20: /usr/local/include/g2o/solvers/csparse/csparse_extension.h:27:16: fatal error: cs.h: No such file or directory
I did a cmake with the following options cmake
-DBUILD_WITH_MARCH_NATIVE=ON
-DUSE_PANGOLIN_VIEWER=ON
-DUSE_SOCKET_PUBLISHER=OFF
-DUSE_STACK_TRACE_LOGGER=OFF
-DBOW_FRAMEWORK=DBoW2
-DBUILD_TESTS=ON
..
Stack Trace logging was disabled as I was seeing glog cmake errors while running cmake (which I believe is ok).
Any help would be appreciated.
Thanks KK