When try to install the package on my Ubuntu operating system received an error CMAKE_CXX_COMPILER, after analysed the error have to install the dependency packages,


CMake Error at CMakeLists.txt:3 (project):
  No CMAKE_CXX_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.


The The "compiler" is a separate package that needs to be installed in your machine,  g++ and build-essential. 


$ sudo apt-get install g++
$ sudo apt-get install build-essential