Erreur de compilation

Portrait de gg_du95

Bonjour, en compilant mon code, j'ai ce message d'erreur qui s'affiche. Quelqu'un sait comment résoudre le problème ?

Arduino : 1.8.5 (Windows Store 1.8.10.0) (Windows 10), Carte : "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

libraries\NewPing\NewPing.cpp.o (symbol from plugin): In function `intFunc2':

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

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

c:/program files/windowsapps/arduinollc.arduinoide_1.8.10.0_x86__mdqgnx93n4wtt/hardware/tools/avr/bin/../lib/gcc/avr/4.9.2/../../../../avr/bin/ld.exe: Disabling relaxation: it will not work with multiple definitions

collect2.exe: error: ld returned 1 exit status

exit status 1
Erreur de compilation pour la carte Arduino/Genuino Mega or Mega 2560

Après avoir afficher plus de détails dans les Préférences >>

Arduino : 1.8.5 (Windows Store 1.8.10.0) (Windows 10), Carte : "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\tools-builder -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\tools\avr -built-in-libraries C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\libraries -libraries E:\TIPE\Projet\libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0X2341_0X0042 -ide-version=10805 -build-path C:\Users\jerom\AppData\Local\Temp\arduino_build_997019 -warnings=none -build-cache C:\Users\jerom\AppData\Local\Temp\arduino_cache_93649 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\tools\avr -verbose E:\TIPE\Projet\MEGA\Voiture_Anti_Collision_IR_Remote_Robot_Voix\Voiture_Anti_Collision_IR_Remote_Robot_Voix.ino
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\arduino-builder -compile -logger=machine -hardware C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\tools-builder -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\tools\avr -built-in-libraries C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\libraries -libraries E:\TIPE\Projet\libraries -fqbn=arduino:avr:mega:cpu=atmega2560 -vid-pid=0X2341_0X0042 -ide-version=10805 -build-path C:\Users\jerom\AppData\Local\Temp\arduino_build_997019 -warnings=none -build-cache C:\Users\jerom\AppData\Local\Temp\arduino_cache_93649 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\tools\avr -verbose E:\TIPE\Projet\MEGA\Voiture_Anti_Collision_IR_Remote_Robot_Voix\Voiture_Anti_Collision_IR_Remote_Robot_Voix.ino
Using board 'mega' from platform in folder: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr
Detecting libraries used...
"C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\variants\mega" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\sketch\Voiture_Anti_Collision_IR_Remote_Robot_Voix.ino.cpp" -o "nul"
"C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\variants\mega" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\libraries\Servo\src" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\sketch\Voiture_Anti_Collision_IR_Remote_Robot_Voix.ino.cpp" -o "nul"
"C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\variants\mega" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\libraries\Servo\src" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\libraries\LiquidCrystal\src" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\sketch\Voiture_Anti_Collision_IR_Remote_Robot_Voix.ino.cpp" -o "nul"
"C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\variants\mega" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\libraries\Servo\src" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\libraries\LiquidCrystal\src" "-IE:\TIPE\Projet\libraries\MFRC522\src" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\sketch\Voiture_Anti_Collision_IR_Remote_Robot_Voix.ino.cpp" -o "nul"
"C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\variants\mega" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\libraries\Servo\src" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\libraries\LiquidCrystal\src" "-IE:\TIPE\Projet\libraries\MFRC522\src" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\SPI\src" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\sketch\Voiture_Anti_Collision_IR_Remote_Robot_Voix.ino.cpp" -o "nul"
"C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\variants\mega" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\libraries\Servo\src" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\libraries\LiquidCrystal\src" "-IE:\TIPE\Projet\libraries\MFRC522\src" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\SPI\src" "-IE:\TIPE\Projet\libraries\IRremote" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\sketch\Voiture_Anti_Collision_IR_Remote_Robot_Voix.ino.cpp" -o "nul"
"C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\variants\mega" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\libraries\Servo\src" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\libraries\LiquidCrystal\src" "-IE:\TIPE\Projet\libraries\MFRC522\src" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\SPI\src" "-IE:\TIPE\Projet\libraries\IRremote" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\SoftwareSerial\src" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\sketch\Voiture_Anti_Collision_IR_Remote_Robot_Voix.ino.cpp" -o "nul"
"C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\variants\mega" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\libraries\Servo\src" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\libraries\LiquidCrystal\src" "-IE:\TIPE\Projet\libraries\MFRC522\src" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\SPI\src" "-IE:\TIPE\Projet\libraries\IRremote" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\SoftwareSerial\src" "-IE:\TIPE\Projet\libraries\NewPing\src" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\sketch\Voiture_Anti_Collision_IR_Remote_Robot_Voix.ino.cpp" -o "nul"
Using cached library dependencies for file: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\libraries\Servo\src\avr\Servo.cpp
Using cached library dependencies for file: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\libraries\Servo\src\nrf52\Servo.cpp
Using cached library dependencies for file: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\libraries\Servo\src\sam\Servo.cpp
Using cached library dependencies for file: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\libraries\Servo\src\samd\Servo.cpp
Using cached library dependencies for file: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\libraries\Servo\src\stm32f4\Servo.cpp
Using cached library dependencies for file: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\libraries\LiquidCrystal\src\LiquidCrystal.cpp
Using cached library dependencies for file: E:\TIPE\Projet\libraries\MFRC522\src\MFRC522.cpp
Using cached library dependencies for file: E:\TIPE\Projet\libraries\MFRC522\src\MFRC522Extended.cpp
Using cached library dependencies for file: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\SPI\src\SPI.cpp
Using cached library dependencies for file: E:\TIPE\Projet\libraries\IRremote\IRremote.cpp
Using cached library dependencies for file: E:\TIPE\Projet\libraries\IRremote\esp32.cpp
Using cached library dependencies for file: E:\TIPE\Projet\libraries\IRremote\irPronto.cpp
Using cached library dependencies for file: E:\TIPE\Projet\libraries\IRremote\irRecv.cpp
Using cached library dependencies for file: E:\TIPE\Projet\libraries\IRremote\irSend.cpp
Using cached library dependencies for file: E:\TIPE\Projet\libraries\IRremote\ir_Aiwa.cpp
Using cached library dependencies for file: E:\TIPE\Projet\libraries\IRremote\ir_Denon.cpp
Using cached library dependencies for file: E:\TIPE\Projet\libraries\IRremote\ir_Dish.cpp
Using cached library dependencies for file: E:\TIPE\Projet\libraries\IRremote\ir_JVC.cpp
Using cached library dependencies for file: E:\TIPE\Projet\libraries\IRremote\ir_LG.cpp
Using cached library dependencies for file: E:\TIPE\Projet\libraries\IRremote\ir_Lego_PF.cpp
Using cached library dependencies for file: E:\TIPE\Projet\libraries\IRremote\ir_Mitsubishi.cpp
Using cached library dependencies for file: E:\TIPE\Projet\libraries\IRremote\ir_NEC.cpp
Using cached library dependencies for file: E:\TIPE\Projet\libraries\IRremote\ir_Panasonic.cpp
Using cached library dependencies for file: E:\TIPE\Projet\libraries\IRremote\ir_RC5_RC6.cpp
Using cached library dependencies for file: E:\TIPE\Projet\libraries\IRremote\ir_Samsung.cpp
Using cached library dependencies for file: E:\TIPE\Projet\libraries\IRremote\ir_Sanyo.cpp
Using cached library dependencies for file: E:\TIPE\Projet\libraries\IRremote\ir_Sharp.cpp
Using cached library dependencies for file: E:\TIPE\Projet\libraries\IRremote\ir_Sony.cpp
Using cached library dependencies for file: E:\TIPE\Projet\libraries\IRremote\ir_Template.cpp
Using cached library dependencies for file: E:\TIPE\Projet\libraries\IRremote\ir_Whynter.cpp
Using cached library dependencies for file: E:\TIPE\Projet\libraries\IRremote\sam.cpp
Using cached library dependencies for file: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\SoftwareSerial\src\SoftwareSerial.cpp
Using cached library dependencies for file: E:\TIPE\Projet\libraries\NewPing\src\NewPing.cpp
Generating function prototypes...
"C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics  -flto -w -x c++ -E -CC -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\variants\mega" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\libraries\Servo\src" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\libraries\LiquidCrystal\src" "-IE:\TIPE\Projet\libraries\MFRC522\src" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\SPI\src" "-IE:\TIPE\Projet\libraries\IRremote" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\SoftwareSerial\src" "-IE:\TIPE\Projet\libraries\NewPing\src" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\sketch\Voiture_Anti_Collision_IR_Remote_Robot_Voix.ino.cpp" -o "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\preproc\ctags_target_for_gcc_minus_e.cpp"
Compilation du croquis...
"C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega2560 -DF_CPU=16000000L -DARDUINO=10805 -DARDUINO_AVR_MEGA2560 -DARDUINO_ARCH_AVR   "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\variants\mega" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\libraries\Servo\src" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\libraries\LiquidCrystal\src" "-IE:\TIPE\Projet\libraries\MFRC522\src" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\SPI\src" "-IE:\TIPE\Projet\libraries\IRremote" "-IC:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\SoftwareSerial\src" "-IE:\TIPE\Projet\libraries\NewPing\src" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\sketch\Voiture_Anti_Collision_IR_Remote_Robot_Voix.ino.cpp" -o "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\sketch\Voiture_Anti_Collision_IR_Remote_Robot_Voix.ino.cpp.o"
Compiling libraries...
Compiling library "Servo"
Utilisation du fichier déjà compilé : C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\Servo\avr\Servo.cpp.o
Utilisation du fichier déjà compilé : C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\Servo\nrf52\Servo.cpp.o
Utilisation du fichier déjà compilé : C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\Servo\sam\Servo.cpp.o
Utilisation du fichier déjà compilé : C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\Servo\samd\Servo.cpp.o
Utilisation du fichier déjà compilé : C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\Servo\stm32f4\Servo.cpp.o
Compiling library "LiquidCrystal"
Utilisation du fichier déjà compilé : C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\LiquidCrystal\LiquidCrystal.cpp.o
Compiling library "MFRC522"
Utilisation du fichier déjà compilé : C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\MFRC522\MFRC522.cpp.o
Utilisation du fichier déjà compilé : C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\MFRC522\MFRC522Extended.cpp.o
Compiling library "SPI"
Utilisation du fichier déjà compilé : C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\SPI\SPI.cpp.o
Compiling library "IRremote"
Utilisation du fichier déjà compilé : C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\IRremote.cpp.o
Utilisation du fichier déjà compilé : C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\esp32.cpp.o
Utilisation du fichier déjà compilé : C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\irPronto.cpp.o
Utilisation du fichier déjà compilé : C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\irRecv.cpp.o
Utilisation du fichier déjà compilé : C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\irSend.cpp.o
Utilisation du fichier déjà compilé : C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\ir_Aiwa.cpp.o
Utilisation du fichier déjà compilé : C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\ir_Denon.cpp.o
Utilisation du fichier déjà compilé : C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\ir_Dish.cpp.o
Utilisation du fichier déjà compilé : C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\ir_JVC.cpp.o
Utilisation du fichier déjà compilé : C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\ir_LG.cpp.o
Utilisation du fichier déjà compilé : C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\ir_Lego_PF.cpp.o
Utilisation du fichier déjà compilé : C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\ir_Mitsubishi.cpp.o
Utilisation du fichier déjà compilé : C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\ir_NEC.cpp.o
Utilisation du fichier déjà compilé : C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\ir_Panasonic.cpp.o
Utilisation du fichier déjà compilé : C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\ir_RC5_RC6.cpp.o
Utilisation du fichier déjà compilé : C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\ir_Samsung.cpp.o
Utilisation du fichier déjà compilé : C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\ir_Sanyo.cpp.o
Utilisation du fichier déjà compilé : C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\ir_Sharp.cpp.o
Utilisation du fichier déjà compilé : C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\ir_Sony.cpp.o
Utilisation du fichier déjà compilé : C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\ir_Template.cpp.o
Utilisation du fichier déjà compilé : C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\ir_Whynter.cpp.o
Utilisation du fichier déjà compilé : C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\sam.cpp.o
Compiling library "SoftwareSerial"
Utilisation du fichier déjà compilé : C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\SoftwareSerial\SoftwareSerial.cpp.o
Compiling library "NewPing"
Utilisation du fichier déjà compilé : C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\NewPing\NewPing.cpp.o
Compiling core...
Using precompiled core
Linking everything together...
"C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-gcc" -w -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections,--relax -mmcu=atmega2560  -o "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019/Voiture_Anti_Collision_IR_Remote_Robot_Voix.ino.elf" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\sketch\Voiture_Anti_Collision_IR_Remote_Robot_Voix.ino.cpp.o" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\Servo\avr\Servo.cpp.o" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\Servo\nrf52\Servo.cpp.o" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\Servo\sam\Servo.cpp.o" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\Servo\samd\Servo.cpp.o" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\Servo\stm32f4\Servo.cpp.o" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\LiquidCrystal\LiquidCrystal.cpp.o" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\MFRC522\MFRC522.cpp.o" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\MFRC522\MFRC522Extended.cpp.o" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\SPI\SPI.cpp.o" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\IRremote.cpp.o" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\esp32.cpp.o" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\irPronto.cpp.o" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\irRecv.cpp.o" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\irSend.cpp.o" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\ir_Aiwa.cpp.o" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\ir_Denon.cpp.o" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\ir_Dish.cpp.o" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\ir_JVC.cpp.o" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\ir_LG.cpp.o" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\ir_Lego_PF.cpp.o" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\ir_Mitsubishi.cpp.o" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\ir_NEC.cpp.o" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\ir_Panasonic.cpp.o" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\ir_RC5_RC6.cpp.o" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\ir_Samsung.cpp.o" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\ir_Sanyo.cpp.o" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\ir_Sharp.cpp.o" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\ir_Sony.cpp.o" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\ir_Template.cpp.o" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\ir_Whynter.cpp.o" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\sam.cpp.o" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\SoftwareSerial\SoftwareSerial.cpp.o" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\NewPing\NewPing.cpp.o" "C:\Users\jerom\AppData\Local\Temp\arduino_build_997019/..\arduino_cache_93649\core\core_arduino_avr_mega_cpu_atmega2560_a94ab6aaf61dfb93b4a8079c694a14c2.a" "-LC:\Users\jerom\AppData\Local\Temp\arduino_build_997019" -lm
C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\NewPing\NewPing.cpp.o (symbol from plugin): In function `intFunc2':

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

