I am very new to arduino, and even newer to the Arduino nano esp32, I am trying to make a Bluetooth gamepad using the ESP32-BLE-Gamepad library. However, every time I upload, I get an error that says :
In file included from /var/run/arduino/directories-user/libraries/NimBLE-Arduino/src/NimBLEDevice.h:21:0,
from /run/arduino/sketches/BluePad_32/BluePad_32.ino:6:
/var/run/arduino/directories-user/libraries/NimBLE-Arduino/src/nimconfig.h:6:10: fatal error: ext_nimble_config.h: No such file or directory #include "ext_nimble_config.h"
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
I don't know what to do
It might be important that I am using the cloud editor
If the black "Console" panel at the bottom of the Cloud Editor page is minimized, click the ˄ icon at the right side of the "Console" toolbar to expand it.
Click the icon in the top right corner of the black "Console" panel at the bottom of the Cloud Editor page that looks like two pieces of paper ("Copy Console Output"):
Open a reply here on this forum topic by clicking the "Reply" button.
Click the <CODE/> icon on the post composer toolbar.
This will add the forum's code block markup (```) to your reply to make sure the compilation output is correctly formatted.
Press the Ctrl+V keyboard shortcut (Command+V for macOS users).
This will paste the compilation output into the code block.
Move the cursor outside of the code block markup before you add any additional text to your reply.
Click the "Reply" button to publish the post.
In case the output is longer than the forum software will allow to be added to a post, you can instead save it to a .txt file and then attach that file to a reply here.
Select the .txt file you saved from the "Open" dialog.
Click the "Open" button.
The dialog will close.
Click the "Reply" button to publish the post.
Alternatively, instead of using the "Upload" icon on the post composer toolbar as described in steps (5) - (7) above, you can simply drag and drop the .txt file onto the post composer field to attach it.
In file included from /var/run/arduino/directories-user/libraries/ESP32-BLE-Gamepad/BleGamepad.h:6:0,
from /run/arduino/sketches/BLE_Test/BLE_Test.ino:29:
/var/run/arduino/directories-user/libraries/NimBLE-Arduino/src/nimconfig.h:6:10: fatal error: ext_nimble_config.h: No such file or directory #include "ext_nimble_config.h"
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Thanks. I was hoping to get some additional information about the problem, but it is not present in that output. So I'm going to ask you to provide the full verbose output from a compilation.
This procedure is not intended to solve the problem. The purpose is to gather more information.
Select the "Verbose output" radio button under the "Console verbosity" section of the "Settings" panel.
Click the ✓ button in the Cloud Editor toolbar.
Wait for the compilation to fail.
If the black "Console" panel at the bottom of the Cloud Editor page is minimized, click the ˄ icon at the right side of the "Console" toolbar to expand it.
Click the icon in the top right corner of the black "Console" panel at the bottom of the Cloud Editor page that looks like two pieces of paper ("Copy Console Output"):
Open a reply here on this forum topic by clicking the "Reply" button.
Click the <CODE/> icon on the post composer toolbar.
This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
Press the Ctrl+V keyboard shortcut (Command+V for macOS users).
This will paste the compilation output into the code block.
Move the cursor outside of the code block markup before you add any additional text to your reply.
Click the "Reply" button to publish the post.
In case the output is longer than the forum software will allow to be added to a post, you can instead save it to a .txt file and then attach that file to a reply here.
Select the .txt file you saved from the "Open" dialog.
Click the "Open" button.
The dialog will close.
Click the "Reply" button to publish the post.
Alternatively, instead of using the "Upload" icon on the post composer toolbar as described in steps (5) - (7) above, you can simply drag and drop the .txt file onto the post composer field to attach it.