No suc h file or directory found

Hello,

I get this error in Visual Studio Code (Ubuntu) while compile my .ino code.

ble:1:10: fatal error: ble_server.h: No such file or directory
#include "ble_server.h"

I have placed the file "ble_server.h" in my libraries folder and included the path in c_cpp_properties.json.

This is how my c_cpp_properties.json looks:

{
    "configurations": [
        {
            "name": "Linux",
            "includePath": [
                "/home/user/.arduino15/packages/esp32/hardware/esp32/2.0.0/**",
                "/home/user/dev/scripts/Arduino/libraries/ESP32_BLE_Server/**",
                "/home/user/dev/scripts/Arduino/libraries/**",
                "/home/user/.arduino15/packages/esp32/tools/**"
            ],
            "defines": ["USBCON"],
            "compilerPath": "/usr/bin/gcc",
            "cStandard": "c11",
            "cppStandard": "c++17",
            "intelliSenseMode": "linux-gcc-x64"
        }
    ],
    "version": 4
}

Thank you

Your post was MOVED to its current location as it is more suitable

Is it in the libraries folder or is it in a folder named ble_server in the libraries folder ? ?

@UKHeliBob, The file "ble_server.h" exists in:

/home/user/dev/scripts/Arduino/libraries/ESP32_BLE_Server

I mean folder named ESP32_BLE_Server in libraries.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.