Skip to content

Commit

Permalink
minor update for how_to_build_and_install.md
Browse files Browse the repository at this point in the history
Signed-off-by: Takeshi Miura <[email protected]>
  • Loading branch information
1222-takeshi committed Dec 27, 2022
1 parent 2b7e756 commit f181685
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions doc/howto/how_to_build_and_install.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
* [4. Build in VSCode](#build-in-visual-studio-code)

## Install CMake
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).
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).
YDLidar SDK requires [CMake 2.8.2+](https://cmake.org/) as dependencies.
### Ubuntu 18.04/16.04/14.04 LTS
### Ubuntu 22.04/18.04/16.04/14.04 LTS
You can install these packages using apt:
```shell
sudo apt install cmake pkg-config
Expand All @@ -35,10 +35,11 @@ if you want to use python API, you need to install python and swig:
[swig office install](http://www.swig.org/download.html)

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

![](images/sequence.png)

### Ubuntu 18.04/16.04 /14.04 LTS
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):
### Ubuntu 22.04/18.04/16.04 /14.04 LTS
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):
```
./tri_test
```
Expand Down

0 comments on commit f181685

Please sign in to comment.