Open cumtchenchang opened 6 years ago
咱俩一样,兄弟你解决了吗
I met the same problem, have u solved it ?
sudo ln -sv /usr/local/lib/libg2o_csparse_extension.so /usr/local/lib/libg2o_ext_csparse.so
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.
您好,我叫旷鸿章,我已经收到了你的邮件。谢谢!
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$