SOLUTION: MPU9025 library "cstddef: No such file or directory" in Arduino IDE

I came across this problem recently.
I have searched this forum but have not seen any solution.
I stumbled upon this URL where the author of this MPU9025 library (flybrianfly) suggests not using library found in library manager and use the latest from GitHub.
Incompatible with AVR architecture ?.
This is my first post here, so let me know if I am not doing everything correctly.

Do you still have the problem and need advise? Or just stating a fact?

I was the one who raised the issue on github and, just in case you missed it, the solution is there (with not that many words: download the zip from GitHub - bolderflight/invensense-imu: Arduino and CMake library for communicating with the InvenSense MPU-6500, MPU-9250 and MPU-9255 nine-axis IMUs.).

I was just stating a fact. Thanks for expanding my answer and for the posting on GitHub. Another BIG thanks goes to Bryan for posting this excellent library (should he ever see this.)
I must say that I do not completely understood that library. Probably missing something somewhere.
Using the Sketch/Include Library/Bolder Flight Systems Invensense IMU you get
#include <invensense_imu.h> (from library.properties file?) and the InvensenseImu class only gives one access to methods to read and write registers. Plus I have not found any examples using that class.
I use #include "mpu9250.h" and have plenty of examples for using that.

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