neskweek / LightSaberOS

Operating System for Arduino based LightSaber
Creative Commons Zero v1.0 Universal
80 stars 25 forks source link

Erreur compilation Arduino/ Uno #65

Open Tam-Koowan opened 7 years ago

Tam-Koowan commented 7 years ago

J'essai de téléverser sur une CArte Adruino Uno mais j'ai cette erreur : C:\Users\Chris\Documents\Arduino\libraries\LightSaberOS-LSOS-1.5_GravityColorBlend\LightSaberOS\LightSaberOS\LightSaberOS\LightSaberOS.ino:22:24: fatal error: DFPlayer.h: No such file or directory

include

                    ^

compilation terminated.

exit status 1 Erreur de compilation pour la carte Arduino/Genuino Uno

Pouvez-vous m'aider ?

Merci

Tam-Koowan commented 7 years ago

J'ai suivi le tuto à la lettre mais rien à faire !!!

azsde commented 7 years ago

As-tu copié la librarie DFPlayer dans ton dossier libraries de ton environnement Arduino ?

Tam-Koowan commented 7 years ago

Oui j'ai mis le dossier Librarie dans mon Dossier Arduino/librairie... Mais ça marche pas :( J'ai même mise le dossier complet dans mon dossier arduino, mais toujours le même problème !

Tam-Koowan commented 7 years ago

After several modifications I have no blatant mistake of the blow I do not understand the problem ... Can you help me ? I have an arduino Nano V3 for this achievement. Here is the error report:

Arduino : 1.6.11 (Windows 7), Carte : "Arduino Nano, ATmega328"

In file included from C:\Program Files (x86)\Arduino\libraries\LightSaberOS\LightSaberOS.ino:37:0:

sketch\Config.h:263:9: warning: extra tokens at end of #else directive

else if DIYINO_STARDUST

     ^

sketch\Config.h:274:7: warning: extra tokens at end of #else directive

else if DIYINO_STARDUST

   ^

sketch\Config.h:332:7: warning: extra tokens at end of #else directive

else if DIYINO_STARDUST

   ^

C:\Program Files (x86)\Arduino\libraries\LightSaberOS\LightSaberOS.ino:1035:13: warning: extra tokens at end of #else directive

   #else if STAR_LED

         ^

In file included from C:\Program Files (x86)\Arduino\libraries\LightSaberOS\LightSaberOS.ino:33:0:

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS/LinkedList.h: In instantiation of 'LinkedList::LinkedList() [with T = unsigned int]':

sketch\SoundFont.h:30:14: required from here

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS/LinkedList.h:101:6: warning: converting 'false' to pointer type 'ListNode*' [-Wconversion-null]

root=false;

  ^

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS/LinkedList.h:102:6: warning: converting 'false' to pointer type 'ListNode*' [-Wconversion-null]

last=false;

  ^

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS/LinkedList.h: In instantiation of 'LinkedList::~LinkedList() [with T = unsigned int]':

sketch\SoundFont.h:30:14: required from here

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS/LinkedList.h:121:7: warning: converting 'false' to pointer type 'ListNode*' [-Wconversion-null]

last = false;

   ^

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS/LinkedList.h: In instantiation of 'bool LinkedList::add(T) [with T = unsigned int]':

sketch\SoundFont.h:352:15: required from here

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS/LinkedList.h:192:12: warning: converting 'false' to pointer type 'ListNode*' [-Wconversion-null]

tmp->next = false;

        ^

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS/LinkedList.h: In instantiation of 'T LinkedList::pop() [with T = unsigned int]':

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS/LinkedList.h:279:14: required from 'T LinkedList::shift() [with T = unsigned int]'

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS/LinkedList.h:320:9: required from 'void LinkedList::clear() [with T = unsigned int]'

sketch\SoundFont.h:246:22: required from here

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS/LinkedList.h:248:13: warning: converting 'false' to pointer type 'ListNode*' [-Wconversion-null]

tmp->next = false;

         ^

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS/LinkedList.h:256:8: warning: converting 'false' to pointer type 'ListNode*' [-Wconversion-null]

root = false;

    ^

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS/LinkedList.h:257:8: warning: converting 'false' to pointer type 'ListNode*' [-Wconversion-null]

last = false;

    ^

libraries\LightSaberOS\Buttons.cpp.o (symbol from plugin): In function `mainLongPress()':

(.text+0x0): multiple definition of `mainLongPress()'

