Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find LinearSolverCholmodSE3 for example ba_demo #34

Open
EmmanuelMess opened this issue Jun 16, 2024 · 2 comments
Open

Cannot find LinearSolverCholmodSE3 for example ba_demo #34

EmmanuelMess opened this issue Jun 16, 2024 · 2 comments

Comments

@EmmanuelMess
Copy link

Cannot run https://github.com/miquelmassot/g2o/blob/c0c3e4736ce8bdaa4939569fe635dfb6f894534e/python/examples/ba_demo.py because pip installation is missing LinearSolverCholmodSE3.

Workaround: replaced it with LinearSolverEigenSE3.

@EmmanuelMess
Copy link
Author

Update it crashes with a SIGSEGV:

BA demo
Poses done

Process finished with exit code 139 (interrupted by signal 11:SIGSEGV)

@imjrl
Copy link

imjrl commented Aug 24, 2024

I had encountered this problem too.
seems there are something wrong with pip installation. try build the python module from source:

  • git clone the repo
  • use the pip install -U --user -v . command to build
  • add the dynamic link lib path to your system variable LD_LIBRARY_PATH, e.g. export LD_LIBRARY_PATH=/your/g2o/dynamic/link/lib/path:$LD_LIBRARY_PATH, for me, it was export LD_LIBRARY_PATH=/home/jrl/.local/lib:$LD_LIBRARY_PATH

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants