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