sketch\Buttons.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\LightSaberOS\Buttons.cpp.o (symbol from plugin): In function `mainLongPress()':

(.text+0x0): multiple definition of `lockupDoubleClick()'

sketch\Buttons.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\LightSaberOS\Buttons.cpp.o (symbol from plugin): In function `mainLongPress()':

(.text+0x0): multiple definition of `lockupLongPress()'

sketch\Buttons.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\LightSaberOS\Buttons.cpp.o (symbol from plugin): In function `mainLongPress()':

(.text+0x0): multiple definition of `mainDoubleClick()'

sketch\Buttons.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\LightSaberOS\Buttons.cpp.o (symbol from plugin): In function `mainLongPress()':

(.text+0x0): multiple definition of `mainLongPressStop()'

sketch\Buttons.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\LightSaberOS\Buttons.cpp.o (symbol from plugin): In function `mainLongPress()':

(.text+0x0): multiple definition of `lockupLongPressStop()'

sketch\Buttons.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\LightSaberOS\Buttons.cpp.o (symbol from plugin): In function `mainLongPress()':

(.text+0x0): multiple definition of `mainClick()'

sketch\Buttons.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\LightSaberOS\Buttons.cpp.o (symbol from plugin): In function `mainLongPress()':

(.text+0x0): multiple definition of `mainLongPressStart()'

sketch\Buttons.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\LightSaberOS\Buttons.cpp.o (symbol from plugin): In function `mainLongPress()':

(.text+0x0): multiple definition of `lockupClick()'

sketch\Buttons.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\LightSaberOS\Buttons.cpp.o (symbol from plugin): In function `mainLongPress()':

(.text+0x0): multiple definition of `lockupLongPressStart()'

sketch\Buttons.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\LightSaberOS\ConfigMenu.cpp.o (symbol from plugin): In function `confParseValue(unsigned int, unsigned int, unsigned int, short)':

(.text+0x0): multiple definition of `confParseValue(unsigned int, unsigned int, unsigned int, short)'

sketch\ConfigMenu.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\LightSaberOS\Light.cpp.o (symbol from plugin): In function `lastAccent':

(.text+0x0): multiple definition of `lastAccent'

sketch\Light.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\LightSaberOS\Light.cpp.o (symbol from plugin): In function `lastAccent':

(.text+0x0): multiple definition of `accentLEDControl(AccentLedAction_En)'

sketch\Light.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\LightSaberOS\Light.cpp.o (symbol from plugin): In function `lastAccent':

(.text+0x0): multiple definition of `lightOn(unsigned char*, cRGB)'

sketch\Light.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\LightSaberOS\Light.cpp.o (symbol from plugin): In function `lastAccent':

(.text+0x0): multiple definition of `lightOff(unsigned char*)'

sketch\Light.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\LightSaberOS\Light.cpp.o (symbol from plugin): In function `lastAccent':

(.text+0x0): multiple definition of `lightIgnition(unsigned char*, cRGB, unsigned int)'

sketch\Light.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\LightSaberOS\Light.cpp.o (symbol from plugin): In function `lastAccent':

(.text+0x0): multiple definition of `lightRetract(unsigned char*, cRGB, unsigned int)'

sketch\Light.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\LightSaberOS\Light.cpp.o (symbol from plugin): In function `lastAccent':

(.text+0x0): multiple definition of `lightFlicker(unsigned char*, cRGB, unsigned char)'

sketch\Light.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\LightSaberOS\Light.cpp.o (symbol from plugin): In function `lastAccent':

(.text+0x0): multiple definition of `getColor(cRGB)'

sketch\Light.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\LightSaberOS\Light.cpp.o (symbol from plugin): In function `lastAccent':

(.text+0x0): multiple definition of `ColorMixing(cRGB, signed char, unsigned char, bool)'

sketch\Light.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\LightSaberOS\Light.cpp.o (symbol from plugin): In function `lastAccent':

(.text+0x0): multiple definition of `JukeBox_Stroboscope()'

sketch\Light.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\LightSaberOS\Light.cpp.o (symbol from plugin): In function `lastAccent':

(.text+0x0): multiple definition of `BladeMeter(int)'

sketch\Light.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\FX-SaberOS\Buttons.cpp.o (symbol from plugin): In function `mainLongPress()':

(.text+0x0): multiple definition of `mainLongPress()'

sketch\Buttons.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\FX-SaberOS\Buttons.cpp.o (symbol from plugin): In function `mainLongPress()':

(.text+0x0): multiple definition of `lockupDoubleClick()'

