I just got my Pittle and after installing all the nesesary drives I tried to compile WriteInstinct.ino the IDE gives an error that says "Error compiling for board Arduino Uno."
Something is wrong with the content of MPU6050 library folder (C:\Users\SOL_K\Documents\Arduino\libraries\MPU6050). It should contain those files:
Seems like you have there something else. Can you remove the folder and carefully add it one more time? Here is the steps in 4.2.2: https://bittle.petoi.com/4-configuration
Just to clarify, after completing instruction 4.2.2 you should have MPU6050 folder as above and the \Arduino\libraries\I2Cdev folder like this:
Try this and then we can tackle connectivity issue
Thank you @Dobromir. That fixed the compile problem, I had to delete the directories for the two libraries I had already installed, after installing from your link it worked. Now I just have the problem of the Arduino IDE not seeing the Bittle port. After work I will try using the Bluetooth board to connect to Bittle.
@Ben Good news! To check if you have proper drivers for the board please see in Device Manager. See if you get anything like CH340 when you connect USB cable with programmer attached (programmer to Bittle connection not required)
You need to remove previously installed I2Cdev library. Ideally, you could remove all the libraries under Documents/Arduino/libraries and reinstall the libraries used by OpenCat.
Hi Dobromir, I did what you suggested and it still fails to compile.
Here are is a screenshot of the new directory:
and here is a shot of the IDE showing port grayed out when the Bittle is plugged in:
here is a picture of Bittle plugged in: Bittle does make a buzzing noise a few seconds after its plugged in (not sure if bad board?)
This is the error message after the directory move:
Arduino: 1.8.13 (Windows Store 1.8.42.0) (Windows 10), Board: "Arduino Uno"
In file included from C:\Users\SOL_K\Documents\Arduino\OpenCat\WriteInstinct\WriteInstinct.ino:31:0:
sketch\OpenCat.h: In member function 'void Motion::loadDataFromI2cEeprom(unsigned int&)':
sketch\OpenCat.h:559:51: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
Wire.requestFrom(DEVICE_ADDRESS, skillHeader);
^
In file included from sketch\OpenCat.h:85:0,
from C:\Users\SOL_K\Documents\Arduino\OpenCat\WriteInstinct\WriteInstinct.ino:31:
In file included from C:\Users\SOL_K\Documents\Arduino\OpenCat\WriteInstinct\WriteInstinct.ino:31:0:
sketch\OpenCat.h: At global scope:
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-9.0e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
};
^
sketch\OpenCat.h:753:1: warning: narrowing conversion of '2.25e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-9.0e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '2.25e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-9.0e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-2.25e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-9.0e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-2.25e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
C:\Users\SOL_K\Documents\Arduino\OpenCat\WriteInstinct\WriteInstinct.ino: In function 'void setup()':
C:\Users\SOL_K\Documents\Arduino\OpenCat\WriteInstinct\WriteInstinct.ino:254:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
motion.loadBySkillName("rest");
^
C:\Users\SOL_K\Documents\Arduino\OpenCat\WriteInstinct\WriteInstinct.ino: In function 'void loop()':
C:\Users\SOL_K\Documents\Arduino\OpenCat\WriteInstinct\WriteInstinct.ino:361:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
skillByName("rest");
^
C:\Users\SOL_K\Documents\Arduino\OpenCat\WriteInstinct\WriteInstinct.ino:400:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
motion.loadBySkillName("calib");
^
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::I2Cdev()'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::I2Cdev()'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
Its a huge error list... I also notice that my arduino IDE does not see the port when the Bittle is plugged in.
Here is the error:Arduino: 1.8.13 (Windows 10), Board: "Arduino Uno"
In file included from D:\pittle\OpenCat-main\OpenCat-main\WriteInstinct\WriteInstinct.ino:31:0:
sketch\OpenCat.h: In member function 'void Motion::loadDataFromI2cEeprom(unsigned int&)':
sketch\OpenCat.h:559:51: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
Wire.requestFrom(DEVICE_ADDRESS, skillHeader);
^
In file included from sketch\OpenCat.h:85:0,
from D:\pittle\OpenCat-main\OpenCat-main\WriteInstinct\WriteInstinct.ino:31:
In file included from D:\pittle\OpenCat-main\OpenCat-main\WriteInstinct\WriteInstinct.ino:31:0:
sketch\OpenCat.h: At global scope:
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-9.0e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
};
^
sketch\OpenCat.h:753:1: warning: narrowing conversion of '2.25e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-9.0e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '2.25e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-9.0e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-2.25e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-9.0e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-2.25e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
D:\pittle\OpenCat-main\OpenCat-main\WriteInstinct\WriteInstinct.ino: In function 'void setup()':
D:\pittle\OpenCat-main\OpenCat-main\WriteInstinct\WriteInstinct.ino:254:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
motion.loadBySkillName("rest");
^
D:\pittle\OpenCat-main\OpenCat-main\WriteInstinct\WriteInstinct.ino: In function 'void loop()':
D:\pittle\OpenCat-main\OpenCat-main\WriteInstinct\WriteInstinct.ino:361:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
skillByName("rest");
^
D:\pittle\OpenCat-main\OpenCat-main\WriteInstinct\WriteInstinct.ino:400:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
motion.loadBySkillName("calib");
^
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::I2Cdev()'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::I2Cdev()'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
@Ben PartiSi put your OpenCat folder inside arduino folder (C:\Users\SOL_K\Documents\Arduino) and rename the folder from "OpenCat-main" to "OpenCat". You want to have a situation similar as below:
What do you mean by arduino IDE does not see the port? When you connect USB do you have this?
@Ben PartiSi there may be few reasons for this usually caused by not following instructions 😈. Can you paste the error like RZ is suggesting? WriteInstinct is the base of Bittle and Nybble and without it you will not be able to run OpenCat
Hi @Ben so let's do it step by step.
Something is wrong with the content of MPU6050 library folder (C:\Users\SOL_K\Documents\Arduino\libraries\MPU6050). It should contain those files:
Seems like you have there something else. Can you remove the folder and carefully add it one more time? Here is the steps in 4.2.2: https://bittle.petoi.com/4-configuration
Just to clarify, after completing instruction 4.2.2 you should have MPU6050 folder as above and the \Arduino\libraries\I2Cdev folder like this:
Try this and then we can tackle connectivity issue
You need to remove previously installed I2Cdev library. Ideally, you could remove all the libraries under Documents/Arduino/libraries and reinstall the libraries used by OpenCat.
Hi Dobromir, I did what you suggested and it still fails to compile.
Here are is a screenshot of the new directory:
and here is a shot of the IDE showing port grayed out when the Bittle is plugged in:
here is a picture of Bittle plugged in: Bittle does make a buzzing noise a few seconds after its plugged in (not sure if bad board?)
This is the error message after the directory move:
Arduino: 1.8.13 (Windows Store 1.8.42.0) (Windows 10), Board: "Arduino Uno"
In file included from C:\Users\SOL_K\Documents\Arduino\OpenCat\WriteInstinct\WriteInstinct.ino:31:0:
sketch\OpenCat.h: In member function 'void Motion::loadDataFromI2cEeprom(unsigned int&)':
sketch\OpenCat.h:559:51: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
Wire.requestFrom(DEVICE_ADDRESS, skillHeader);
^
In file included from sketch\OpenCat.h:85:0,
from C:\Users\SOL_K\Documents\Arduino\OpenCat\WriteInstinct\WriteInstinct.ino:31:
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\Wire\src/Wire.h:68:13: note: candidate 1: uint8_t TwoWire::requestFrom(int, int)
uint8_t requestFrom(int, int);
^~~~~~~~~~~
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\Wire\src/Wire.h:65:13: note: candidate 2: uint8_t TwoWire::requestFrom(uint8_t, uint8_t)
uint8_t requestFrom(uint8_t, uint8_t);
^~~~~~~~~~~
In file included from C:\Users\SOL_K\Documents\Arduino\OpenCat\WriteInstinct\WriteInstinct.ino:31:0:
sketch\OpenCat.h: At global scope:
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-9.0e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
};
^
sketch\OpenCat.h:753:1: warning: narrowing conversion of '2.25e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-9.0e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '2.25e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-9.0e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-2.25e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-9.0e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-2.25e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
C:\Users\SOL_K\Documents\Arduino\OpenCat\WriteInstinct\WriteInstinct.ino: In function 'void setup()':
C:\Users\SOL_K\Documents\Arduino\OpenCat\WriteInstinct\WriteInstinct.ino:254:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
motion.loadBySkillName("rest");
^
C:\Users\SOL_K\Documents\Arduino\OpenCat\WriteInstinct\WriteInstinct.ino: In function 'void loop()':
C:\Users\SOL_K\Documents\Arduino\OpenCat\WriteInstinct\WriteInstinct.ino:361:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
skillByName("rest");
^
C:\Users\SOL_K\Documents\Arduino\OpenCat\WriteInstinct\WriteInstinct.ino:400:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
motion.loadBySkillName("calib");
^
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::I2Cdev()'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::I2Cdev()'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::writeBytes(unsigned char, unsigned char, unsigned char, unsigned char*)'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::writeByte(unsigned char, unsigned char, unsigned char)'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::writeWords(unsigned char, unsigned char, unsigned char, unsigned int*)'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::writeWord(unsigned char, unsigned char, unsigned int)'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readBytes(unsigned char, unsigned char, unsigned char, unsigned char*, unsigned int)'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readByte(unsigned char, unsigned char, unsigned char*, unsigned int)'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readBit(unsigned char, unsigned char, unsigned char, unsigned char*, unsigned int)'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readBits(unsigned char, unsigned char, unsigned char, unsigned char, unsigned char*, unsigned int)'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::writeBit(unsigned char, unsigned char, unsigned char, unsigned char)'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readTimeout'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::writeBits(unsigned char, unsigned char, unsigned char, unsigned char, unsigned char)'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readWords(unsigned char, unsigned char, unsigned char, unsigned int*, unsigned int)'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readWord(unsigned char, unsigned char, unsigned int*, unsigned int)'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readBitW(unsigned char, unsigned char, unsigned char, unsigned int*, unsigned int)'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readBitsW(unsigned char, unsigned char, unsigned char, unsigned char, unsigned int*, unsigned int)'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::writeBitW(unsigned char, unsigned char, unsigned char, unsigned int)'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::writeBitsW(unsigned char, unsigned char, unsigned char, unsigned char, unsigned int)'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
Multiple libraries were found for "I2Cdev.h"
Used: C:\Users\SOL_K\Documents\Arduino\libraries\I2Cdev
Not used: C:\Users\SOL_K\Documents\Arduino\libraries\MPU6050
exit status 1
Error compiling for board Arduino Uno.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Its a huge error list... I also notice that my arduino IDE does not see the port when the Bittle is plugged in.
Here is the error: Arduino: 1.8.13 (Windows 10), Board: "Arduino Uno"
In file included from D:\pittle\OpenCat-main\OpenCat-main\WriteInstinct\WriteInstinct.ino:31:0:
sketch\OpenCat.h: In member function 'void Motion::loadDataFromI2cEeprom(unsigned int&)':
sketch\OpenCat.h:559:51: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
Wire.requestFrom(DEVICE_ADDRESS, skillHeader);
^
In file included from sketch\OpenCat.h:85:0,
from D:\pittle\OpenCat-main\OpenCat-main\WriteInstinct\WriteInstinct.ino:31:
D:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src/Wire.h:68:13: note: candidate 1: uint8_t TwoWire::requestFrom(int, int)
uint8_t requestFrom(int, int);
^~~~~~~~~~~
D:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire\src/Wire.h:65:13: note: candidate 2: uint8_t TwoWire::requestFrom(uint8_t, uint8_t)
uint8_t requestFrom(uint8_t, uint8_t);
^~~~~~~~~~~
In file included from D:\pittle\OpenCat-main\OpenCat-main\WriteInstinct\WriteInstinct.ino:31:0:
sketch\OpenCat.h: At global scope:
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-9.0e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
};
^
sketch\OpenCat.h:753:1: warning: narrowing conversion of '2.25e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-9.0e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '2.25e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-9.0e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-2.25e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-9.0e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
sketch\OpenCat.h:753:1: warning: narrowing conversion of '-2.25e+1' from 'double' to 'int8_t {aka signed char}' inside { } [-Wnarrowing]
D:\pittle\OpenCat-main\OpenCat-main\WriteInstinct\WriteInstinct.ino: In function 'void setup()':
D:\pittle\OpenCat-main\OpenCat-main\WriteInstinct\WriteInstinct.ino:254:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
motion.loadBySkillName("rest");
^
D:\pittle\OpenCat-main\OpenCat-main\WriteInstinct\WriteInstinct.ino: In function 'void loop()':
D:\pittle\OpenCat-main\OpenCat-main\WriteInstinct\WriteInstinct.ino:361:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
skillByName("rest");
^
D:\pittle\OpenCat-main\OpenCat-main\WriteInstinct\WriteInstinct.ino:400:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
motion.loadBySkillName("calib");
^
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::I2Cdev()'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::I2Cdev()'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::writeBytes(unsigned char, unsigned char, unsigned char, unsigned char*)'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::writeByte(unsigned char, unsigned char, unsigned char)'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::writeWords(unsigned char, unsigned char, unsigned char, unsigned int*)'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::writeWord(unsigned char, unsigned char, unsigned int)'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readBytes(unsigned char, unsigned char, unsigned char, unsigned char*, unsigned int)'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readByte(unsigned char, unsigned char, unsigned char*, unsigned int)'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readBit(unsigned char, unsigned char, unsigned char, unsigned char*, unsigned int)'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readBits(unsigned char, unsigned char, unsigned char, unsigned char, unsigned char*, unsigned int)'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::writeBit(unsigned char, unsigned char, unsigned char, unsigned char)'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readTimeout'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::writeBits(unsigned char, unsigned char, unsigned char, unsigned char, unsigned char)'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readWords(unsigned char, unsigned char, unsigned char, unsigned int*, unsigned int)'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readWord(unsigned char, unsigned char, unsigned int*, unsigned int)'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readBitW(unsigned char, unsigned char, unsigned char, unsigned int*, unsigned int)'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::readBitsW(unsigned char, unsigned char, unsigned char, unsigned char, unsigned int*, unsigned int)'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::writeBitW(unsigned char, unsigned char, unsigned char, unsigned int)'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\MPU6050\I2Cdev.cpp.o (symbol from plugin): In function `I2Cdev::I2Cdev()':
(.text+0x0): multiple definition of `I2Cdev::writeBitsW(unsigned char, unsigned char, unsigned char, unsigned char, unsigned int)'
libraries\I2Cdev\I2Cdev.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
Multiple libraries were found for "I2Cdev.h"
Used: C:\Users\SOL_K\Documents\Arduino\libraries\I2Cdev
Not used: C:\Users\SOL_K\Documents\Arduino\libraries\MPU6050
exit status 1
Error compiling for board Arduino Uno.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
@Ben PartiSi there may be few reasons for this usually caused by not following instructions 😈. Can you paste the error like RZ is suggesting? WriteInstinct is the base of Bittle and Nybble and without it you will not be able to run OpenCat
It is Arduino Uno. Do you have more detailed compiling error to share? Please copy all the message in the console.