0
CMake를 CLion에로드 할 때 문제가 있습니다. Arduino 프로그래밍을위한 적절한 환경을 설정하려고합니다.CLion CMake 문제
나는 분명히 뭔가 빠졌지 만, 이에 대한 기능적 해결책을 찾지 못했습니다. 아무도 나에게 다음과 같은 오류를 일으키는 것에 대한 힌트를 줄 수 있습니까?
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.
경로에 적절한 C 및 C++ 컴파일러가 없습니다. 적어도 avr-gcc 및 avr-g ++라고하는 컴파일러는 없습니다. 특정 변수를 설치하거나 CMAKE_C_COMPILER 및 CMAKE_CXX_COMPILER에 전체 경로를 추가하십시오. – usr1234567
흠, MinGW에서 "avr-gcc"또는 "avr-g ++"라고하는 일반적인 gcc와 g ++ 만 찾을 수 없습니다. – Xorgon
그런 다음 변수를 설정하십시오. 관련 질문 및 CMake 문서를 확인하십시오. – usr1234567