Hi there,
I'm trying to install the I2Cdev library and having no luck. I have read through several similar queries online, (including this post Problem using the i2c-dev library while making my gesture controlled robot - Networking, Protocols, and Devices - Arduino Forum) 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"
Used: /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/SPI
Multiple libraries were found for "RF24.h"
Used: /Users/jessicamardon1/Documents/Arduino/libraries/RF24
Multiple libraries were found for "Wire.h"
Used: /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/libraries/Wire
Multiple libraries were found for "I2Cdev.h"
Used: /Users/jessicamardon1/Documents/Arduino/libraries/I2CDev
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
#include "compiler_abstraction.h"
^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
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?
Best
Jess

