[B]Fix Bugs in README.md

This commit is contained in:
Livox-SDK
2019-02-02 17:56:07 +08:00
parent 43a6c37166
commit 61ab22b33c
+5 -4
View File
@@ -40,16 +40,17 @@ In the Livox SDK directory, run the following commands to compile the project:
cd build cd build
cmake .. cmake ..
make make
sudo make install
``` ```
### 4.1.2 Windows 7/10 ### 4.1.2 Windows 7/10
#### Dependencies #### Dependencies
Livox SDK requires [CMake 3.0.0+](https://cmake.org/), [Apache Portable Runtime (APR) 1.61+](http://apr.apache.org/) and [Boost 1.54+](https://www.boost.org/) as dependencies. Livox SDK requires [CMake 3.0.0+](https://cmake.org/), [Apache Portable Runtime (APR) 1.61+](http://apr.apache.org/) and [Boost 1.54+](https://www.boost.org/) as dependencies.
You can choose any C++ compiler to build the Livox SDK API. Here we use [Visual Studio 2015/2017](https://visualstudio.microsoft.com/) as an example, and [vcpkg](https://github.com/Microsoft/vcpkg) is recommend for building our project. The dependency libraries can be installed by: You can choose any C++ compiler to build the Livox SDK API. Here we use [Visual Studio 2015/2017](https://visualstudio.microsoft.com/) as an example, and [vcpkg](https://github.com/Microsoft/vcpkg) is recommend for building our project. The dependency libraries can be installed by:
``` ```
.\vcpkg install apr && \ .\vcpkg install apr
.\vcpkg install boost-atomic && \ .\vcpkg install boost-atomic
.\vcpkg install boost-system && \ .\vcpkg install boost-system
.\vcpkg install boost-thread && \ .\vcpkg install boost-thread
.\vcpkg integrate install .\vcpkg integrate install
``` ```
Then, in the Livox SDK directory, run the following commands to create the Visual Studio solution file. Please replace [vcpkgroot] with your vcpkg installation path. Then, in the Livox SDK directory, run the following commands to create the Visual Studio solution file. Please replace [vcpkgroot] with your vcpkg installation path.