Bonjour !!! j’ai programmé quelque chose pour mon etude et ça affiche une erreur de compilation:
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\Max\Documents\Arduino\libraries" -fqbn=arduino:avr:uno -ide-version=10609 -build-path "C:\Users\Max\AppData\Local\Temp\buildb25bcab00fe53398de25f54756bcaedf.tmp" -warnings=all -prefs=build.warn_data_percentage=75 -verbose "D:\Programmation Arduino\programmation_memoire\programmation_memoire.ino"
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware "C:\Program Files (x86)\Arduino\hardware" -tools "C:\Program Files (x86)\Arduino\tools-builder" -tools "C:\Program Files (x86)\Arduino\hardware\tools\avr" -built-in-libraries "C:\Program Files (x86)\Arduino\libraries" -libraries "C:\Users\Max\Documents\Arduino\libraries" -fqbn=arduino:avr:uno -ide-version=10609 -build-path "C:\Users\Max\AppData\Local\Temp\buildb25bcab00fe53398de25f54756bcaedf.tmp" -warnings=all -prefs=build.warn_data_percentage=75 -verbose "D:\Programmation Arduino\programmation_memoire\programmation_memoire.ino"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "C:\Users\Max\AppData\Local\Temp\buildb25bcab00fe53398de25f54756bcaedf.tmp\sketch\programmation_memoire.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Users\Max\Documents\Arduino\libraries\LiquidCrystal" "C:\Users\Max\AppData\Local\Temp\buildb25bcab00fe53398de25f54756bcaedf.tmp\sketch\programmation_memoire.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Users\Max\Documents\Arduino\libraries\LiquidCrystal" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\Max\AppData\Local\Temp\buildb25bcab00fe53398de25f54756bcaedf.tmp\sketch\programmation_memoire.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\Max\Documents\Arduino\libraries\Keypad" "-IC:\Users\Max\Documents\Arduino\libraries\LiquidCrystal" "C:\Users\Max\AppData\Local\Temp\buildb25bcab00fe53398de25f54756bcaedf.tmp\sketch\programmation_memoire.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Users\Max\Documents\Arduino\libraries\Keypad" "-IC:\Users\Max\Documents\Arduino\libraries\LiquidCrystal" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "C:\Users\Max\Documents\Arduino\libraries\LiquidCrystal\LiquidCrystal.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Users\Max\Documents\Arduino\libraries\LiquidCrystal" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\Max\Documents\Arduino\libraries\Keypad" "C:\Users\Max\AppData\Local\Temp\buildb25bcab00fe53398de25f54756bcaedf.tmp\sketch\programmation_memoire.ino.cpp" -o "C:\Users\Max\AppData\Local\Temp\buildb25bcab00fe53398de25f54756bcaedf.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Users\Max\Documents\Arduino\libraries\LiquidCrystal" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\Max\Documents\Arduino\libraries\Keypad" "C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src\SPI.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\Max\Documents\Arduino\libraries\Keypad" "-IC:\Users\Max\Documents\Arduino\libraries\LiquidCrystal" "C:\Users\Max\Documents\Arduino\libraries\Keypad\Keypad.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\Max\Documents\Arduino\libraries\Keypad" "-IC:\Users\Max\Documents\Arduino\libraries\LiquidCrystal" "C:\Users\Max\Documents\Arduino\libraries\Keypad\utility\Key.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Users\Max\Documents\Arduino\libraries\LiquidCrystal" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\Max\Documents\Arduino\libraries\Keypad" "C:\Users\Max\AppData\Local\Temp\buildb25bcab00fe53398de25f54756bcaedf.tmp\sketch\programmation_memoire.ino.cpp" -o "C:\Users\Max\AppData\Local\Temp\buildb25bcab00fe53398de25f54756bcaedf.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Users\Max\Documents\Arduino\libraries\LiquidCrystal" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\Max\Documents\Arduino\libraries\Keypad" "C:\Users\Max\AppData\Local\Temp\buildb25bcab00fe53398de25f54756bcaedf.tmp\sketch\programmation_memoire.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Users\Max\Documents\Arduino\libraries\LiquidCrystal" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\Max\Documents\Arduino\libraries\Keypad" "C:\Users\Max\AppData\Local\Temp\buildb25bcab00fe53398de25f54756bcaedf.tmp\sketch\programmation_memoire.ino.cpp" -o "C:\Users\Max\AppData\Local\Temp\buildb25bcab00fe53398de25f54756bcaedf.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino10/ctags" -u –language-force=c++ -f - –c++-kinds=svpf –fields=KSTtzns –line-directives "C:\Users\Max\AppData\Local\Temp\buildb25bcab00fe53398de25f54756bcaedf.tmp\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10609 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\variants\standard" "-IC:\Users\Max\Documents\Arduino\libraries\LiquidCrystal" "-IC:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\Max\Documents\Arduino\libraries\Keypad" "C:\Users\Max\AppData\Local\Temp\buildb25bcab00fe53398de25f54756bcaedf.tmp\sketch\programmation_memoire.ino.cpp" -o "C:\Users\Max\AppData\Local\Temp\buildb25bcab00fe53398de25f54756bcaedf.tmp\sketch\programmation_memoire.ino.cpp.o"
In file included from D:\Programmation Arduino\programmation_memoire\programmation_memoire.ino:1:0:
C:\Users\Max\Documents\Arduino\libraries\LiquidCrystal/LiquidCrystal.h:86:16: error: conflicting return type specified for ’virtual void LiquidCrystal::write(uint8_t)’
virtual void write(uint8_t);
In file included from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Stream.h:26:0,
| from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/HardwareSerial.h:29,
from C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Arduino.h:224,
from C:\Users\Max\AppData\Local\Temp\buildb25bcab00fe53398de25f54756bcaedf.tmp\sketch\programmation_memoire.ino.cpp:1:
|
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino/Print.h:48:20: error: overriding ’virtual size_t Print::write(uint8_t)’
| virtual size_t write(uint8_t) = 0;
^
|
D:\Programmation Arduino\programmation_memoire\programmation_memoire.ino: In function ’void affichage()’:
D:\Programmation Arduino\programmation_memoire\programmation_memoire.ino:113:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
D:\Programmation Arduino\programmation_memoire\programmation_memoire.ino:120:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
Plusieurs bibliothèque trouvées pour "LiquidCrystal.h"
Utilisé : C:\Users\Max\Documents\Arduino\libraries\LiquidCrystal
Non utilisé : C:\Program Files (x86)\Arduino\libraries\LiquidCrystal
Utilisation de la bibliothèque LiquidCrystal prise dans le dossier : C:\Users\Max\Documents\Arduino\libraries\LiquidCrystal (legacy)
Utilisation de la bibliothèque SPI version 1.0 dans le dossier: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SPI
Utilisation de la bibliothèque Keypad prise dans le dossier : C:\Users\Max\Documents\Arduino\libraries\Keypad (legacy)
exit status 1
Error compiling for board Arduino/Genuino Uno.