Skocz do zawartości

Błąd kompilacji dla płytki Arduino Leonardo


Pomocna odpowiedź

@Aidenx witam na forum 🙂 Ciężko coś doradzić, bo nie pokazałeś nawet co to za błąd 🔮 Pokaż nam chociaż pełną treść komunikatu, który otrzymujesz.

Link to post
Share on other sites
14 godzin temu, Treker napisał:

@Aidenx witam na forum 🙂 Ciężko coś doradzić, bo nie pokazałeś nawet co to za błąd 🔮 Pokaż nam chociaż pełną treść komunikatu, który otrzymujesz.

W tytule podałem tytuł błędu, widziałem że błąd jest popularny i kazali zaktualizować płytkę i biblioteke Liquid.. jakoś tak ale zrobiłem to i dalej nie działa

Błąd który wyskakuje

Arduino:1.8.13 (Windows 7), Płytka:"Arduino Leonardo"



In file included from C:\Users\user\Desktop\RTC_Zegar_org_prostaczcionka\RTC_Zegar_org_prostaczcionka.ino:1:0:



C:\Users\user\Documents\Arduino\libraries\DS1307RTC-1.4.1/DS1307RTC.h:9:10: fatal error: TimeLib.h: No such file or directory



 #include <TimeLib.h>



          ^~~



compilation terminated.



exit status 1



Błąd kompilacji dla płytki Arduino Leonardo.



Ten raport powinien zawierać więcej informacji jeśli w 

File -> Preferencje zostanie włączona opcja "Pokaż

szczegółowe informacje podczas kompilacji"

 

Link to post
Share on other sites
17 minut temu, Aidenx napisał:

fatal error: TimeLib.h: No such file or directory

Jasno Ci napisał że nie może odnaleźć takiej biblioteki. Upewnij się czy na pewno wypakowałeś bibliotekę  z pliku zip i czy na pewno znajduje się w katalogu  C:\Users\user\Documents\Arduino\libraries . 

Link to post
Share on other sites

Jest teraz nowy problem

Arduino:1.8.13 (Windows 7), Płytka:"Arduino Leonardo"

