OpenCv-Cmake

Informácie o software, ankety...
Viper
Medium Expert
Medium Expert
Používateľov profilový obrázok
Príspevky: 137
Registrovaný: 14 mar 2012, 13:19

OpenCv-Cmake

Príspevok od používateľa Viper »

Ahojte,
mám menší problém chcem skompilovať OpenCv ale CMake mi robí problémy OpenCv som unzipol do C:/OpenCv
tak som to do CMake zadal a potom ako buid directory som dal C:/OpenCvBuild a použil som MinGW makefiles (chcem používať OpenCv v Qt) a vypisuje mi toto neviem si stým rady
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:/buid/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:/buid/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!
Numline1
Light Professional
Light Professional
Používateľov profilový obrázok
Príspevky: 858
Registrovaný: 04 dec 2006, 18:04

Re: OpenCv-Cmake

Príspevok od používateľa Numline1 »

Vyzera to tak, ze budes musiet v systeme nastavit PATH variable k tomu kompileru.
Viper
Medium Expert
Medium Expert
Používateľov profilový obrázok
Príspevky: 137
Registrovaný: 14 mar 2012, 13:19

Re: OpenCv-Cmake

Príspevok od používateľa Viper »

to som skúšal nastavil som to na C:/QtSdk/mingw/g++.exe ale nic aj tak stále to isté

//autoeditácia príspevku (06 Okt 2012, 20:17)
a skúšal som aj potom sa tam dá špecifikovať compileri a tiež to nešlo :(

//autoeditácia príspevku (06 Okt 2012, 20:29)
pozrel som to a nastavil som to tak ale bez toho g++.exe len po bin a stále to isté

//autoeditácia príspevku (07 Okt 2012, 15:20)
ok uz mi to ide :)
Napísať odpoveď