Непонятная ошибка компиляции для платы Arduino Uno

duckinjelly
Offline
Зарегистрирован: 08.03.2019

Здравствуйте, я только начинаю работать с ардуино и сейчас разбираюсь с LCD дисплеем. Подключила его через i2c, загрузила скетч

 



и при проверке выдает ошибку компиляции и  что меня больше тревожит, что текст ошибки в конце следующий 

C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:174: error: expected unqualified-id before numeric constant 



Mac OS X 2 ° â ATTR;šÉ˙ â ? 9 ? 9 com.apple.quarantine 0083;5c81a360;Safari;887D5734-6616-4082-8487-84862FDE8ACA This resource fork intentionally left blank ˙˙ 



exit status 1 

?????? ?????????? ??? ????? Arduino/Genuino Uno.

какой то такой бред... Я предпологаю что Mac OS X  там появляется, потому что я до этого подключала ардуино к дригому компу на котором стоит OS X

duckinjelly
Offline
Зарегистрирован: 08.03.2019
#include <Wire.h> 
#include <LiquidCrystal_I2C.h> 

LiquidCrystal_I2C lcd(0x27,16,2); 

void setup() { 
lcd.init(); //inicializace 
lcd.print("Hello, world!"); 
// put your setup code here, to run once: 

} 

void loop() { 
// put your main code here, to run repeatedly: 

}

это скетч и да сейчас я работаю под windows 

ЕвгенийП
ЕвгенийП аватар
Offline
Зарегистрирован: 25.05.2015

Ну, ошибка-то выдаётся в библиотечном файле.

Света, Вы не могли бы "чисто" запустить без путаницы и выложить полностью текст ошибки, скетча, а если ошибка в библиотеке, то и библиотеки?

duckinjelly
Offline
Зарегистрирован: 08.03.2019

Здравствуйте, чисто это как? Пустой скетч?

ЕвгенийП
ЕвгенийП аватар
Offline
Зарегистрирован: 25.05.2015

duckinjelly пишет:
чисто это как?
Чисто - это уж в виндовсе, так в виндовсе, а на маке, так на маке. А то заявления о том, что на виндовсе выдаётся маковское сообщение потому, что в прошлый раз на маке запускала как-то напрягает :)

duckinjelly
Offline
Зарегистрирован: 08.03.2019

OK! Ну да, наверное со стороны глупое предположение. Запускаю на виндовс. Скетч такой же как и в первом сообщении (вверху).

duckinjelly
Offline
Зарегистрирован: 08.03.2019

 

