I'm just starting to "play" with esp32 so don't beat me up for a beginner's question.
I'm having trouble compiling a simple "hello world.
What I've done: installed the latest Python and Git for Windows. From https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/windows-setup.html I downloaded the latest installer: esp-idf-tools-setup-2.3.exe, during the installation I selected esp-idf v4, manually added the location to cmake to the PATH (the installer didn't do it).
Trying to compile (idf.py menuconfig) "hello_world" with "esp-idf\examples\get-started\hello_world" gives an error as below:
.
Any ideas what is wrong?
I'm having trouble compiling a simple "hello world.
What I've done: installed the latest Python and Git for Windows. From https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/windows-setup.html I downloaded the latest installer: esp-idf-tools-setup-2.3.exe, during the installation I selected esp-idf v4, manually added the location to cmake to the PATH (the installer didn't do it).
Trying to compile (idf.py menuconfig) "hello_world" with "esp-idf\examples\get-started\hello_world" gives an error as below:
Warn about uninitialized values.
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.25.1.windows.1")
-- IDF_TARGET not set, using default target: esp32
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.2.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/Users/mkm/.espressif/tools/xtensa-esp32-elf/esp-2020r1-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Check for working C compiler: C:/Users/mkm/.espressif/tools/xtensa-esp32-elf/esp-2020r1-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Check for working C compiler: C:/Users/mkm/.espressif/tools/xtensa-esp32-elf/esp-2020r1-8.2.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- broken
-- Configuring incomplete, errors occurred!
See also "C:/esp32/mkm/eclipse-workspace/hello_world/build/CMakeFiles/CMakeOutput.log".
See also "C:/esp32/mkm/eclipse-workspace/hello_world/build/CMakeFiles/CMakeError.log".
Executing action: menuconfig
Running cmake in directory c:\esp32\mkm\eclipse-workspace\hello_world\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 --warn-uninitialized -DCCACHE_ENABLE=0 c:\esp32\mkm\eclipse-workspace\hello_world"...
cmake failed with exit code 1
Any ideas what is wrong?