エラー #
CMake Error at C:/Users/***/esp/***/esp-idf/tools/cmake/project.cmake:571 (__project):The CMAKE_C_COMPILER:
xtensa-esp32-elf-gcc
is not a full path and was not found in the PATH. Perhaps the extension is
missing?
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.私の場合、似ているエラーが他2個あります。
解決策 #
Path 設定の問題だと思います。
私の開発環境は Windows 11 です。状況によって原因が違う可能性もあります。
私の場合、Windows 環境変数の Path に C:\Users\***\.espressif\tools を追加したら問題が解決できました。
ヒント
*** はユーザーファイルです。tools 前の部分を自身の .espressif パスに変更してください。