Error running CMake in opencv

asked 2019-05-14 11:57:59 -0500

I am getting below error while running CMake in ubuntu ( in MAC). BTW i am running ubuntu in VMware.

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".

edit retag flag offensive close merge delete