From 095497209b9cc52e2e6490b1512e59f925e6c73c Mon Sep 17 00:00:00 2001 From: John Zhuang Date: Wed, 31 Jul 2019 16:30:31 +0800 Subject: [PATCH] Update README for building error: No CMAKE_CXX_COMPILER could be found --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d9c6cf9c47..ada2d8df6b 100644 --- a/README.md +++ b/README.md @@ -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 . ``` -- GitLab