rubengooj / pl-slam

This code contains an algorithm to compute stereo visual SLAM by using both point and line segment features.
GNU General Public License v3.0
749 stars 243 forks source link

make error about g2o #18

Open cumtchenchang opened 6 years ago

cumtchenchang commented 6 years ago

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 commented 5 years ago

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

rainpromise commented 5 years ago

I met the same problem, have u solved it ?

LiCHH commented 4 years ago

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

shaoxh commented 2 years ago

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 commented 2 years ago

您好,我叫旷鸿章,我已经收到了你的邮件。谢谢!