Estia-1a / projetGenieInfo_public

This is the main repository for the Estia First Year Computer Science Project
MIT License
1 stars 2 forks source link

The CXX compiler identification is unknown #58

Closed LiseGourvennec closed 2 years ago

LiseGourvennec commented 2 years ago

Bug description

???

Screen shot

Executing command: "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_C_COMPILER:FILEPATH=C:\MinGW\bin\gcc.exe -Sc:/pgi-2022-llbecb -Bc:/pgi-2022-llbecb/build -G "MinGW Makefiles" [cmake] Not searching for unused variables given on the command line. [cmake] -- The CXX compiler identification is unknown [cmake] CMake Error at CMakeLists.txt:2 (project): [cmake]   The CMAKE_CXX_COMPILER: [cmake]  [cmake]     g++.exe [cmake]  [cmake]   is not a full path and was not found in the PATH. [cmake]  [cmake]   Tell CMake where to find the compiler by setting either the environment [cmake]   variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path [cmake]   to the compiler, or to the compiler name if it is in the PATH. [cmake]  [cmake]  [cmake] -- Configuring incomplete, errors occurred!
dhmmasson commented 2 years ago

Can you give more info @LiseGourvennec

WilliamDelamare commented 2 years ago

Make sure you have cmake install (for instance in C:\Program Files\CMake\bin). And make sure this path (C:\Program Files\CMake\bin) is in your environment variables

image