Skip to content

Commit

Permalink
Merge pull request #8 from yuconglin/try_install
Browse files Browse the repository at this point in the history
Update the README to include thirdparty libraries instructions
  • Loading branch information
gaoxiang12 authored Feb 14, 2023
2 parents a1afea3 + 7660540 commit d8a581c
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,20 @@
## 编译

- 本书推荐的编译环境是Ubuntu 20.04。更老的Ubuntu版本需要适配gcc编译器,主要是C++17标准。更新的Ubuntu则需要您自己安装对应的ROS版本。
- 在编译本书代码之前,请编译安装本书thirdparty/下的三方库(如果您机器上没有安装的话)。
- 在编译本书代码之前,请编译安装本书thirdparty/下的```g2o```以及以下三方库(如果您机器上没有安装的话)
- ROS Noetic (http://wiki.ros.org/noetic/Installation/Ubuntu)
- pcl-ros (如果没有选择安装 ```ros-noetic-desktop-full```): ```sudo apt install ros-noetic-pcl-ros```
- velodyne-msgs (如果没有选择安装```ros-noetic-desktop-full```): ```sudo apt install ros-noetic-velodyne-msgs```
- opencv: ```sudo apt install libopencv-dev```
- glog: ```sudo apt install libgoogle-glog-dev```
- eigen3: ```sudo apt install libeigen3-dev```
- suitesparse: ```sudo apt install libsuitesparse-dev```
- pcl: ```sudo apt install libpcl-dev```
- yaml-cpp: ```sudo apt install libyaml-cpp-dev```
- tbb: ```sudo apt install libbtbb-dev```
- gmock: ```sudo apt install libgmock-dev```
- 以下命令可以一次安装上面几个库: ```sudo apt install -y libopencv-dev libgoogle-glog-dev libeigen3-dev libsuitesparse-dev libpcl-dev libyaml-cpp-dev libbtbb-dev libgmock-dev```
- Pangolin: https://github.com/stevenlovegrove/Pangolin
- 之后,使用通常的cmake, make 方式就可以编译本书所有内容了。

### 适配Ubuntu18.04
Expand Down

0 comments on commit d8a581c

Please sign in to comment.