sketch\Buttons.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\FX-SaberOS\Buttons.cpp.o (symbol from plugin): In function `mainLongPress()':

(.text+0x0): multiple definition of `lockupLongPress()'

sketch\Buttons.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\FX-SaberOS\Buttons.cpp.o (symbol from plugin): In function `mainLongPress()':

(.text+0x0): multiple definition of `mainDoubleClick()'

sketch\Buttons.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\FX-SaberOS\Buttons.cpp.o (symbol from plugin): In function `mainLongPress()':

(.text+0x0): multiple definition of `mainLongPressStop()'

sketch\Buttons.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\FX-SaberOS\Buttons.cpp.o (symbol from plugin): In function `mainLongPress()':

(.text+0x0): multiple definition of `lockupLongPressStop()'

sketch\Buttons.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\FX-SaberOS\Buttons.cpp.o (symbol from plugin): In function `mainLongPress()':

(.text+0x0): multiple definition of `mainClick()'

sketch\Buttons.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\FX-SaberOS\Buttons.cpp.o (symbol from plugin): In function `mainLongPress()':

(.text+0x0): multiple definition of `mainLongPressStart()'

sketch\Buttons.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\FX-SaberOS\Buttons.cpp.o (symbol from plugin): In function `mainLongPress()':

(.text+0x0): multiple definition of `lockupClick()'

sketch\Buttons.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\FX-SaberOS\Buttons.cpp.o (symbol from plugin): In function `mainLongPress()':

(.text+0x0): multiple definition of `lockupLongPressStart()'

sketch\Buttons.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\FX-SaberOS\ConfigMenu.cpp.o (symbol from plugin): In function `confParseValue(unsigned int, unsigned int, unsigned int, short)':

(.text+0x0): multiple definition of `confParseValue(unsigned int, unsigned int, unsigned int, short)'

sketch\ConfigMenu.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\FX-SaberOS\Light.cpp.o (symbol from plugin): In function `lastAccent':

(.text+0x0): multiple definition of `lastAccent'

sketch\Light.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\FX-SaberOS\Light.cpp.o (symbol from plugin): In function `lastAccent':

(.text+0x0): multiple definition of `accentLEDControl(AccentLedAction_En)'

sketch\Light.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\FX-SaberOS\Light.cpp.o (symbol from plugin): In function `lastAccent':

(.text+0x0): multiple definition of `getColor(cRGB)'

sketch\Light.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\FX-SaberOS\Light.cpp.o (symbol from plugin): In function `lastAccent':

(.text+0x0): multiple definition of `ColorMixing(cRGB, signed char, unsigned char, bool)'

sketch\Light.cpp.o (symbol from plugin):(.text+0x0): first defined here

libraries\FX-SaberOS\Light.cpp.o (symbol from plugin): In function `lastAccent':

(.text+0x0): multiple definition of `BladeMeter(int)'

sketch\Light.cpp.o (symbol from plugin):(.text+0x0): first defined here

sketch\Buttons.cpp:34:15: warning: type of 'blink' does not match original declaration

extern int8_t blink;

           ^

sketch\Buttons.cpp:34:15: warning: type of 'blink' does not match original declaration

sketch\Buttons.cpp:34:15: warning: type of 'blink' does not match original declaration

C:\Program Files (x86)\Arduino\libraries\LightSaberOS\LightSaberOS.ino:132:9: note: previously declared here

uint8_t blink = 0;

     ^

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS\Buttons.cpp:114:2: warning: type of 'storage' does not match original declaration

}storage;

^

C:\Program Files (x86)\Arduino\libraries\LightSaberOS\LightSaberOS.ino:185:2: note: previously declared here

}storage;

^