C:\Users\jerom\AppData\Local\Temp\arduino_build_997019\libraries\IRremote\IRremote.cpp.o (symbol from plugin):(.text+0x0): first defined here

c:/program files/windowsapps/arduinollc.arduinoide_1.8.10.0_x86__mdqgnx93n4wtt/hardware/tools/avr/bin/../lib/gcc/avr/4.9.2/../../../../avr/bin/ld.exe: Disabling relaxation: it will not work with multiple definitions

collect2.exe: error: ld returned 1 exit status

Utilisation de la bibliothèque Servo version 1.1.2 dans le dossier: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\libraries\Servo 
Utilisation de la bibliothèque LiquidCrystal version 1.0.7 dans le dossier: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\libraries\LiquidCrystal 
Utilisation de la bibliothèque MFRC522 version 1.4.0 dans le dossier: E:\TIPE\Projet\libraries\MFRC522 
Utilisation de la bibliothèque SPI version 1.0 dans le dossier: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\SPI 
Utilisation de la bibliothèque IRremote version 2.2.3 dans le dossier: E:\TIPE\Projet\libraries\IRremote 
Utilisation de la bibliothèque SoftwareSerial version 1.0 dans le dossier: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.10.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\libraries\SoftwareSerial 
Utilisation de la bibliothèque NewPing version 1.9.0 dans le dossier: E:\TIPE\Projet\libraries\NewPing 
exit status 1
Erreur de compilation pour la carte Arduino/Genuino Mega or Mega 2560

