完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
git describe --tags
v4.4-dev-1594-g1d7068e4b 如下输入 idf.py set-target esp32s2 menuconfig Adding "set-target"'s dependency "fullclean" to list of commands with default set of options. Executing action: fullclean Build directory '/mnt/g/project/LinuxProjectsDir/esp32/esp-dev-kits/esp32-s2-kaluga-1/examples/tago_wifi_s2/build' is empty. Nothing to clean. Executing action: set-target Set Target to: esp32s2, new sdkconfig created. Existing sdkconfig renamed to sdkconfig.old. Running cmake in directory /mnt/g/project/LinuxProjectsDir/esp32/esp-dev-kits/esp32-s2-kaluga-1/examples/tago_wifi_s2/build Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DESP_PLATFORM=1 -DIDF_TARGET=esp32s2 -DIDF_TARGET=esp32s2 -DCCACHE_ENABLE=0 /mnt/g/project/LinuxProjectsDir/esp32/esp-dev-kits/esp32-s2-kaluga-1/examples/tago_wifi_s2"... -- Found Git: /usr/bin/git (found version "2.25.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: /home/inkfish/.espressif/tools/xtensa-esp32s2-elf/esp-2020r3-8.4.0/xtensa-esp32s2-elf/bin/xtensa-esp32s2-elf-gcc -- Check for working C compiler: /home/inkfish/.espressif/tools/xtensa-esp32s2-elf/esp-2020r3-8.4.0/xtensa-esp32s2-elf/bin/xtensa-esp32s2-elf-gcc -- Check for working C compiler: /home/inkfish/.espressif/tools/xtensa-esp32s2-elf/esp-2020r3-8.4.0/xtensa-esp32s2-elf/bin/xtensa-esp32s2-elf-gcc -- 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: /home/inkfish/.espressif/tools/xtensa-esp32s2-elf/esp-2020r3-8.4.0/xtensa-esp32s2-elf/bin/xtensa-esp32s2-elf-g++ -- Check for working CXX compiler: /home/inkfish/.espressif/tools/xtensa-esp32s2-elf/esp-2020r3-8.4.0/xtensa-esp32s2-elf/bin/xtensa-esp32s2-elf-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Building ESP-IDF components for target esp32s2 -- Project sdkconfig file /mnt/g/project/LinuxProjectsDir/esp32/esp-dev-kits/esp32-s2-kaluga-1/examples/tago_wifi_s2/sdkconfig Loading defaults file /mnt/g/project/LinuxProjectsDir/esp32/esp-dev-kits/esp32-s2-kaluga-1/examples/tago_wifi_s2/sdkconfig.defaults... /mnt/g/project/LinuxProjectsDir/esp32/esp-dev-kits/esp32-s2-kaluga-1/examples/tago_wifi_s2/sdkconfig.defaults:237 CONFIG_ESP32S2_MEMPROT_FEATURE was replaced with CONFIG_ESP_SYSTEM_MEMPROT_FEATURE /mnt/g/project/LinuxProjectsDir/esp32/esp-dev-kits/esp32-s2-kaluga-1/examples/tago_wifi_s2/sdkconfig.defaults:238 CONFIG_ESP32S2_MEMPROT_FEATURE_LOCK was replaced with CONFIG_ESP_SYSTEM_MEMPROT_FEATURE_LOCK /mnt/g/project/LinuxProjectsDir/esp32/esp-dev-kits/esp32-s2-kaluga-1/examples/tago_wifi_s2/sdkconfig.defaults:435 CONFIG_ESP32_ENABLE_COREDUMP_TO_NONE was replaced with CONFIG_ESP_COREDUMP_ENABLE_TO_NONE -- Found PythonInterp: /home/inkfish/.espressif/python_env/idf4.4_py3.8_env/bin/python (found version "3.8.5") -- Found Perl: /usr/bin/perl (found version "5.30.0") -- App "app_main" version: a335f49-dirty -- Adding linker script /mnt/g/project/LinuxProjectsDir/esp32/esp-idf/components/esp_rom/esp32s2/ld/esp32s2.rom.ld -- Adding linker script /mnt/g/project/LinuxProjectsDir/esp32/esp-idf/components/esp_rom/esp32s2/ld/esp32s2.rom.api.ld -- Adding linker script /mnt/g/project/LinuxProjectsDir/esp32/esp-idf/components/esp_rom/esp32s2/ld/esp32s2.rom.libgcc.ld -- Adding linker script /mnt/g/project/LinuxProjectsDir/esp32/esp-idf/components/esp_rom/esp32s2/ld/esp32s2.rom.newlib-funcs.ld -- Adding linker script /mnt/g/project/LinuxProjectsDir/esp32/esp-idf/components/esp_rom/esp32s2/ld/esp32s2.rom.newlib-data.ld -- Adding linker script /mnt/g/project/LinuxProjectsDir/esp32/esp-idf/components/esp_rom/esp32s2/ld/esp32s2.rom.spiflash.ld -- Adding linker script /mnt/g/project/LinuxProjectsDir/esp32/esp-dev-kits/esp32-s2-kaluga-1/examples/tago_wifi_s2/build/esp-idf/esp32s2/esp32s2_out.ld -- Adding linker script /mnt/g/project/LinuxProjectsDir/esp32/esp-idf/components/esp32s2/ld/esp32s2.project.ld.in -- Adding linker script /mnt/g/project/LinuxProjectsDir/esp32/esp-idf/components/esp32s2/ld/esp32s2.peripherals.ld CMake Error at /mnt/g/project/LinuxProjectsDir/esp32/esp-idf/tools/cmake/component.cmake:305 (message): Include directory '/mnt/g/project/LinuxProjectsDir/esp32/esp-idf/components/nghttp/nghttp2/third-party/http-parser' is not a directory. Call Stack (most recent call first): /mnt/g/project/LinuxProjectsDir/esp32/esp-idf/tools/cmake/component.cmake:477 (__component_add_include_dirs) /mnt/g/project/LinuxProjectsDir/esp32/esp-idf/tools/cmake/component.cmake:538 (idf_component_register) main/CMakeLists.txt:23 (register_component) -- Configuring incomplete, errors occurred! See also "/mnt/g/project/LinuxProjectsDir/esp32/esp-dev-kits/esp32-s2-kaluga-1/examples/tago_wifi_s2/build/CMakeFiles/CMakeOutput.log". cmake failed with exit code 1 请问怎么解决 |
|
相关推荐
1个回答
|
|
看起来您在使用ESP-IDF构建系统时遇到了一些问题。以下是一些建议来解决这个问题:
1. 确保您的ESP-IDF版本是最新的。您可以使用以下命令来克隆或更新ESP-IDF: ``` git clone https://github.com/espressif/esp-idf.git cd esp-idf git checkout master git pull ``` 2. 确保您的ESP-IDF环境变量已正确设置。在Linux和MacOS上,您可以在`~/.bashrc`或`~/.zshrc`文件中添加以下行: ``` export PATH="$HOME/esp/esp-idf/tools/idf.py:$PATH" ``` 然后,运行以下命令使更改生效: ``` source ~/.bashrc ``` 或者,如果您使用的是zsh: ``` source ~/.zshrc ``` 3. 确保您的ESP-IDF依赖项已正确安装。您可以使用以下命令来安装依赖项: ``` cd ~/esp/esp-idf ./install.sh ``` 4. 确保您的项目目录结构正确。通常,您的项目应该包含以下结构: ``` project/ ├── components/ ├── main/ │ ├── Kconfig.projbuild │ ├── Makefile.projbuild │ └── src/ ├── sdkconfig └── sdkconfig.defaults ``` 5. 在项目目录中,运行以下命令来设置目标和配置: ``` cd /path/to/your/project idf.py set-target esp32s2 idf.py menuconfig ``` 6. 如果问题仍然存在,请尝试清理构建目录并重新构建项目: ``` idf.py fullclean idf.py build ``` 希望这些建议能帮助您解决问题。如果问题仍然存在,请提供更多详细信息,以便我们能够更好地帮助您。 |
|
|
|
只有小组成员才能发言,加入小组>>
406浏览 6评论
338浏览 5评论
有没有办法在不使用混杂模式的情况下实现Wifi驱动程序接收缓冲区访问中断呢?
321浏览 5评论
322浏览 4评论
309浏览 4评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-8-16 08:19 , Processed in 0.794688 second(s), Total 77, Slave 61 queries .
Powered by 电子发烧友网
© 2015 www.ws-dc.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号