C:\Users\Chris\AppData\Local\Temp\ccV5dPyt.ltrans0.ltrans.o: In function `loop':

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:554: undefined reference to `OneButton::tick()'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:556: undefined reference to `OneButton::tick()'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:585: undefined reference to `OneButton::setPressTicks(int)'

C:\Users\Chris\AppData\Local\Temp\ccV5dPyt.ltrans0.ltrans.o: In function `GravityVector':

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:1268: undefined reference to `MPU6050::getAcceleration(int, int, int*)'

C:\Users\Chris\AppData\Local\Temp\ccV5dPyt.ltrans0.ltrans.o: In function `loop':

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:1062: undefined reference to `OneButton::setPressTicks(int)'

C:\Users\Chris\AppData\Local\Temp\ccV5dPyt.ltrans0.ltrans.o: In function `SleepModeEntry':

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:1451: undefined reference to `MPU6050::setSleepEnabled(bool)'

C:\Users\Chris\AppData\Local\Temp\ccV5dPyt.ltrans0.ltrans.o: In function `SleepModeExit':

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:1471: undefined reference to `MPU6050::setSleepEnabled(bool)'

C:\Users\Chris\AppData\Local\Temp\ccV5dPyt.ltrans4.ltrans.o: In function `__static_initialization_and_destruction_0':

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:81: undefined reference to `MPU6050::MPU6050()'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:137: undefined reference to `OneButton::OneButton(int, int)'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:139: undefined reference to `OneButton::OneButton(int, int)'

C:\Users\Chris\AppData\Local\Temp\ccV5dPyt.ltrans2.ltrans.o: In function `updateBlock':

C:\Program Files (x86)\Arduino\libraries\MPU6050_calibration/EEPROMex.h:139: undefined reference to `EEPROM'

C:\Program Files (x86)\Arduino\libraries\MPU6050_calibration/EEPROMex.h:139: undefined reference to `EEPROM'

C:\Program Files (x86)\Arduino\libraries\MPU6050_calibration/EEPROMex.h:139: undefined reference to `EEPROMClassEx::isWriteOk(int)'

C:\Program Files (x86)\Arduino\libraries\MPU6050_calibration/EEPROMex.h:142: undefined reference to `EEPROM'

C:\Program Files (x86)\Arduino\libraries\MPU6050_calibration/EEPROMex.h:142: undefined reference to `EEPROM'

C:\Program Files (x86)\Arduino\libraries\MPU6050_calibration/EEPROMex.h:142: undefined reference to `EEPROMClassEx::read(int)'

C:\Program Files (x86)\Arduino\libraries\MPU6050_calibration/EEPROMex.h:143: undefined reference to `EEPROM'

C:\Program Files (x86)\Arduino\libraries\MPU6050_calibration/EEPROMex.h:143: undefined reference to `EEPROM'

C:\Program Files (x86)\Arduino\libraries\MPU6050_calibration/EEPROMex.h:143: undefined reference to `EEPROMClassEx::write(int, unsigned char)'

C:\Users\Chris\AppData\Local\Temp\ccV5dPyt.ltrans2.ltrans.o: In function `motionEngine()':

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:1199: undefined reference to `MPU6050::getIntStatus()'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:1202: undefined reference to `MPU6050::getFIFOCount()'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:1207: undefined reference to `MPU6050::resetFIFO()'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:1213: undefined reference to `MPU6050::getFIFOCount()'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:1216: undefined reference to `MPU6050::getFIFOBytes(unsigned char*, unsigned char)'

C:\Users\Chris\AppData\Local\Temp\ccV5dPyt.ltrans2.ltrans.o: In function `setup':

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:236: undefined reference to `EEPROM'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:236: undefined reference to `EEPROM'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:236: undefined reference to `EEPROMClassEx::setMemPool(int, int)'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:237: undefined reference to `EEPROM'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:237: undefined reference to `EEPROM'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:237: undefined reference to `EEPROMClassEx::getAddress(int)'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:304: undefined reference to `MPU6050::initialize()'

