Page 1 of 1

[SOLVED] ECLIPSE ERROR AT BUILD BUT COMPLETE

Posted: Wed Dec 30, 2020 2:07 pm
by chris007
I get this red lines when I try to build with Eclipse:

Code: Select all

Building in: C:\Users\c\eclipse-workspace\ledc\build
cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE=C:\Users\c\esp-idf\tools\cmake\toolchain-esp32.cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DIDF_TARGET=esp32 C:\Users\co\eclipse-workspace\ledc
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.22.0.windows.1") 
-- The C compiler identification is GNU 8.4.0
-- The CXX compiler identification is GNU 8.4.0
-- The ASM compiler identification is GNU
-- Found assembler: C:/Users/c/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Check for working C compiler: C:/Users/c/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe
-- Check for working C compiler: C:/Users/c/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Users/c/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe
-- Check for working CXX compiler: C:/Users/c/.espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/xtensa-esp32-elf-g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER.
-- Building ESP-IDF components for target esp32
-- Checking Python dependencies...
[b]CMake Error at C:/Users/c/esp-idf/tools/cmake/build.cmake:271 (message):
  Some Python dependencies must be installed.  Check above message for
  details.
Call Stack (most recent call first):
  C:/Users/c/esp-idf/tools/cmake/build.cmake:397 (__build_check_python)
  C:/Users/c/esp-idf/tools/cmake/project.cmake:395 (idf_build_process)
  CMakeLists.txt:6 (project)[/b]


-- Configuring incomplete, errors occurred!
See also "C:/Users/c/eclipse-workspace/ledc/build/CMakeFiles/CMakeOutput.log".
cmake --build . -- -v
ninja: error: loading 'build.ninja': Le fichier spécifié est introuvable.


Build complete (0 errors, 0 warnings): C:\Users\c\eclipse-workspace\ledc\build
It gives some error but say the Build Complete... what's wrong here ?

EDIT:
I have perform the PIP and python dependencies install + have reworked the Eclipse toolchain configuration