Problem using the i2c-dev library while making my gesture controlled robot

GitHub - jrowberg/i2cdevlib: I2C device library collection for AVR/Arduino or other C++-based MCUs is a collection of many different libraries for multiple platforms. Unfortunately this makes it a bit less likely to install for use with the Arduino IDE. You can't just drop the whole repository into your libraries folder, as you have done. Libraries must be installed directly under This is the cause of the "No such file or directory" error and also the "Invalid library found" warning.

Do this:
Move C:\Program Files\Arduino\libraries\i2cdevlib-master\Arduino\I2Cdev to {sketchbook folder}\libraries. You can find\set the location of {sketchbook folder} in the Arduino IDE at File > Preferences > Sketchbook location.

Do the same for any other libraries from the i2cdevlib project you want to use with the Arduino IDE.

You should never install any library to C:\Program Files\Arduino\libraries because everything installed to that location will be lost whenever you update to a new version of the Arduino IDE. That will not happen to libraries installed to your sketchbook folder.

If you want to fix the "Invalid library found" warning then you must either move C:\Program Files\Arduino\libraries\i2cdevlib-master\Arduino\I2Cdev somewhere else or else delete it.