Je suis un débutant dans la programmation avec C et je reçois ce code d'erreur si je commence un projet sur Clion:ERREUR CMAKE avec Clion
C:\Program Files\JetBrains\CLion 2017.2.2\bin\cmake\bin\cmake.exe" -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - MinGW Makefiles" C:\Users\danie\CLionProjects\untitled2
-- The C compiler identification is GNU 5.3.0
-- The CXX compiler identification is unknown
-- Check for working C compiler: C:/MinGW/bin/gcc.exe
-- Check for working C compiler: C:/MinGW/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
CMake Error at CMakeLists.txt:2 (project):
The CMAKE_CXX_COMPILER:
g++.exe
is not a full path and was not found in the PATH.
Dites-CMake où trouver le compilateur en réglant soit l'environnement variables "CXX" ou l'entrée de cache CMake CMAKE_CXX_COMPILER au chemin complet vers le compilateur, ou vers le nom du compilateur s'il se trouve dans le chemin.
-- Configuring incomplete, errors occurred!
See also "C:/Users/danie/CLionProjects/untitled2/cmake-build-debug/CMakeFiles/CMakeOutput.log".
See also "C:/Users/danie/CLionProjects/untitled2/cmake-build-debug/CMakeFiles/CMakeError.log".
[Terminé]
Que puis-je faire pour le faire fonctionner? Nous vous remercions de votre aide.
Il semble que vous avez installé un compilateur C ('de gcc'), mais pas un compilateur C++ (' 'g ++). –
Je programme en C donc je n'ai pas besoin d'un compilateur C++. –