Skip to content

Failed to link to g2o on compliation #2

@loki1725

Description

@loki1725

I'm trying to a fresh install of LSD_SLAM and it's failing during the last stages.

[ 96%] Built target lsdslam
Linking CXX executable LSD
src/lib/liblsdslam.so: undefined reference to g2o::csparse_extension::cs_chol_workspace(cs_di_sparse const*, cs_di_symbolic const*, int*, double*)' src/lib/liblsdslam.so: undefined reference tog2o::csparse_extension::cs_cholsolsymb(cs_di_sparse const_, double_, cs_di_symbolic const_, double_, int_)'
src/lib/liblsdslam.so: undefined reference to `g2o::csparse_extension::writeCs2Octave(char const_, cs_di_sparse const_, bool)'
collect2: error: ld returned 1 exit status
make[2]: *_* [LSD] Error 1
make[1]: *** [CMakeFiles/LSD.dir/all] Error 2
make: *** [all] Error 2

I have g2o installed, and verified it works. All of the libraries are in /usr/local/lib, and I've verified that lib2go_csparse_extension.so is there. I don't have any issues during cmake with missing dependencies.

I can't tell if this is an issue with lsd_slam or g2o, but since g2o seems to be working elsewhere I thought I would start here.

Thanks for any help

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