Arduino: 1.8.8 (Windows 10), Плата:"Arduino/Genuino Uno"
D:\UNIVERZITA\6.SEMESTR\BP\arduino-1.8.8-windows\arduino-1.8.8\arduino-builder -dump-prefs -logger=machine -hardware D:\UNIVERZITA\6.SEMESTR\BP\arduino-1.8.8-windows\arduino-1.8.8\hardware -tools D:\UNIVERZITA\6.SEMESTR\BP\arduino-1.8.8-windows\arduino-1.8.8\tools-builder -tools D:\UNIVERZITA\6.SEMESTR\BP\arduino-1.8.8-windows\arduino-1.8.8\hardware\tools\avr -built-in-libraries D:\UNIVERZITA\6.SEMESTR\BP\arduino-1.8.8-windows\arduino-1.8.8\libraries -libraries C:\Users\Světlana\Documents\Arduino\libraries -fqbn=arduino:avr:uno -ide-version=10808 -build-path C:\Users\SVTLAN~1\AppData\Local\Temp\arduino_build_21234 -warnings=none -build-cache C:\Users\SVTLAN~1\AppData\Local\Temp\arduino_cache_93209 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=D:\UNIVERZITA\6.SEMESTR\BP\arduino-1.8.8-windows\arduino-1.8.8\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=D:\UNIVERZITA\6.SEMESTR\BP\arduino-1.8.8-windows\arduino-1.8.8\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=D:\UNIVERZITA\6.SEMESTR\BP\arduino-1.8.8-windows\arduino-1.8.8\hardware\tools\avr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=D:\UNIVERZITA\6.SEMESTR\BP\arduino-1.8.8-windows\arduino-1.8.8\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=D:\UNIVERZITA\6.SEMESTR\BP\arduino-1.8.8-windows\arduino-1.8.8\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.2.1.path=D:\UNIVERZITA\6.SEMESTR\BP\arduino-1.8.8-windows\arduino-1.8.8\hardware\tools\avr -verbose D:\UNIVERZITA\6.SEMESTR\BP\display\Hello_world\Hello_world.ino
D:\UNIVERZITA\6.SEMESTR\BP\arduino-1.8.8-windows\arduino-1.8.8\arduino-builder -compile -logger=machine -hardware D:\UNIVERZITA\6.SEMESTR\BP\arduino-1.8.8-windows\arduino-1.8.8\hardware -tools D:\UNIVERZITA\6.SEMESTR\BP\arduino-1.8.8-windows\arduino-1.8.8\tools-builder -tools D:\UNIVERZITA\6.SEMESTR\BP\arduino-1.8.8-windows\arduino-1.8.8\hardware\tools\avr -built-in-libraries D:\UNIVERZITA\6.SEMESTR\BP\arduino-1.8.8-windows\arduino-1.8.8\libraries -libraries C:\Users\Světlana\Documents\Arduino\libraries -fqbn=arduino:avr:uno -ide-version=10808 -build-path C:\Users\SVTLAN~1\AppData\Local\Temp\arduino_build_21234 -warnings=none -build-cache C:\Users\SVTLAN~1\AppData\Local\Temp\arduino_cache_93209 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=D:\UNIVERZITA\6.SEMESTR\BP\arduino-1.8.8-windows\arduino-1.8.8\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=D:\UNIVERZITA\6.SEMESTR\BP\arduino-1.8.8-windows\arduino-1.8.8\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=D:\UNIVERZITA\6.SEMESTR\BP\arduino-1.8.8-windows\arduino-1.8.8\hardware\tools\avr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=D:\UNIVERZITA\6.SEMESTR\BP\arduino-1.8.8-windows\arduino-1.8.8\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=D:\UNIVERZITA\6.SEMESTR\BP\arduino-1.8.8-windows\arduino-1.8.8\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.2.1.path=D:\UNIVERZITA\6.SEMESTR\BP\arduino-1.8.8-windows\arduino-1.8.8\hardware\tools\avr -verbose D:\UNIVERZITA\6.SEMESTR\BP\display\Hello_world\Hello_world.ino
Using board 'uno' from platform in folder: D:\UNIVERZITA\6.SEMESTR\BP\arduino-1.8.8-windows\arduino-1.8.8\hardware\arduino\avr
Using core 'arduino' from platform in folder: D:\UNIVERZITA\6.SEMESTR\BP\arduino-1.8.8-windows\arduino-1.8.8\hardware\arduino\avr
Detecting libraries used...
"D:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\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=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-ID:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\cores\\arduino" "-ID:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\variants\\standard" "C:\\Users\\SVTLAN~1\\AppData\\Local\\Temp\\arduino_build_21234\\sketch\\Hello_world.ino.cpp" -o nul
"D:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\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=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-ID:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\cores\\arduino" "-ID:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\variants\\standard" "-ID:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\libraries\\Wire\\src" "C:\\Users\\SVTLAN~1\\AppData\\Local\\Temp\\arduino_build_21234\\sketch\\Hello_world.ino.cpp" -o nul
"D:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\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=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-ID:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\cores\\arduino" "-ID:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\variants\\standard" "-ID:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\Světlana\\Documents\\Arduino\\libraries\\LiquidCrystal_I2C" "C:\\Users\\SVTLAN~1\\AppData\\Local\\Temp\\arduino_build_21234\\sketch\\Hello_world.ino.cpp" -o nul
"D:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\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=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-ID:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\cores\\arduino" "-ID:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\variants\\standard" "-ID:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\Světlana\\Documents\\Arduino\\libraries\\LiquidCrystal_I2C" "D:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\libraries\\Wire\\src\\Wire.cpp" -o nul
"D:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\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=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-ID:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\cores\\arduino" "-ID:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\variants\\standard" "-ID:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\Světlana\\Documents\\Arduino\\libraries\\LiquidCrystal_I2C" "D:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\libraries\\Wire\\src\\utility\\twi.c" -o nul
"D:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\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=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-ID:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\cores\\arduino" "-ID:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\variants\\standard" "-ID:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\Světlana\\Documents\\Arduino\\libraries\\LiquidCrystal_I2C" "C:\\Users\\Světlana\\Documents\\Arduino\\libraries\\LiquidCrystal_I2C\\LiquidCrystal_I2C.cpp" -o nul
Generating function prototypes...
"D:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\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=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-ID:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\cores\\arduino" "-ID:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\variants\\standard" "-ID:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\Světlana\\Documents\\Arduino\\libraries\\LiquidCrystal_I2C" "C:\\Users\\SVTLAN~1\\AppData\\Local\\Temp\\arduino_build_21234\\sketch\\Hello_world.ino.cpp" -o "C:\\Users\\SVTLAN~1\\AppData\\Local\\Temp\\arduino_build_21234\\preproc\\ctags_target_for_gcc_minus_e.cpp"
"D:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\SVTLAN~1\\AppData\\Local\\Temp\\arduino_build_21234\\preproc\\ctags_target_for_gcc_minus_e.cpp"
?????????? ??????...
"D:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\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=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-ID:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\cores\\arduino" "-ID:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\variants\\standard" "-ID:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\Světlana\\Documents\\Arduino\\libraries\\LiquidCrystal_I2C" "C:\\Users\\SVTLAN~1\\AppData\\Local\\Temp\\arduino_build_21234\\sketch\\Hello_world.ino.cpp" -o "C:\\Users\\SVTLAN~1\\AppData\\Local\\Temp\\arduino_build_21234\\sketch\\Hello_world.ino.cpp.o"
Compiling libraries...
Compiling library "Wire"
"D:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\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=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-ID:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\cores\\arduino" "-ID:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\variants\\standard" "-ID:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\Světlana\\Documents\\Arduino\\libraries\\LiquidCrystal_I2C" "D:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\libraries\\Wire\\src\\Wire.cpp" -o "C:\\Users\\SVTLAN~1\\AppData\\Local\\Temp\\arduino_build_21234\\libraries\\Wire\\Wire.cpp.o"
"D:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\tools\\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-ID:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\cores\\arduino" "-ID:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\variants\\standard" "-ID:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\Světlana\\Documents\\Arduino\\libraries\\LiquidCrystal_I2C" "D:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\libraries\\Wire\\src\\utility\\twi.c" -o "C:\\Users\\SVTLAN~1\\AppData\\Local\\Temp\\arduino_build_21234\\libraries\\Wire\\utility\\twi.c.o"
Compiling library "LiquidCrystal_I2C"
"D:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\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=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-ID:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\cores\\arduino" "-ID:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\variants\\standard" "-ID:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\Světlana\\Documents\\Arduino\\libraries\\LiquidCrystal_I2C" "C:\\Users\\Světlana\\Documents\\Arduino\\libraries\\LiquidCrystal_I2C\\._LiquidCrystal_I2C.cpp" -o "C:\\Users\\SVTLAN~1\\AppData\\Local\\Temp\\arduino_build_21234\\libraries\\LiquidCrystal_I2C\\._LiquidCrystal_I2C.cpp.o"
"D:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\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=atmega328p -DF_CPU=16000000L -DARDUINO=10808 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-ID:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\cores\\arduino" "-ID:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\variants\\standard" "-ID:\\UNIVERZITA\\6.SEMESTR\\BP\\arduino-1.8.8-windows\\arduino-1.8.8\\hardware\\arduino\\avr\\libraries\\Wire\\src" "-IC:\\Users\\Světlana\\Documents\\Arduino\\libraries\\LiquidCrystal_I2C" "C:\\Users\\Světlana\\Documents\\Arduino\\libraries\\LiquidCrystal_I2C\\LiquidCrystal_I2C.cpp" -o "C:\\Users\\SVTLAN~1\\AppData\\Local\\Temp\\arduino_build_21234\\libraries\\LiquidCrystal_I2C\\LiquidCrystal_I2C.cpp.o"
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:2: error: stray '\5' in program
    Mac OS X                2  °     â                                    ATTR;šÉ˙  â   ?   9                  ?   9  com.apple.quarantine 0083;5c81a360;Safari;887D5734-6616-4082-8487-84862FDE8ACA                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              This resource fork intentionally left blank                                                                                                                                                                                                                           ˙˙
  ^
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:2: error: stray '\26' in program
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:2: error: stray '\7' in program
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:2: error: stray '\2' in program
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:2: error: stray '\2' in program
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:2: error: stray '\16' in program
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:2: error: stray '\260' in program
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:2: error: stray '\2' in program
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:2: error: stray '\16' in program
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:2: error: stray '\342' in program
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:2: error: stray '\1' in program
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:2: error: stray '\36' in program
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:2: error: stray '\232' in program
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:2: error: stray '\311' in program
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:2: error: stray '\377' in program
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:2: error: stray '\16' in program
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:2: error: stray '\342' in program
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:2: error: stray '\230' in program
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:2: error: stray '\1' in program
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:2: error: stray '\230' in program
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:2: error: stray '\25' in program
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:153: error: invalid digit "8" in octal constant
    Mac OS X                2  °     â                                    ATTR;šÉ˙  â   ?   9                  ?   9  com.apple.quarantine 0083;5c81a360;Safari;887D5734-6616-4082-8487-84862FDE8ACA                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              This resource fork intentionally left blank                                                                                                                                                                                                                           ˙˙
                                                                                                                                                         ^
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:2: error: stray '\1' in program
    Mac OS X                2  °     â                                    ATTR;šÉ˙  â   ?   9                  ?   9  com.apple.quarantine 0083;5c81a360;Safari;887D5734-6616-4082-8487-84862FDE8ACA                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              This resource fork intentionally left blank                                                                                                                                                                                                                           ˙˙
  ^
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:2: error: stray '\1' in program
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:2: error: stray '\36' in program
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:2: error: stray '\1' in program
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:2: error: stray '\1' in program
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:2: error: stray '\36' in program
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:2: error: stray '\34' in program
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:2: error: stray '\36' in program
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:2: error: stray '\377' in program
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:2: error: stray '\377' in program
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:9: error: 'Mac' does not name a type
    Mac OS X                2  °     â                                    ATTR;šÉ˙  â   ?   9                  ?   9  com.apple.quarantine 0083;5c81a360;Safari;887D5734-6616-4082-8487-84862FDE8ACA                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              This resource fork intentionally left blank                                                                                                                                                                                                                           ˙˙
         ^
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:104: error: expected unqualified-id before numeric constant
    Mac OS X                2  °     â                                    ATTR;šÉ˙  â   ?   9                  ?   9  com.apple.quarantine 0083;5c81a360;Safari;887D5734-6616-4082-8487-84862FDE8ACA                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              This resource fork intentionally left blank                                                                                                                                                                                                                           ˙˙
                                                                                                        ^
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:158: error: expected unqualified-id before numeric constant
    Mac OS X                2  °     â                                    ATTR;šÉ˙  â   ?   9                  ?   9  com.apple.quarantine 0083;5c81a360;Safari;887D5734-6616-4082-8487-84862FDE8ACA                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              This resource fork intentionally left blank                                                                                                                                                                                                                           ˙˙
                                                                                                                                                              ^
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:167: error: 'Safari' does not name a type
?????????? ?????????? Wire ?????? 1.0 ?? ?????: D:\UNIVERZITA\6.SEMESTR\BP\arduino-1.8.8-windows\arduino-1.8.8\hardware\arduino\avr\libraries\Wire
?????????? ?????????? LiquidCrystal_I2C ? ?????: C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C (legacy)
    Mac OS X                2  °     â                                    ATTR;šÉ˙  â   ?   9                  ?   9  com.apple.quarantine 0083;5c81a360;Safari;887D5734-6616-4082-8487-84862FDE8ACA                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              This resource fork intentionally left blank                                                                                                                                                                                                                           ˙˙
                                                                                                                                                                       ^
