CMAKE

#1 · open · 1 comments

View on GitHub ↗

Muhammad1331

Hi, i am getting below error while running the command. muhammadratul@ubuntu:~/opencv/build$ cmake .. -- The CXX compiler identification is unknown CMake Error at CMakeLists.txt:135 (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. -- Configuring incomplete, errors occurred! See also "/home/muhammadratul/opencv/build/CMakeFiles/CMakeOutput.log". See also "/home/muhammadratul/opencv/build/CMakeFiles/CMakeError.log".

Comments

EricLYang

Since Linux does not install cmake as default, you should install cmake first: sudo apt-get install cmake