Skip to content

Commit f181685

Browse files
committed
minor update for how_to_build_and_install.md
Signed-off-by: Takeshi Miura <m.takeshi1995@gmail.com>
1 parent 2b7e756 commit f181685

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

doc/howto/how_to_build_and_install.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
* [4. Build in VSCode](#build-in-visual-studio-code)
77

88
## Install CMake
9-
The installation procedures in Ubuntu 18.04/16.04/14.04 LTS and Windows 7/10 are shown here as examples. For Ubuntu 18.04/16.04/14.04 32-bit LTS and Mac, you can get it in [YDLidar-SDK wiki](https://github.com/YDLIDAR/YDLidar-SDK/wiki).
9+
The installation procedures in Ubuntu 22.04/18.04/16.04/14.04 LTS and Windows 7/10 are shown here as examples. For Ubuntu 22.04/18.04/16.04/14.04 32-bit LTS and Mac, you can get it in [YDLidar-SDK wiki](https://github.com/YDLIDAR/YDLidar-SDK/wiki).
1010
YDLidar SDK requires [CMake 2.8.2+](https://cmake.org/) as dependencies.
11-
### Ubuntu 18.04/16.04/14.04 LTS
11+
### Ubuntu 22.04/18.04/16.04/14.04 LTS
1212
You can install these packages using apt:
1313
```shell
1414
sudo apt install cmake pkg-config
@@ -35,10 +35,11 @@ if you want to use python API, you need to install python and swig:
3535
[swig office install](http://www.swig.org/download.html)
3636

3737
## Build YDLidar-SDK
38-
### Ubuntu 18.04/16.04/14.04 LTS
38+
### Ubuntu 22.04/18.04/16.04/14.04 LTS
3939
In the YDLidar SDK directory, run the following commands to compile the project:
4040
```
4141
git clone https://github.com/YDLIDAR/YDLidar-SDK.git
42+
mkdir -p YDLidar-SDK/build
4243
cd YDLidar-SDK/build
4344
cmake ..
4445
make
@@ -95,8 +96,8 @@ Three samples are provided in samples, which demonstrate how to configure YDLida
9596

9697
![](images/sequence.png)
9798

98-
### Ubuntu 18.04/16.04 /14.04 LTS
99-
For Ubuntun 18.04/16.04/14.04 LTS, run the *tri_test* if connect with the Triangle LiDAR unit(s) or TOF LiDAR unit(s):
99+
### Ubuntu 22.04/18.04/16.04 /14.04 LTS
100+
For Ubuntu 22.04/18.04/16.04 /14.04 LTS, run the *tri_test* if connect with the Triangle LiDAR unit(s) or TOF LiDAR unit(s):
100101
```
101102
./tri_test
102103
```

0 commit comments

Comments
 (0)