ash119 Posted February 18, 2016 Report Share Posted February 18, 2016 I receive the following error when trying to compile code: In file included from C:\Users\Alex\Documents\Arduino\libraries\MPU6050\Examples\MPU6050_DMP6\MPU6050_DMP6.ino:54:0: C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\Wire/Wire.h:94:16: error: conflicting declaration 'TwoWire Wire' extern TwoWire Wire; ^ In file included from C:\Users\Alex\Documents\Arduino\libraries\I2Cdev/I2Cdev.h:83:0, from C:\Users\Alex\Documents\Arduino\libraries\MPU6050\Examples\MPU6050_DMP6\MPU6050_DMP6.ino:46: C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\i2c_t3/i2c_t3.h:803:15: error: 'Wire' has a previous declaration as 'i2c_t3 Wire' extern i2c_t3 Wire; ^ exit status 1 Error compiling. Any advice? Anyone seen this before? For some reason, the only code I CAN successfully compile is MPU6050_raw.ino. Thanks! Quote Link to comment Share on other sites More sharing options...
ash119 Posted February 18, 2016 Author Report Share Posted February 18, 2016 Also, just to clarify, I'm running code like the DMP code or the code found on this page: https://teksab.wordpress.com/tag/teensy-3-x/ Sorry for not mentioning that above! Quote Link to comment Share on other sites More sharing options...
AZots Posted September 17, 2016 Report Share Posted September 17, 2016 Check your libraries, read its content by yourself. If it's downloaded incorrectly, it can be simply html code Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.