vim4开发环境搭建

笔记:

1.ubuntu更改用户(Ubuntu 22.04.1 LTS)
方法一:
https://blog.csdn.net/fkmmmm/article/details/127333212

方法二:
https://huaweicloud.csdn.net/63560d54d3efff3090b58f92.html?spm=1001.2101.3001.6650.1&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Eactivity-1-125065515-blog-125488527.pc_relevant_vip_default&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7Eactivity-1-125065515-blog-125488527.pc_relevant_vip_default&utm_relevant_index=2

2.安装的库位置查询
  pkg-config --modversion eigen3
  dpkg -l | grep + 关键字
  dpkg -L  + 库名
  find [path] -name [file name]
    库名 --version;  
  apt-get install apt-show-versions | grep 包名关键字
  https://blog.csdn.net/Kenny_GuanHua/article/details/123842699
 
 3.安装ceres出现问题
 /home/casun/cmake_slam_86/ceres-solver-1.14.0/internal/ceres/gtest/gtest.h:10445:35: error: variable or field ‘it’ declared void
10445 |   for (typename C::const_iterator it = container.begin();

解决:a.
  https://blog.csdn.net/weixin_45868890/article/details/125837535 //成功,eigen3由原来的3.4.0该为3.3.7
  https://blog.csdn.net/qq_42257666/article/details/124600564    //未测试

  b. ceres-solver-1.14.0安装,说新版可以避免,实际不行
  CMake Error at cmake/FindTBB.cmake:224 (file):
  file failed to open for reading (No such file or directory):

    /usr/include/tbb/tbb_stddef.h
Call Stack (most recent call first):
  cmake/FindSuiteSparse.cmake:294 (find_package)
  CMakeLists.txt:266 (find_package)
 
 解决: FindTBB.cmake文件下关闭查找tbb库
 
4.delete_main.cc、shm_client.cc、shm_client.cc
报错:
error: ordered comparison of pointer with integer zero (‘char*’ and ‘int’)
解决:0改为 (void*)0
if(fgets(buf,50, fp)> (void*)0)

5. qt安装
  a. 安装arm架构环境的qt
   链接:  https://blog.csdn.net/weixin_48560325/article/details/124373125 //命令安装,可以
      参考
        https://blog.csdn.net/qq_41286751/article/details/125558815
        https://blog.csdn.net/weixin_44678052/article/details/104984998
 /usr/bin/qtcreator 可执行文件
 
 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值