Arduino:1.8.13 (Windows 7), Płytka:"Arduino Leonardo"

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\user\Documents\Arduino\libraries -fqbn=arduino:avr:leonardo -ide-version=10813 -build-path C:\Users\user\AppData\Local\Temp\arduino_build_988959 -warnings=none -build-cache C:\Users\user\AppData\Local\Temp\arduino_cache_10556 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\user\Desktop\RTC_Zegar_org_prostaczcionka\RTC_Zegar_org_prostaczcionka.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\user\Documents\Arduino\libraries -fqbn=arduino:avr:leonardo -ide-version=10813 -build-path C:\Users\user\AppData\Local\Temp\arduino_build_988959 -warnings=none -build-cache C:\Users\user\AppData\Local\Temp\arduino_cache_10556 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\user\Desktop\RTC_Zegar_org_prostaczcionka\RTC_Zegar_org_prostaczcionka.ino
Using board 'leonardo' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Detecting libraries used...
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "C:\\Users\\user\\AppData\\Local\\Temp\\arduino_build_988959\\sketch\\RTC_Zegar_org_prostaczcionka.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for DS1307RTC.h: [DS1307RTC-1.4.0@1.4]
ResolveLibrary(DS1307RTC.h)
  -> candidates: [DS1307RTC-1.4.0@1.4]
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1307RTC-1.4.0" "C:\\Users\\user\\AppData\\Local\\Temp\\arduino_build_988959\\sketch\\RTC_Zegar_org_prostaczcionka.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for Wire.h: [Wire@1.0]
ResolveLibrary(Wire.h)
  -> candidates: [Wire@1.0]
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1307RTC-1.4.0" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "C:\\Users\\user\\AppData\\Local\\Temp\\arduino_build_988959\\sketch\\RTC_Zegar_org_prostaczcionka.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for LiquidCrystal_I2C.h: [New-LiquidCrystal-master]
ResolveLibrary(LiquidCrystal_I2C.h)
  -> candidates: [New-LiquidCrystal-master]
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1307RTC-1.4.0" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "C:\\Users\\user\\AppData\\Local\\Temp\\arduino_build_988959\\sketch\\RTC_Zegar_org_prostaczcionka.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1307RTC-1.4.0" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "C:\\Users\\user\\Documents\\Arduino\\libraries\\DS1307RTC-1.4.0\\DS1307RTC.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1307RTC-1.4.0" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "C:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src\\Wire.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1307RTC-1.4.0" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "C:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src\\utility\\twi.c" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1307RTC-1.4.0" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\utility" "C:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\FastIO.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1307RTC-1.4.0" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\utility" "C:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\I2CIO.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1307RTC-1.4.0" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\utility" "C:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\LCD.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1307RTC-1.4.0" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\utility" "C:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\LiquidCrystal.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1307RTC-1.4.0" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\utility" "C:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\LiquidCrystal_I2C.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1307RTC-1.4.0" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\utility" "C:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\LiquidCrystal_I2C_ByVac.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1307RTC-1.4.0" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\utility" "C:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\LiquidCrystal_SI2C.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1307RTC-1.4.0" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\utility" "C:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\LiquidCrystal_SR.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1307RTC-1.4.0" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\utility" "C:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\LiquidCrystal_SR1W.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1307RTC-1.4.0" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\utility" "C:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\LiquidCrystal_SR2W.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1307RTC-1.4.0" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\utility" "C:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\LiquidCrystal_SR3W.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1307RTC-1.4.0" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\utility" "C:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\SI2CIO.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
Generating function prototypes...
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1307RTC-1.4.0" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "C:\\Users\\user\\AppData\\Local\\Temp\\arduino_build_988959\\sketch\\RTC_Zegar_org_prostaczcionka.ino.cpp" -o "C:\\Users\\user\\AppData\\Local\\Temp\\arduino_build_988959\\preproc\\ctags_target_for_gcc_minus_e.cpp" -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\user\\AppData\\Local\\Temp\\arduino_build_988959\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Kompilowanie szkicu...
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1307RTC-1.4.0" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "C:\\Users\\user\\AppData\\Local\\Temp\\arduino_build_988959\\sketch\\RTC_Zegar_org_prostaczcionka.ino.cpp" -o "C:\\Users\\user\\AppData\\Local\\Temp\\arduino_build_988959\\sketch\\RTC_Zegar_org_prostaczcionka.ino.cpp.o"
In file included from C:\Users\user\Desktop\RTC_Zegar_org_prostaczcionka\RTC_Zegar_org_prostaczcionka.ino:1:0:
C:\Users\user\Documents\Arduino\libraries\DS1307RTC-1.4.0/DS1307RTC.h:19:22: error: 'tmElements_t' has not been declared
     static bool read(tmElements_t &tm);
                      ^~~~~~~~~~~~
C:\Users\user\Documents\Arduino\libraries\DS1307RTC-1.4.0/DS1307RTC.h:20:23: error: 'tmElements_t' has not been declared
     static bool write(tmElements_t &tm);
                       ^~~~~~~~~~~~
C:\Users\user\Desktop\RTC_Zegar_org_prostaczcionka\RTC_Zegar_org_prostaczcionka.ino: In function 'void loop()':
RTC_Zegar_org_prostaczcionka:181:3: error: 'tmElements_t' was not declared in this scope
   tmElements_t tm;
   ^~~~~~~~~~~~
