gaoxiang12 / slambook2

edition 2 of the slambook
MIT License
5.54k stars 2.02k forks source link

Ch6 g2o shared library issue #82

Closed hanzheteng closed 4 years ago

hanzheteng commented 4 years ago

When running ./g2oCurveFitting on Ubuntu 18.04, I got the following error.

error while loading shared libraries: libg2o_core.so: cannot open shared object file: No such file or directory

The solution can be found in https://github.com/gaoxiang12/slambook/issues/52 and https://github.com/gaoxiang12/slambook/issues/125. The same issue still exists in this repo.

The issue #38 also mentioned the solution. Will submit a PR later on.

yifanAptiv commented 4 years ago

What I did is run LD_LIBRARY_PATH=/usr/local/lib ./g2oCurveFitting

hanzheteng commented 4 years ago

PR has been merged. Closing this issue.