-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error Verifying The Code In Arduino Cloud IDE #125
Comments
You would need to copy and paste the entire error output, I'm not seeing any errors here. |
Arduino Version: 2.3.3 It gives the following error. Your old library does not give this error, it works. The link is here.. `In file included from C:\Users\rizac\AppData\Local\Temp.arduinoIDE-unsaved20241014-14024-1f13syh.09la\i2c\i2c.ino:26:0: Compilation error: exit status 1` |
The newer versions of the library include cstddef, but use include guards so it shouldn't be used in an Arduino build: #include "mpu9250.h" // NOLINT
#if defined(ARDUINO)
#include <Arduino.h>
#include "Wire.h"
#include "SPI.h"
#else
#include <cstddef>
#include <cstdint>
#include <algorithm>
#include "core/core.h"
#endif Maybe the Arduino Cloud IDE isn't including |
When we install the library with Arduino IDE, the coding in the mpu9250.h file is as follows. When I look at the repository, the mpu9250.h coding is in the format you provided. Where does Arduino IDE download your library codes from? What is the reason for this difference?
When I download the library from the repository and upload it to the Arduino IDE as a zip file, it works without any problems. |
I get an error about dependencies and how there are multiple of them when i try to verify the code in Arduino Cloud IDE. Pic below:
Could you please help me? I'm new to Arduino and i need this for a project.
The text was updated successfully, but these errors were encountered: