C++
文章平均质量分 70
Leeoo_lyq
努力努力再努力
展开
-
重装ubuntu&装各种软件和库
Ubuntu启动盘启动盘教程镜像下载更新软件源直接打开应用"Software&Updates",选择Source code 的 Download from : Server for China或者直接替代文件 etc/apt/sources.list:deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricteddeb http://mirrors.tun原创 2021-10-06 17:41:29 · 812 阅读 · 0 评论 -
编写CMakeLists.txt
# 声明要求的 cmake 最低版本cmake_minimum_required(VERSION 2.8)# 声明一个 cmake 工程project(HelloSLAM)# 设置编译模式set(CMAKE_BUILD_TYPE "Debug")# 添加静态库(.a) 静态库每次调用都会生成一个副本add_library(hello libHelloSLAM.cpp)# 共...原创 2020-04-26 09:45:55 · 139 阅读 · 0 评论