1. 程式人生 > 其它 >求助-視覺SLAM-安裝g2o出現Qt報錯-undefined reference to `qt_version_tag@Qt_5.12‘

求助-視覺SLAM-安裝g2o出現Qt報錯-undefined reference to `qt_version_tag@Qt_5.12‘

技術標籤:SLAM計算機視覺slam

求助-視覺SLAM-安裝g2o出現Qt報錯

/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libQGLViewer-qt5.so: undefined reference to `[email protected]_5.12'
collect2: error: ld returned 1 exit status
make[2]: *** [g2o/apps/g2o_viewer/CMakeFiles/g2o_viewer.dir/build.make:101: ../bin/g2o_viewer]
Error 1 make[1]: *** [CMakeFiles/Makefile2:1574: g2o/apps/g2o_viewer/CMakeFiles/g2o_viewer.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libQGLViewer-qt5.so: undefined reference to `
[email protected]_5.12' collect2: error: ld returned 1 exit
status make[2]: *** [g2o/examples/slam2d/CMakeFiles/slam2d_g2o.dir/build.make:167: ../bin/slam2d_g2o] Error 1 make[1]: *** [CMakeFiles/Makefile2:3083: g2o/examples/slam2d/CMakeFiles/slam2d_g2o.dir/all] Error 2 make: *** [Makefile:152: all] Error 2