I installed esp-idf in eclipse, and I could create a project of esp32 in it, while, when I built it, it shown these:
[Codebox]
Building in: /home/mq/eclipse-workspace/test_ESP32_A1S/build
Configuring in: /home/mq/eclipse-workspace/test_ESP32_A1S/build
cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE=/home/mq/esp/esp-idf/esp-idf-master/tools/cmake/toolchain-esp32s2.cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCCACHE_ENABLE=1 -DIDF_TARGET=esp32s2 /home/mq/eclipse-workspace/test_ESP32_A1S
-- Found Git: /usr/bin/git (found version "2.25.1")
fatal: not a git repository (or any of the parent directories): .git
CMake Warning at /home/mq/esp/esp-idf/esp-idf-master/tools/cmake/project.cmake:282 (message):
enabled ccache in build but ccache program not found
Call Stack (most recent call first):
CMakeLists.txt:6 (project)
-- 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: /home/mq/.espressif/tools/xtensa-esp32s2-elf/esp-2021r1-8.4.0/xtensa-esp32s2-elf/bin/xtensa-esp32s2-elf-gcc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/mq/.espressif/tools/xtensa-esp32s2-elf/esp-2021r1-8.4.0/xtensa-esp32s2-elf/bin/xtensa-esp32s2-elf-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/mq/.espressif/tools/xtensa-esp32s2-elf/esp-2021r1-8.4.0/xtensa-esp32s2-elf/bin/xtensa-esp32s2-elf-g++ - skipped
-- 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 esp32s2
-- Checking Python dependencies...
pkg_resources cannot be imported probably because the pip package is not installed and/or using a legacy Python interpreter. Please refer to the Get Started section of the ESP-IDF Programming Guide for setting up the required packages.
CMake Error at /home/mq/esp/esp-idf/esp-idf-master/tools/cmake/build.cmake:285 (message):
Some Python dependencies must be installed. Check above message for
details.
Call Stack (most recent call first):
/home/mq/esp/esp-idf/esp-idf-master/tools/cmake/build.cmake:414 (__build_check_python)
/home/mq/esp/esp-idf/esp-idf-master/tools/cmake/project.cmake:375 (idf_build_process)
-- Configuring incomplete, errors occurred!
CMakeLists.txt:6 (project)
See also "/home/mq/eclipse-workspace/test_ESP32_A1S/build/CMakeFiles/CMakeOutput.log".
cmake --build . -- -v
ninja: error: loading 'build.ninja': No such file or directory
Build complete (0 errors, 0 warnings): /home/mq/eclipse-workspace/test_ESP32_A1S/build
Total time taken to build the project: 453 ms[/Codebox]
now, I have some improvement, the current error prompts are:
https://ibb.co/SyGG0Xp
How to fix it?
How to fix this error?
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- Hardware
- ESP-IDF
- ESP-BOX
- ESP-ADF
- ESP-MDF
- ESP-WHO
- ESP-SkaiNet
- ESP32 Arduino
- IDEs for ESP-IDF
- ESP-AT
- ESP IoT Solution
- ESP RainMaker
- Rust
- ESP8266
- Report Bugs
- Showcase
- Chinese Forum 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- 全国大学生物联网设计竞赛乐鑫答疑专区
- ESP-IDF 中文讨论版
- 《ESP32-C3 物联网工程开发实战》书籍讨论版
- 中文文档讨论版
- ESP-AT 中文讨论版
- ESP-BOX 中文讨论版
- ESP IoT Solution 中文讨论版
- ESP-ADF 中文讨论版
- ESP Mesh 中文讨论版
- ESP Cloud 中文讨论版
- ESP-WHO 中文讨论版
- ESP-SkaiNet 中文讨论版
- ESP 生产支持讨论版
- 硬件问题讨论
- 项目展示
Who is online
Users browsing this forum: No registered users and 365 guests
- All times are UTC
- Top
- Delete cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. ESP8266EX and ESP32 are some of our products.