Skip to content

ble_gap.h no such file #407

@johntaves

Description

@johntaves

In file included from src/main.cpp:12:
.pio/libdeps/esp32dev/esp-nimble-cpp/src/NimBLEDevice.h:32:12: fatal error: nimble/nimble/host/include/host/ble_gap.h: No such file or directory
32 | # include <nimble/nimble/host/include/host/ble_gap.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I'm using VS code and platformio. This error happens with a project that uses espidf framework.

I have another project that uses arduino framework, also VS code and platformio. It compiles and works with the h2zero arduino nimble 1.x version. I figured that maybe the existence of both versions of h2zero nimble was the problem.

I uninstalled the 1.x arduino and installed 2.3.9 for the arduino project, but the espidf project still fails with the above.

I removed the arduino version, but still the espidf project fails with the above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions