Hi Guys,
I am using VS code IDE and working with esp idf 4.2.2. I am able to compile example project using VS code.
I want to get started with ESP MDF. Using the command pallete i have installe ESP MDF in the IDF Tools directory.
After that i am not able to compile the esp mdf example projects.
I am getting the below error on idf.py build.
D:\Workspace_422\get-started>idf.py build
Executing action: all (aliases: build)
Running cmake in directory d:\workspace_422\get-started\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DCCACHE_ENABLE=1 d:\workspace_422\get-started"...
CMake Error at CMakeLists.txt:8 (include):
include could not find load file:
D:/Workspace_422/get-started/../../../project.cmake
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:10 (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:10 (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.
-- Configuring incomplete, errors occurred!
See also "D:/Workspace_422/get-started/build/CMakeFiles/CMakeOutput.log".
See also "D:/Workspace_422/get-started/build/CMakeFiles/CMakeError.log".
cmake failed with exit code 1
Please guide on the same. Any help is appreciated
Unable to compile ESP MDF example projets using VS code
Unable to compile ESP MDF example projets using VS code
Regards
Mustaqim Shaikh
Mustaqim Shaikh
Who is online
Users browsing this forum: No registered users and 38 guests