Я только начинаю работать с C ++ и CLion IDE. Я получил эту ошибку после просмотра видео на YouTube, которое показало, как начать работу на CLion. Все, что я сделал, это попытался добавить G CC в CLion в качестве компилятора для C ++. Ничего другого.
У меня G CC версия 7.5.0 (Ubuntu 7.5.0-3ubuntu1 ~ 18.04)
Я программирую только около 3 месяцев на HTML CSS & JS, так что эта ошибка у меня над головой. Любая помощь будет принята с благодарностью!
Ниже моя ошибка и ссылка на скриншот
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:2 (project):
The CMAKE_CXX_COMPILER:
GCC
is not a full path and was not found in the PATH.
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
-- Configuring incomplete, errors occurred!
See also "/home/dominic/CLionProjects/untitled1/cmake-build-debug/CMakeFiles/CMakeOutput.log".
See also "/home/dominic/CLionProjects/untitled1/cmake-build-debug/CMakeFiles/CMakeError.log".
[Failed to reload]
Cmake List ![Screenshot of my ERROR](https://i.stack.imgur.com/2uFLC.png)