C:\Users\Chris\AppData\Local\Temp\ccV5dPyt.ltrans2.ltrans.o: In function `dmpInitialize_light':

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS/MPU6050_6Axis_MotionApps20.h:551: undefined reference to `MPU6050::reset()'

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS/MPU6050_6Axis_MotionApps20.h:562: undefined reference to `MPU6050::setSleepEnabled(bool)'

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS/MPU6050_6Axis_MotionApps20.h:610: undefined reference to `MPU6050::writeProgMemoryBlock(unsigned char const*, unsigned int, unsigned char, unsigned char, bool)'

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS/MPU6050_6Axis_MotionApps20.h:617: undefined reference to `MPU6050::writeProgDMPConfigurationSet(unsigned char const*, unsigned int)'

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS/MPU6050_6Axis_MotionApps20.h:621: undefined reference to `MPU6050::setClockSource(unsigned char)'

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS/MPU6050_6Axis_MotionApps20.h:624: undefined reference to `MPU6050::setIntEnabled(unsigned char)'

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS/MPU6050_6Axis_MotionApps20.h:627: undefined reference to `MPU6050::setRate(unsigned char)'

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS/MPU6050_6Axis_MotionApps20.h:630: undefined reference to `MPU6050::setExternalFrameSync(unsigned char)'

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS/MPU6050_6Axis_MotionApps20.h:633: undefined reference to `MPU6050::setDLPFMode(unsigned char)'

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS/MPU6050_6Axis_MotionApps20.h:636: undefined reference to `MPU6050::setFullScaleGyroRange(unsigned char)'

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS/MPU6050_6Axis_MotionApps20.h:639: undefined reference to `MPU6050::setDMPConfig1(unsigned char)'

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS/MPU6050_6Axis_MotionApps20.h:640: undefined reference to `MPU6050::setDMPConfig2(unsigned char)'

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS/MPU6050_6Axis_MotionApps20.h:643: undefined reference to `MPU6050::setOTPBankValid(bool)'

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS/MPU6050_6Axis_MotionApps20.h:661: undefined reference to `MPU6050::writeMemoryBlock(unsigned char const*, unsigned int, unsigned char, unsigned char, bool, bool)'

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS/MPU6050_6Axis_MotionApps20.h:665: undefined reference to `MPU6050::writeMemoryBlock(unsigned char const*, unsigned int, unsigned char, unsigned char, bool, bool)'

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS/MPU6050_6Axis_MotionApps20.h:697: undefined reference to `MPU6050::setFIFOEnabled(bool)'

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS/MPU6050_6Axis_MotionApps20.h:700: undefined reference to `MPU6050::setDMPEnabled(bool)'

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS/MPU6050_6Axis_MotionApps20.h:703: undefined reference to `MPU6050::resetDMP()'

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS/MPU6050_6Axis_MotionApps20.h:753: undefined reference to `MPU6050::writeMemoryBlock(unsigned char const*, unsigned int, unsigned char, unsigned char, bool, bool)'

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS/MPU6050_6Axis_MotionApps20.h:758: undefined reference to `MPU6050::setDMPEnabled(bool)'

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS/MPU6050_6Axis_MotionApps20.h:767: undefined reference to `MPU6050::resetFIFO()'

C:\Program Files (x86)\Arduino\libraries\FX-SaberOS/MPU6050_6Axis_MotionApps20.h:768: undefined reference to `MPU6050::getIntStatus()'

C:\Users\Chris\AppData\Local\Temp\ccV5dPyt.ltrans2.ltrans.o: In function `setup':

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:326: undefined reference to `EEPROM'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:326: undefined reference to `EEPROM'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:326: undefined reference to `EEPROMClassEx::setMemPool(int, int)'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:328: undefined reference to `EEPROM'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:328: undefined reference to `EEPROM'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:328: undefined reference to `EEPROMClassEx::readInt(int)'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:328: undefined reference to `MPU6050::setXAccelOffset(int)'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:335: undefined reference to `EEPROM'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:335: undefined reference to `EEPROM'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:335: undefined reference to `EEPROMClassEx::readInt(int)'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:335: undefined reference to `MPU6050::setYAccelOffset(int)'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:341: undefined reference to `EEPROM'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:341: undefined reference to `EEPROM'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:341: undefined reference to `EEPROMClassEx::readInt(int)'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:341: undefined reference to `MPU6050::setZAccelOffset(int)'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:347: undefined reference to `EEPROM'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:347: undefined reference to `EEPROM'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:347: undefined reference to `EEPROMClassEx::readInt(int)'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:347: undefined reference to `MPU6050::setXGyroOffset(int)'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:353: undefined reference to `EEPROM'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:353: undefined reference to `EEPROM'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:353: undefined reference to `EEPROMClassEx::readInt(int)'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:353: undefined reference to `MPU6050::setYGyroOffset(int)'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:359: undefined reference to `EEPROM'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:359: undefined reference to `EEPROM'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:359: undefined reference to `EEPROMClassEx::readInt(int)'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:359: undefined reference to `MPU6050::setZGyroOffset(int)'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:382: undefined reference to `MPU6050::setDMPEnabled(bool)'

Plusieurs bibliothèque trouvées pour "DFPlayer.h" C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:391: undefined reference to `MPU6050::getIntStatus()'