Portrait de brossden

Bonjour

Tu obtiens tout ce message d'erreur en une seule compilation ? J'avoue ne jamais avoir vu un tel bazar !

Peux tu nous donner le code qui génère tout cela à la compilation ?

Portrait de gg_du95

Bonjour,

Oui je te le donne ce soir.

Portrait de gg_du95

Salut, voici trois codes. Le code "Voiture_IR_Remote" marche et j'ai rajouté la partie robot controlé avec la voix. Ce qui donne le fichier "Voiture_IR_Remote_Robot_Voix". Le code simple de la voiture contrôlée par la voix (via le module bluetooth HC06) marche et sintitule "Voiture_Robot_Voix". C'est en ajoutant ce code à celui de l'IR Remote qu'il m'a mis ces messages d'erreurs étrange. Alors que j'ai bien mis les bibliothèques, ajouté ce qu'il faillait dans le setup et dans le loop. Dans le loop, il y a des else car je fais un menu au démarrage. L'utilisateur choisit le "type" de voiture qu'il veut en sélectionnant sur sa télécommande les touches 1 (voiture autonome), 2 (voiture télécommandée) et 3 (celle que je souhaiterait pour le robot voix). Si tu as des questions concernant le code tu peux me les poser. Merci à toi.

Portrait de gg_du95

Les codes ne passent pas car trop volumineux.

Je peux te les envoyer sur une adresse mail ?

Tout compile bie, jusqu'au 8/10e je dirais puis ensuite cette erreur fait que le téléversement ne se fait pas.

C:\Users\jerom\AppData\Local\Temp\arduino_build_122357\libraries\NewPing\NewPing.cpp.o (symbol from plugin): In function `intFunc2':

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

C:\Users\jerom\AppData\Local\Temp\arduino_build_122357\libraries\IRremote\IRremote.cpp.o (symbol from plugin):(.text+0x0): first defined here

c:/program files/windowsapps/arduinollc.arduinoide_1.8.10.0_x86__mdqgnx93n4wtt/hardware/tools/avr/bin/../lib/gcc/avr/4.9.2/../../../../avr/bin/ld.exe: Disabling relaxation: it will not work with multiple definitions

collect2.exe: error: ld returned 1 exit status

Portrait de gg_du95

Le bug est résolu, la compilation a pu se faire. Le problème venait de "New Ping"