Ask Your Question
0

Error running CMake in opencv

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

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

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-07-19 09:13:03 -0600

FAA gravatar image

it seems you don't have C++ / g++ compiler installed.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-05-14 11:57:59 -0600

Seen: 673 times

Last updated: May 14 '19