Ich habe ein Problem beim Laden von CMake auf CLion. Ich versuche, meine geeignete Umgebung für die Arduino-Programmierung einzurichten.CLion CMake Probleme
Ich vermisse wahrscheinlich etwas Offensichtliches, aber ich konnte keine funktionierende Lösung finden. Kann mir jemand einen Hinweis geben, was die folgenden Fehler verursacht?
Error:The CMAKE_C_COMPILER:
avr-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 "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
Error:The CMAKE_CXX_COMPILER:
avr-g++
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.
Sie haben keinen richtigen C- und C++ - Compiler in Ihrem Pfad, zumindest nicht einen namens avr-gcc und avr-g ++. Installieren Sie sie entweder oder fügen Sie den vollständigen Pfad in den angegebenen Variablen CMAKE_C_COMPILER und CMAKE_CXX_COMPILER hinzu. – usr1234567
Hmm, ich konnte nichts in MinGW namens "avr-gcc" oder "avr-g ++" finden, nur die normalen "gcc" und "g ++". – Xorgon
Setzen Sie dann die Variablen entsprechend. Überprüfen Sie verwandte Fragen und die CMake-Dokumentation. – usr1234567