Problem with MPU6050 lib?

So I was redoing one of my sketches to use the new libs, in particular the MPU6050. I removed my old manually included MPU6050 and I2Cdev libs, and added the cloud IDE libs instead. But now I can’t even get the code to compile.

I even tried copying one of the sample sketches (MPU6050_DMP6.cpp), but I get the same problem.

In file included from MPU6050/MPU6050.cpp:37:0:
MPU6050/MPU6050.h:40:20: fatal error: I2Cdev.h: No such file or directory
#include "I2Cdev.h"
compilation terminated.
make: *** [MPU6050/MPU6050.o] Error 1

If I try adding the I2CDEV lib to my project, I get even more errors. Anybody know what’s up with it?

@dougal, there are issues referencing libraries from libraries. @jgoggins may have more to say on this.

1 Like

Okay. I just copied the files from the libraries back into my own project, and got things working again.

1 Like