摘要: CMake支持大写、小写、混合大小写的命令。 1. 添加头文件目录INCLUDE_DIRECTORIES 语法:include_directories([AFTER|BEFORE] [SYSTEM] dir1 [dir2 ...]) 它相当于g++选项中的-I参数的作用,也相当于环境变量中增加路径到 阅读全文
posted @ 2019-07-24 16:02 玥茹苟 阅读(222) 评论(0) 推荐(0) 编辑
摘要: # Copyright 2016 The Cartographer Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a cop... 阅读全文
posted @ 2019-07-24 15:56 玥茹苟 阅读(722) 评论(0) 推荐(0) 编辑
摘要: sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak //备份 sudo vim /etc/apt/sources.list //修改 ##阿里云源 deb http://mirrors.aliyun.com/ubuntu/ bionic m 阅读全文
posted @ 2019-07-24 11:23 玥茹苟 阅读(1056) 评论(0) 推荐(0) 编辑
摘要: 使用Ubuntu 进行开发绕不开的就是环境变量的配置,由于Linux系统严格的权限管理,造成Ubuntu系统有多个环境变量配置文件,如果不了解其调用顺序,很有可能遇到配置了环境变量,而没有其作用的问题。本文将介绍Ubuntu Linux系统的环境变量。 一、Ubuntu Linux系统环境变量配置文 阅读全文
posted @ 2019-07-24 10:19 玥茹苟 阅读(12232) 评论(0) 推荐(1) 编辑
摘要: /etc/ld.so.conf 此文件记录了编译时使用的动态库的路径,也就是加载so库的路径。 编辑这个文件 sudo gedit /etc/ld.so.conf。 默认情况下,编译器只会使用/lib和/usr/lib这两个目录下的库文件,而通常通过源码包进行安装时,如果不指定--prefix会将库 阅读全文
posted @ 2019-07-24 10:15 玥茹苟 阅读(1726) 评论(0) 推荐(0) 编辑