Utilisé : C:\Program Files (x86)\Arduino\libraries\LightSaberOS Non utilisé : C:\Program Files (x86)\Arduino\libraries\FX-SaberOS Non utilisé : C:\Program Files (x86)\Arduino\libraries\FX-SaberOS Non utilisé : C:\Program Files (x86)\Arduino\libraries\FX-SaberOS Non utilisé : C:\Program Files (x86)\Arduino\libraries\FX-SaberOS C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:416: undefined reference to `MPU6050::setDLPFMode(unsigned char)'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:417: undefined reference to `MPU6050::setDHPFMode(unsigned char)'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:419: undefined reference to `MPU6050::setIntMotionEnabled(bool)'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:420: undefined reference to `MPU6050::setIntZeroMotionEnabled(bool)'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:421: undefined reference to `MPU6050::setIntFIFOBufferOverflowEnabled(bool)'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:422: undefined reference to `MPU6050::setIntI2CMasterEnabled(bool)'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:423: undefined reference to `MPU6050::setIntDataReadyEnabled(bool)'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:425: undefined reference to `MPU6050::setMotionDetectionThreshold(unsigned char)'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:426: undefined reference to `MPU6050::setMotionDetectionDuration(unsigned char)'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:427: undefined reference to `MPU6050::getIntStatus()'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:476: undefined reference to `OneButton::setClickTicks(int)'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:477: undefined reference to `OneButton::setPressTicks(int)'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:478: undefined reference to `OneButton::attachClick(void (*)())'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:479: undefined reference to `OneButton::attachDoubleClick(void (*)())'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:480: undefined reference to `OneButton::attachLongPressStart(void (*)())'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:481: undefined reference to `OneButton::attachLongPressStop(void (*)())'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:482: undefined reference to `OneButton::attachDuringLongPress(void (*)())'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:486: undefined reference to `OneButton::setClickTicks(int)'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:487: undefined reference to `OneButton::setPressTicks(int)'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:488: undefined reference to `OneButton::attachClick(void (*)())'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:489: undefined reference to `OneButton::attachDoubleClick(void (*)())'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:490: undefined reference to `OneButton::attachLongPressStart(void (*)())'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:491: undefined reference to `OneButton::attachLongPressStop(void (*)())'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/LightSaberOS.ino:492: undefined reference to `OneButton::attachDuringLongPress(void (*)())'

C:\Users\Chris\AppData\Local\Temp\ccV5dPyt.ltrans2.ltrans.o: In function `DFPlayer::setSerial(unsigned char, unsigned char, bool) [clone .isra.2]':

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/DFPlayer.h:148: undefined reference to `DFPlayerSerial::DFPlayerSerial(unsigned char, unsigned char, bool)'

C:\Program Files (x86)\Arduino\libraries\LightSaberOS/DFPlayer.h:150: undefined reference to `DFPlayerSerial::begin(long)'

collect2.exe: error: ld returned 1 exit status

exit status 1 Erreur de compilation pour la carte Arduino Nano Bibliothèque non valide trouvée dans D:\Documents\Arduino\libraries\MMA8451-master : D:\Documents\Arduino\libraries\MMA8451-master Bibliothèque non valide trouvée dans D:\Documents\Arduino\libraries\Servo_2_accelerometre : D:\Documents\Arduino\libraries\Servo_2_accelerometre Bibliothèque non valide trouvée dans D:\Documents\Arduino\libraries_2_Servo_ACC : D:\Documents\Arduino\libraries_2_Servo_ACC Bibliothèque non valide trouvée dans D:\Documents\Arduino\libraries\MMA8451-master : D:\Documents\Arduino\libraries\MMA8451-master Bibliothèque non valide trouvée dans D:\Documents\Arduino\libraries\Servo_2_accelerometre : D:\Documents\Arduino\libraries\Servo_2_accelerometre Bibliothèque non valide trouvée dans D:\Documents\Arduino\libraries_2_Servo_ACC : D:\Documents\Arduino\libraries_2_Servo_ACC

Ce rapport pourrait être plus détaillé avec l'option "Afficher les résultats détaillés de la compilation" activée dans Fichier -> Préférences.

azsde commented 7 years ago

Tu as fait comment pour copier le projet ?

Moi je l'ai cloné depuis github et il la compilation fonctionnait directement, sans aucune modifications de ma part.

Tam-Koowan commented 7 years ago

J'ai télécharger le fichier zip, puis dé zipper et mis dans le dossier arduino ! Du coup j'ai cloné directement, mais comment j'ai fait après pour le charger sur mon Nano V3 ?

Tam-Koowan commented 7 years ago

Malgré avoir cloné le projet ça ne change rien j'ai toujours un problème de compilation ! :(