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

cstddef: No such file or directory #108

Closed NipunDewthilina closed 2 years ago

NipunDewthilina commented 2 years ago

When I run the I2C program, it gives this error

fatal error: cstddef: No such file or directory

include

      ^~~~~~~~~

How do I solve this? Please help

flybrianfly commented 2 years ago

I suspect that you're trying to use this library on an AVR microcontroller, which is not supported by the current version of this library. You can try using some older versions, which do support AVR.