![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
slam
完颜小白
学生;一名,知识补充中
展开
-
ubuntu20.04下编译rovio代码报“undefined reference to ‘__glew***‘“
环境: ubuntu20.04, ROS Noetic;rovio源码,执行catkin_make报如下错误:[ 75%] Building CXX object rovio/CMakeFiles/feature_tracker_node.dir/src/feature_tracker_node.cpp.o[ 80%] Building CXX object rovio/CMakeFiles/rovio_node.dir/src/rovio_node.cpp.o[ 85%] Buil原创 2021-02-16 17:59:22 · 1342 阅读 · 2 评论 -
slam14讲 ch1代码运行报错: error while loading shared libraries: libg2o_core.so: cannot open shared object
slam14讲 第十讲代码运行报错: error while loading shared libraries: libg2o_core.so: cannot open shared objectfile: No such file or directory;原因: g2o安装好之后需要配置环境解决方法:1. 打开文件sudo gedit /etc/ld.so.conf2. 添加g2o库的位置, 默认位置如下:/usr/local/lib3. 终端敲入:sudo ld.原创 2020-12-18 16:12:28 · 787 阅读 · 2 评论 -
slam14讲 第六讲编译报与ceres相关的错误
编译第六讲时,报如下错误:原因: 安装的ceres库版本与eigen库版本冲突, 我的eigen库版本为3.3.7, 将ceres换为1.14.0 版本的就能解决问题1. 首先删除之前的ceres-solversudo rm -r /usr/local/lib/cmake/Ceressudo rm -rf /usr/local/include/ceres /usr/local/lib/libceres.asudo rm -rf /usr/local/lib/cmake/Ceres .原创 2020-12-18 15:12:48 · 1232 阅读 · 0 评论 -
slam14讲 编译安装googletest遇到的问题
源码cmake成功, make时报错如下错误:1. make[1]: *** [googlemock/CMakeFiles/gmock.dir/all] Error 2解决方法: 在googletest/googlemock/CMakeLists.txt中添加如下语句, 应该是因为c++编译版本的问题SET(CMAKE_CXX_FLAGS "-std=c++0x")2. make[1]: *** [googletest/CMakeFiles/gtest.dir/all] Error 2原创 2020-12-17 15:46:27 · 657 阅读 · 0 评论 -
slam14讲 跑第四讲例程遇到的问题
相关报错及解决方法:1. 报错: Target "useSophus" links to target "Sophus::Sophus" but the target was not found. 解决方法: CMakelists.txt文件中将 ''target_link_libraries(useSophus Sophus::Sophus)'' 语句改为"target_link_libraries(useSophus ${Sophus_LIBRARIES})";2. 找不到se3.hp...原创 2020-12-14 15:20:45 · 1582 阅读 · 1 评论