espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.46k stars 7.25k forks source link

wifi_prov_mgr build fatal error: nimble/storage_port.h: No such file or directory (IDFGH-13181) #14120

Closed MarkMendelsohn closed 2 months ago

MarkMendelsohn commented 3 months ago

Answers checklist.

IDF version.

5.2.2

Operating System used.

macOS

How did you build your project?

Command line with idf.py

If you are using Windows, please specify command line type.

None

What is the expected behavior?

Clean build of wifi_prov_mgr

What is the actual behavior?

error during build

Steps to reproduce.

  1. . esp-idf/export.sh
  2. cd to examples/provisioning/wifi_prov_mgr
  3. idf.py set-target esp32s3
  4. idf.py build

Build or installation Logs.

/Volumes/Untitled/mpm/esp-idf/components/bt/host/nimble/port/src/nvs_port.c:12:10: fatal error: nimble/storage_port.h: No such file or directory
   12 | #include "nimble/storage_port.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[883/1075] Building C object esp-idf/bt/CMakeFiles/__idf_bt.dir/host/nimble/nimble/porting/nimble/src/os_mbuf.c.obj
ninja: build stopped: subcommand failed.

More Information.

No response

Shreeyash-17 commented 3 months ago

I have followed these steps to build the project. Please ensure you have also completed them:

1 git submodule update --init --recursive 2 ./install.sh 3 . ./export.sh 4 cd examples/provisioning/wifi_prov_mgr/ 5 Removed any existing build directory: rm -rf build 6 idf.py set-target esp32s3 7 idf.py build

1st step is important step here After executing the above steps, no errors have occurred.

Shreeyash-17 commented 3 months ago

hi @MarkMendelsohn

Alvin1Zhang commented 2 months ago

Thanks for reporting, will close due to short of feedback, feel free to reopen with more updates. Thanks.