Update README for building error: No CMAKE_CXX_COMPILER could be found

This commit is contained in:
John Zhuang 2019-07-31 16:30:31 +08:00
parent f32fb057fa
commit 095497209b
1 changed files with 8 additions and 1 deletions

View File

@ -23,9 +23,16 @@ For user manual, system design and architecture, engineering blogs, refer to [TD
# Building
At the moment, TDengine only supports building and running on Linux systems. You can choose to [install from packages](https://www.taosdata.com/en/getting-started/#Install-from-Package) or from the source code. This quick guide is for installation from the source only.
To build TDengine, use [CMake](https://cmake.org/) 2.8 or higher versions in the project directory:
To build TDengine, use [CMake](https://cmake.org/) 2.8 or higher versions in the project directory.
Install CMake for example on Ubuntu:
```
sudo apt-get install -y cmake build-essential
```
Build TDengine:
```cmd
mkdir build && cd build
cmake .. && cmake --build .
```