RTC_Zegar_org_prostaczcionka:183:18: error: expected primary-expression before ')' token
   if (RTC.read(tm)) {
                  ^
RTC_Zegar_org_prostaczcionka:185:19: error: expected primary-expression before '.' token
   int br_hour = tm.Hour;
                   ^
RTC_Zegar_org_prostaczcionka:186:21: error: expected primary-expression before '.' token
   int br_minute = tm.Minute;
                     ^
RTC_Zegar_org_prostaczcionka:200:8: error: expected primary-expression before '.' token
   if(tm.Hour < 10){
        ^
RTC_Zegar_org_prostaczcionka:214:8: error: expected primary-expression before '.' token
   if(tm.Minute < 10){
        ^
RTC_Zegar_org_prostaczcionka:226:23: error: expected primary-expression before '.' token
     LCDprint2digits(tm.Second);
                       ^
RTC_Zegar_org_prostaczcionka:228:17: error: expected primary-expression before '.' token
     lcd.print(tm.Day);
                 ^
RTC_Zegar_org_prostaczcionka:230:14: error: expected primary-expression before '.' token
     LCDm2d(tm.Month);
              ^
RTC_Zegar_org_prostaczcionka:232:17: error: expected primary-expression before '.' token
     lcd.print(tm.Year-30);
                 ^
RTC_Zegar_org_prostaczcionka:234:25: error: expected primary-expression before '.' token
     lcd.print(dayName[tm.Wday]);
                         ^
RTC_Zegar_org_prostaczcionka:236:8: error: expected primary-expression before '.' token
   if(tm.Wday==0){
        ^
RTC_Zegar_org_prostaczcionka:239:8: error: expected primary-expression before '.' token
   if(tm.Wday==1){
        ^
RTC_Zegar_org_prostaczcionka:242:8: error: expected primary-expression before '.' token
   if(tm.Wday==6){
        ^
RTC_Zegar_org_prostaczcionka:245:8: error: expected primary-expression before '.' token
   if(tm.Wday==5){
        ^
Użycie biblioteki DS1307RTC-1.4.0 w wersji 1.4 z folderu: C:\Users\user\Documents\Arduino\libraries\DS1307RTC-1.4.0
Użycie biblioteki Wire w wersji 1.0 z folderu: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire
Użycie biblioteki New-LiquidCrystal-master z folderu C:\Users\user\Documents\Arduino\libraries\New-LiquidCrystal-master (legacy)
exit status 1
'tmElements_t' was not declared in this scope

 

Link to post
Share on other sites
13 godzin temu, Aidenx napisał:

W tytule podałem tytuł błędu, widziałem że błąd jest popularny

Tak, jest popularny, bo może wynikać z 99999+ różnych powodów ;) Dopiero ta dalsza część komunikatu to prawdziwa informacja o błędzie. Te błędy ewidentnie wskazują na to, że masz braki w zainstalowanych bibliotekach. Które dokładnie biblioteki zainstalowałeś? Pamiętaj, że nazwa biblioteki to nie wszystko - pod jedną nazwą może występować kilka zupełnie różnych bibliotek.

Link to post
Share on other sites

@Aidenx ja nie mam pojęcia co to za zegar i jak ma działać, więc to raczej Ty musisz nam to powiedzieć 🙂 Poszukaj gdzie w programie jest taki kawałek tekstu i zobacz co tam się dzieje. Raczej nie wygląda to poprawnie.

Link to post
Share on other sites

@Treker czy to może być błąd poprze bibliotekę 1307 a ja mam zegar 1302? jeśli tak to po wgraniu drugiej biblioteki wyskakuje ten błąd

Arduino:1.8.13 (Windows 7), Płytka:"Arduino Leonardo"

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\user\Documents\Arduino\libraries -fqbn=arduino:avr:leonardo -ide-version=10813 -build-path C:\Users\user\AppData\Local\Temp\arduino_build_943434 -warnings=none -build-cache C:\Users\user\AppData\Local\Temp\arduino_cache_220091 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\user\Desktop\RTC_Zegar_org_prostaczcionka\RTC_Zegar_org_prostaczcionka.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\user\Documents\Arduino\libraries -fqbn=arduino:avr:leonardo -ide-version=10813 -build-path C:\Users\user\AppData\Local\Temp\arduino_build_943434 -warnings=none -build-cache C:\Users\user\AppData\Local\Temp\arduino_cache_220091 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\user\Desktop\RTC_Zegar_org_prostaczcionka\RTC_Zegar_org_prostaczcionka.ino
Using board 'leonardo' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Detecting libraries used...
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "C:\\Users\\user\\AppData\\Local\\Temp\\arduino_build_943434\\sketch\\RTC_Zegar_org_prostaczcionka.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for DS1302RTC.h: [DS1302RTC]
ResolveLibrary(DS1302RTC.h)
  -> candidates: [DS1302RTC]
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1302RTC" "C:\\Users\\user\\AppData\\Local\\Temp\\arduino_build_943434\\sketch\\RTC_Zegar_org_prostaczcionka.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for TimeLib.h: [Time-master@1.6]
ResolveLibrary(TimeLib.h)
  -> candidates: [Time-master@1.6]
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1302RTC" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\Time-master" "C:\\Users\\user\\AppData\\Local\\Temp\\arduino_build_943434\\sketch\\RTC_Zegar_org_prostaczcionka.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for Wire.h: [Wire@1.0]
ResolveLibrary(Wire.h)
  -> candidates: [Wire@1.0]
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1302RTC" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\Time-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "C:\\Users\\user\\AppData\\Local\\Temp\\arduino_build_943434\\sketch\\RTC_Zegar_org_prostaczcionka.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
Alternatives for LiquidCrystal_I2C.h: [New-LiquidCrystal-master]
ResolveLibrary(LiquidCrystal_I2C.h)
  -> candidates: [New-LiquidCrystal-master]
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1302RTC" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\Time-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "C:\\Users\\user\\AppData\\Local\\Temp\\arduino_build_943434\\sketch\\RTC_Zegar_org_prostaczcionka.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1302RTC" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\Time-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "C:\\Users\\user\\Documents\\Arduino\\libraries\\DS1302RTC\\DS1302RTC.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1302RTC" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\Time-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "C:\\Users\\user\\Documents\\Arduino\\libraries\\Time-master\\DateStrings.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1302RTC" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\Time-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "C:\\Users\\user\\Documents\\Arduino\\libraries\\Time-master\\Time.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1302RTC" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\Time-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "C:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src\\Wire.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1302RTC" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\Time-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "C:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src\\utility\\twi.c" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1302RTC" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\Time-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\utility" "C:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\FastIO.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1302RTC" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\Time-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\utility" "C:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\I2CIO.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1302RTC" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\Time-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\utility" "C:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\LCD.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1302RTC" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\Time-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\utility" "C:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\LiquidCrystal.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1302RTC" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\Time-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\utility" "C:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\LiquidCrystal_I2C.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1302RTC" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\Time-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\utility" "C:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\LiquidCrystal_I2C_ByVac.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1302RTC" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\Time-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\utility" "C:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\LiquidCrystal_SI2C.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1302RTC" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\Time-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\utility" "C:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\LiquidCrystal_SR.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1302RTC" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\Time-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\utility" "C:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\LiquidCrystal_SR1W.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1302RTC" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\Time-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\utility" "C:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\LiquidCrystal_SR2W.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1302RTC" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\Time-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\utility" "C:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\LiquidCrystal_SR3W.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1302RTC" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\Time-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\utility" "C:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master\\SI2CIO.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE
Generating function prototypes...
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1302RTC" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\Time-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "C:\\Users\\user\\AppData\\Local\\Temp\\arduino_build_943434\\sketch\\RTC_Zegar_org_prostaczcionka.ino.cpp" -o "C:\\Users\\user\\AppData\\Local\\Temp\\arduino_build_943434\\preproc\\ctags_target_for_gcc_minus_e.cpp" -DARDUINO_LIB_DISCOVERY_PHASE
"C:\\Program Files (x86)\\Arduino\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\user\\AppData\\Local\\Temp\\arduino_build_943434\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Kompilowanie szkicu...
"C:\\Program Files (x86)\\Arduino\\hardware\\tools\\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10813 -DARDUINO_AVR_LEONARDO -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8036 "-DUSB_MANUFACTURER=\"Unknown\"" "-DUSB_PRODUCT=\"Arduino Leonardo\"" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\leonardo" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\DS1302RTC" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\Time-master" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\user\\Documents\\Arduino\\libraries\\New-LiquidCrystal-master" "C:\\Users\\user\\AppData\\Local\\Temp\\arduino_build_943434\\sketch\\RTC_Zegar_org_prostaczcionka.ino.cpp" -o "C:\\Users\\user\\AppData\\Local\\Temp\\arduino_build_943434\\sketch\\RTC_Zegar_org_prostaczcionka.ino.cpp.o"
C:\Users\user\Desktop\RTC_Zegar_org_prostaczcionka\RTC_Zegar_org_prostaczcionka.ino: In function 'void loop()':
RTC_Zegar_org_prostaczcionka:186:7: error: 'RTC' was not declared in this scope
   if (RTC.read(tm)) {
       ^~~
Użycie biblioteki DS1302RTC z folderu C:\Users\user\Documents\Arduino\libraries\DS1302RTC (legacy)
Użycie biblioteki Time-master w wersji 1.6 z folderu: C:\Users\user\Documents\Arduino\libraries\Time-master
Użycie biblioteki Wire w wersji 1.0 z folderu: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire
Użycie biblioteki New-LiquidCrystal-master z folderu C:\Users\user\Documents\Arduino\libraries\New-LiquidCrystal-master (legacy)
exit status 1
'RTC' was not declared in this scope

projekt jest zrobiony z ds1307rtc a ja posiadam ds1302rtc tylko ze moj posiada jeden pin wiecej, nie wiem jak to podłączyć mógłby ktoś pomóc z wykonaniem projektu?

mam wszystko zrobione według tego poradnika

Link to post
Share on other sites

@Aidenx jeśli wykorzystujesz inne elementy niż użyte w projekcie to niestety nie masz co się dziwić, że są błędy. Pogubiłem się jednak skąd nagle wzięły się te błędy w poprzednim poście. Poprzednio niby się skompilowało. Co zmieniłeś?

Kody programów i błędów należy umieszczać za pomocą odpowiedniego narzędzia dostępnego w edytorze (przycisk "Wstaw kod"). Programy są wtedy prezentowane w czytelny sposób, a ich składania jest kolorowana. Tym razem poprawiłem to za Ciebie, ale pamiętaj o tej opcji w przyszłości. Z góry dziękuję za zrozumienie i pomoc w utrzymaniu porządku 😉

Link to post
Share on other sites
Zarejestruj się lub zaloguj, aby ukryć tę reklamę.
Zarejestruj się lub zaloguj, aby ukryć tę reklamę.

jlcpcb.jpg

jlcpcb.jpg

Produkcja i montaż PCB - wybierz sprawdzone PCBWay!
   • Darmowe płytki dla studentów i projektów non-profit
   • Tylko 5$ za 10 prototypów PCB w 24 godziny
   • Usługa projektowania PCB na zlecenie
   • Montaż PCB od 30$ + bezpłatna dostawa i szablony
   • Darmowe narzędzie do podglądu plików Gerber
Zobacz również » Film z fabryki PCBWay

Dołącz do dyskusji, napisz odpowiedź!

Jeśli masz już konto to zaloguj się teraz, aby opublikować wiadomość jako Ty. Możesz też napisać teraz i zarejestrować się później.
Uwaga: wgrywanie zdjęć i załączników dostępne jest po zalogowaniu!

Anonim
Dołącz do dyskusji! Kliknij i zacznij pisać...

×   Wklejony jako tekst z formatowaniem.   Przywróć formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Twój link będzie automatycznie osadzony.   Wyświetlać jako link

×   Twoja poprzednia zawartość została przywrócona.   Wyczyść edytor

×   Nie możesz wkleić zdjęć bezpośrednio. Prześlij lub wstaw obrazy z adresu URL.

×
×
  • Utwórz nowe...

Ważne informacje

Ta strona używa ciasteczek (cookies), dzięki którym może działać lepiej. Więcej na ten temat znajdziesz w Polityce Prywatności.