bonjour,
Je suis sur un projet qui demande de reconnaître des formes dans des images médicales. J'ai choisi d'utiliser les fonctions d'itk et j'ai donc tenté de comprendre les exemples donnés avec la librairie.
Mon soucis, c'est que pour utiliser les exemples, je dois passer par Cmake qui transforme les sources en mini projet codeblocks(si j'ai bien compris).
j'entre le bon dossier dans les champs correspondants (et j'ai vérifié qu'il y ait bien un fichier cmakeliste) et je choisi le compilateur : codeblocks - mingw.
et le logiciel me retourne ces erreurs :
j'ai beau chercher partout, je ne trouve pas de solutions à mon problème.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30 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_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:/Users/Idir/Desktop/test vtk/CMakeFiles/CMakeCCompiler.cmake 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:/Users/Idir/Desktop/test vtk/CMakeFiles/CMakeCXXCompiler.cmake CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as cmake_minimum_required(VERSION 2.6) should be added at the top of the file. The version specified may be lower if you wish to support older CMake versions for this project. For more information run "cmake --help-policy CMP0000". This warning is for project developers. Use -Wno-dev to suppress it. Configuring incomplete, errors occurred!
Si quelqu'un pouvait me dire ce que j'ai fait de mal ou où est ce que je pourrai trouver un tuto pour Cmake, ca serait sympa.
accessoirement, je suis sous windows.
Merci
Partager