Missing Compiler
Posted: Sun Jun 04, 2023 5:31 am
When I try to build a project for the ESP32-S3 dev kit using windows 10 in the expressif cmd I get a missing compiler error. Any suggestions on a fix:
Code: Select all
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DCCACHE_ENABLE=1 C:\Espressif\frameworks\esp-idf-v5.0.2-3"...
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at C:/Espressif/tools/cmake/3.24.0/share/cmake-3.24/Modules/CMakeDetermineASMCompiler.cmake:17 (message):
Could not find compiler set in environment variable ASM:
path\to\compiler\asm.exe.
Call Stack (most recent call first):
CMakeLists.txt:2 (project)
CMake Error: CMAKE_ASM_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "C:/Espressif/frameworks/esp-idf-v5.0.2-3/build/CMakeFiles/CMakeOutput.log".
See also "C:/Espressif/frameworks/esp-idf-v5.0.2-3/build/CMakeFiles/CMakeError.log".
cmake failed with exit code 1, output of the command is in the C:\Espressif\frameworks\esp-idf-v5.0.2-3\build\log\idf_py_stderr_output_31932 and C:\Espressif\frameworks\esp-idf-v5.0.2-3\build\log\idf_py_stdout_output_31932