C:\Users\LTrueman\Desktop\esp-idf>idf.py build
Checking Python dependencies...
Python requirements from C:\Users\LTrueman\Desktop\esp-idf\requirements.txt are satisfied.
Executing action: all (aliases: build)
Running cmake in directory c:\users\ltrueman\desktop\esp-idf\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 --warn-uninitialized -DCCACHE_ENABLE=0 c:\users\ltrueman\desktop\esp-idf"...
Warn about uninitialized values.
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- The ASM compiler identification is unknown
-- Didn't find assembler
CMake Error at CMakeLists.txt:2 (project):
No CMAKE_C_COMPILER could be found.
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.
CMake Error at CMakeLists.txt:2 (project):
No CMAKE_CXX_COMPILER could be found.
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.
CMake Error at CMakeLists.txt:2 (project):
No CMAKE_ASM_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "ASM" or the CMake cache entry CMAKE_ASM_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
-- Warning: Did not find file Compiler/-ASM
-- Configuring incomplete, errors occurred!
See also "C:/Users/LTrueman/Desktop/esp-idf/build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/LTrueman/Desktop/esp-idf/build/CMakeFiles/CMakeError.log".
cmake failed with exit code 1
C:\Users\LTrueman\Desktop\esp-idf>
Build idf.py build issue
Re: Build idf.py build issue
Code: Select all
C:\Users\LTrueman\Desktop\esp-idf>
Re: Build idf.py build issue
Where is the projects folder ?
Re: Build idf.py build issue
There are a bunch of example projects in esp-idf/examples. I suggest you chose one of the projects in get-started.
Re: Build idf.py build issue
right got it, thanks
Re: Build idf.py build issue
Has anyone found a solution for this yet?
idf.py build always says
[cmake] -- The C compiler identification is unknown
[cmake] -- The CXX compiler identification is unknown
[cmake] -- The ASM compiler identification is unknown
idf.py build always says
[cmake] -- The C compiler identification is unknown
[cmake] -- The CXX compiler identification is unknown
[cmake] -- The ASM compiler identification is unknown
Re: Build idf.py build issue
The solution stated above should work, make sure that you are in your the base directory of your project. export ESP-IDF to path by running export.bat in the esp-idf directory, for windows user:
Code: Select all
D:\MyProjects\ESP-IDF\Blink>C:\Users\username\esp\esp-idf\export.bat
Who is online
Users browsing this forum: Baidu [Spider] and 74 guests