I’m trying to install the I2Cdev library and having no luck. I have read through several similar queries online, (including this post https://forum.arduino.cc/index.php?topic=546597.0) and tried all the suggestions, but still no luck.
As recommended in the forum post, I downloaded the zip files from GitHub (GitHub - jrowberg/i2cdevlib: I2C device library collection for AVR/Arduino or other C++-based MCUs). I copied just the I2Cdev folder to my arduino sketchbook libraries and the library appears on the contributed libraries list.
However, when I run the sketch that includes the library I get a bunch of errors, including a fatal error for the I2Cdev library…
Arduino: 1.8.10 (Mac OS X), Board: “Arduino Nano, ATmega328P”
Multiple libraries were found for “SPI.h”
Multiple libraries were found for “RF24.h”
Multiple libraries were found for “Wire.h”
Multiple libraries were found for “I2Cdev.h”
In file included from /Users/jessicamardon1/Documents/Arduino/wireless instrument/transmitter-glove-code/transmitter-glove-code.ino:8:0:
/Users/jessicamardon1/Documents/Arduino/libraries/I2CDev/I2Cdev.h:37:10: fatal error: compiler_abstraction.h: No such file or directory
exit status 1
Error compiling for board Arduino Nano.
This report would have more information with
“Show verbose output during compilation”
option enabled in File → Preferences.
Is there some way to fix this?