Ask Your Question
0

Install opencv - cmake

asked 2013-10-29 16:24:03 -0600

ioanna gravatar image

updated 2013-11-02 05:47:27 -0600

berak gravatar image

I follow the instructions from http://nenadbulatovic.blogspot.com/2013/07/configuring-opencv-245-eclipse-cdt-juno.html. When I follow the instructionf of cmake from step 5 to 8, press configure it returns the follow: CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool. CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_CXX_COMPILER_ENV_VAR CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_CXX_COMPILER CMake Error: Could not find cmake module file:C:/OpenCV246MinGW/x86/CMakeFiles/CMakeCXXCompiler.cmake CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_C_COMPILER_ENV_VAR CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_C_COMPILER CMake Error: Could not find cmake module file:C:/OpenCV246MinGW/x86/CMakeFiles/CMakeCCompiler.cmake CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage Configuring incomplete, errors occurred!

what is going wrong?

edit retag flag offensive close merge delete

Comments

1

it sounds like it did not find your compiler suite, 'make' and 'g++', so your compiler is not 'on the path'

it complains about missing env vars, CMAKE_CXX_COMPILER_ENV_VAR, CMAKE_CXX_COMPILER

berak gravatar imageberak ( 2013-11-02 05:49:52 -0600 )edit

Do you know any tutorial that can help me to install it correct?

ioanna gravatar imageioanna ( 2013-11-04 17:18:58 -0600 )edit

3 answers

Sort by ยป oldest newest most voted
1

answered 2013-10-31 08:59:58 -0600

andr3w gravatar image

You need to install cmake and mingw if you don't have them. Then set the environment variable for them.

edit flag offensive delete link more
0

answered 2013-10-30 08:41:30 -0600

zulfiqar gravatar image

there is another tutorial that may help you solving your problems

http://linkopencvtovs.blogspot.com/2013/10/how-to-link-opencv-to-microsoft-visual.html

edit flag offensive delete link more
0

answered 2013-10-30 06:55:22 -0600

jabu gravatar image

There is a very good Tutorial for Visual Stuodio 2012 with Windows 7 64 bit for the opencv 242. I had also many problems installing opencv 246. Here is the link: http://karanjthakkar.wordpress.com/2012/11/21/usin-opencv-2-4-2-with-visual-studio-2012-on-windows-7-64-bit/

edit flag offensive delete link more

Comments

I install opencv. my problem is how to enable TBB for multithreading

ioanna gravatar imageioanna ( 2013-11-04 17:21:38 -0600 )edit

Question Tools

Stats

Asked: 2013-10-29 16:24:03 -0600

Seen: 3,634 times

Last updated: Nov 01 '13