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

make error about g2o #18

Open
cumtchenchang opened this issue May 12, 2018 · 5 comments
Open

make error about g2o #18

cumtchenchang opened this issue May 12, 2018 · 5 comments

Comments

@cumtchenchang
Copy link

I have tried cc@cc-K55VD:/usr/local/lib$ sudo ln -sv libg2o_csparse_extension.so libg2o_ext_csparse
, but the error is still on.
-- Build files have been written to: /home/cc/test/pl-slam/build
[ 6%] Linking CXX shared library ../lib/libplslam.so
/usr/bin/ld: cannot find -lg2o_ext_csparse
collect2: error: ld returned 1 exit status
CMakeFiles/plslam.dir/build.make:409: recipe for target '../lib/libplslam.so' failed
make[2]: *** [../lib/libplslam.so] Error 1
CMakeFiles/Makefile2:99: recipe for target 'CMakeFiles/plslam.dir/all' failed
make[1]: *** [CMakeFiles/plslam.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
cc@cc-K55VD:~/test/pl-slam$

@xinyangrobotic
Copy link

咱俩一样,兄弟你解决了吗

@rainpromise
Copy link

I met the same problem, have u solved it ?

@LiCHH
Copy link

LiCHH commented May 1, 2020

sudo ln -sv /usr/local/lib/libg2o_csparse_extension.so /usr/local/lib/libg2o_ext_csparse.so

@shaoxh
Copy link

shaoxh commented Apr 8, 2022

This is caused probably by an old version of g2o. Now g2o has updated this lib name to libg2o_csparse_extension.so while pl-slam used out-dated one.

@BTREE-C802
Copy link

BTREE-C802 commented Apr 8, 2022 via email

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

6 participants