CMake: error in configuration process, project files may be invalid.
Dear ALL,
The purpose of my project is to use opencv in CODEBLOCKS for face identification.
The tools I am using:
Windows 10 professional french version 64 bits
CodeBlocks-16.01 mingw setup.exe
Opencv 2.4.13
CMake 3.8.2 -win64
The Cmake configuration generated the following errors.
I am grateful for any help to move forward.
Thank you in advance for your assistance.
Best Regards
C:\fakepath\CMake settings.png C:\fakepath\CMake error.png
CMake Warning at C:/Program Files (x86)/CMake/share/cmake-3.8/Modules/Platform/Windows-GNU.cmake:196 (message):
Disabling CMAKE_GNUtoMS option because CMAKE_GNUtoMS_VCVARS is not set.
Call Stack (most recent call first):
C:/Program Files (x86)/CMake/share/cmake-3.8/Modules/Platform/Windows-GNU-CXX-ABI.cmake:1 (__windows_compiler_gnu_abi)
C:/Program Files (x86)/CMake/share/cmake-3.8/Modules/CMakeCXXInformation.cmake:70 (include)
CMakeLists.txt:68 (project)
Detected version of GNU GCC: 49 (409)
CMake Warning at cmake/OpenCVFindLibsGUI.cmake:18 (find_package):
By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt5Core", but
CMake did not find one.
Could not find a package configuration file provided by "Qt5Core" with any
of the following names:
Qt5CoreConfig.cmake
qt5core-config.cmake
Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set
"Qt5Core_DIR" to a directory containing one of the above files. If
"Qt5Core" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
CMakeLists.txt:487 (include)
CMake Warning at cmake/OpenCVFindLibsGUI.cmake:19 (find_package):
By not providing "FindQt5Gui.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt5Gui", but
CMake did not find one.
Could not find a package configuration file provided by "Qt5Gui" with any
of the following names:
Qt5GuiConfig.cmake
qt5gui-config.cmake
Add the installation prefix of "Qt5Gui" to CMAKE_PREFIX_PATH or set
"Qt5Gui_DIR" to a directory containing one of the above files. If "Qt5Gui"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
CMakeLists.txt:487 (include)
CMake Warning at cmake/OpenCVFindLibsGUI.cmake:20 (find_package):
By not providing "FindQt5Widgets.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"Qt5Widgets", but CMake did not find one.
Could not find a package configuration file provided by "Qt5Widgets" with
any of the following names:
Qt5WidgetsConfig.cmake
qt5widgets-config.cmake
Add the installation prefix of "Qt5Widgets" to CMAKE_PREFIX_PATH or set
"Qt5Widgets_DIR" to a directory containing one of the above files. If
"Qt5Widgets" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
CMakeLists.txt:487 (include)
CMake Warning at cmake/OpenCVFindLibsGUI.cmake:21 (find_package):
By not providing "FindQt5Test.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt5Test", but
CMake did not find one.
Could not find a package configuration file provided by "Qt5Test" with any
of the following names:
Qt5TestConfig.cmake
qt5test-config ...
since you probably don't want or need Qt at all, try with :
Please, where and how to do cmake -DWITH_QT=OFF
if you incoke cmake on the cmdline, pass
-DWITH_QT=OFF
as one of the options there, if you use cmake-gui, look for theWITH_QT
box (quite at the bottom) and uncheck it.