![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
视觉SLAM
九十九_99
这个作者很懒,什么都没留下…
展开
-
对‘google::LogMessage::stream()’未定义的引用
Ubuntu系统下使用ceres库,make提示如下错误CMakeFiles/pose_estimation_3d2d.dir/pose_estimation_3d2d.cpp.o:在函数‘ceres::internal::FixedArray<double, 6ul, std::allocator<double> >::operator[](unsigned long)’中:/usr/local/include/ceres/internal/fixed_array.h:21原创 2022-01-20 19:44:46 · 3529 阅读 · 3 评论 -
视觉SLAM十四讲——CMakeLists.txt语句规范
#声明cmake最低版本要求cmake_minimum_required( VERSION 2.8 )#声明工程project( test )#设置编译模式set( CMAKE_DEBUG_TYPE "Debug" )#设置C++11标准set( CMAKE_CXX_FLAGS "-std=c++11" )#添加可执行程序add_executable( test test.cpp )#添加自己的库add_library( 库名 程序名 )add_library( libMy .原创 2022-01-05 19:12:29 · 918 阅读 · 0 评论 -
Sophus库使用
要使用Sophus库,需要在CMakeLists.txt中添加语句project( useSophus )add_executable(useSophus useSophus.cpp)find_package( Sophus REQUIRED )include_directories( ${Sophus_LIBRARIES_DIRS} )target_link_libraries( useSophus ${Sophus_LIBRARIES} fmt )其中最后一步链接库比较特殊,注意最后原创 2022-01-05 18:37:05 · 812 阅读 · 0 评论 -
视觉SLAM十四讲-实践Sophus:基本使用
基于虚拟机上的Ubuntu18.04,Kdevelop编程实践:相比于与书本上的程序案例,有以下几点需要注意1.将原来的“sophus/so3.hpp”改为如上形式(适用于下载最新的Sophus库)2.将书本程序中所有SO3d和SE3d都改为SO3和SE33.最重要的是CMakeLists.txt文件的修改,如下所示尤其是第16行代码,需要连接到libSophus.so库文件,否则会报错:未经定义的引用,即程序不能识别SE3、SO3等标识。4.经过以上修改以后,点击B..原创 2021-09-08 17:44:33 · 674 阅读 · 0 评论