bolderflight / invensense-imu

Arduino and CMake library for communicating with the InvenSense MPU-6500, MPU-9250 and MPU-9255 nine-axis IMUs.
MIT License
497 stars 210 forks source link

No such file or directory #include <cstddef> + a few more imports #103

Closed 19valentin99 closed 2 years ago

19valentin99 commented 2 years ago

image

Hello, I am trying to import the library but I find that I get an error and I am not sure why. I tried to have a look into it but I didn't get any useful results. Furthermore I had a look into the source code and I found a few more imports that I am missing and I couldn't find them in the Arduino Manage Librarie, such as

Furthermore, the board that I am using is Arduino Mega 2560. I would be grateful if you could help me to solve this problem.

Thank you very much.

flybrianfly commented 2 years ago

Hi, if you look at the installation instructions, you'll notice that the library is no longer compatible with AVR microprocessors, which is what the Arduino Mega is. You may want to try an older version of the library or a different library.