C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C\._LiquidCrystal_I2C.cpp:1:174: error: expected unqualified-id before numeric constant
    Mac OS X                2  °     â                                    ATTR;šÉ˙  â   ?   9                  ?   9  com.apple.quarantine 0083;5c81a360;Safari;887D5734-6616-4082-8487-84862FDE8ACA                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              This resource fork intentionally left blank                                                                                                                                                                                                                           ˙˙
                                                                                                                                                                              ^
exit status 1
?????? ?????????? ??? ????? Arduino/Genuino Uno.

 

sadman41
Онлайн
Зарегистрирован: 19.10.2016

Предлагаю через Explorer удалить целиком каталог C:\Users\Světlana\Documents\Arduino\libraries\LiquidCrystal_I2C, затем в Arduino IDE сделать Menu-> Sketch -> Include Library -> Manage Libraries. Там найти LiquidCrystal_I2C и сделать Install.

duckinjelly
Offline
Зарегистрирован: 08.03.2019

Здравствуйте, сделала, как вы сказали, запустила пустой скетч - все скомпилировалось! Попробую запустить свой скетч

duckinjelly
Offline
Зарегистрирован: 08.03.2019

В скетче прописываю библиотеку и выдаёт ошибку ту же самую, может дело в самом файле библиотеки? Или разве нельзя прописать библиотеку и скомпилировать не написав основного скетча, я думаю можно.

duckinjelly
Offline
Зарегистрирован: 08.03.2019

Спасибо за советы, нашка причину ошибки! что то не так с библиотекой, скачала с другого ресурса и все заработало!!!

ЕвгенийП
ЕвгенийП аватар
Offline
Зарегистрирован: 25.05.2015

duckinjelly пишет:

что то не так с библиотекой

Я Вам ещё утром писал

ЕвгенийП пишет:

выложить полностью текст ошибки, скетча, а если ошибка в библиотеке, то и библиотеки

Выложили бы, давно бы разобрались.

ЕвгенийП
ЕвгенийП аватар
Offline
Зарегистрирован: 25.05.2015

Прошу прощения за тормознутость :(

С праздником же!

duckinjelly
Offline
Зарегистрирован: 08.03.2019

Главное, что ошибка нашлась! :) все равно спасибо, все ответы помогли задуматься и найти ошибку :)