• Witaj na Forum Arduino Polska! Zapraszamy do rejestracji!
  • Znajdziesz tutaj wiele informacji na temat hardware / software.
Witaj! Logowanie Rejestracja


Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
Błąd biblioteki od wyświetlacza.
#1
Cześć. 
Po zainstalowaniu biblioteki wyświetlacza podcxas kompilacji wyskakuje mi taki błąd. 
Bardzo proszę o pomoc. 
Kod:
Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\sketch\hd44780.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\libraries\hd44780\hd44780.cpp.o (symbol from plugin): In function `hd44780::hd44780()':
(.text+0x0): multiple definition of `hd44780::clear()'
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\sketch\hd44780.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\libraries\hd44780\hd44780.cpp.o (symbol from plugin): In function `hd44780::hd44780()':
(.text+0x0): multiple definition of `hd44780::home()'
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\sketch\hd44780.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\libraries\hd44780\hd44780.cpp.o (symbol from plugin): In function `hd44780::hd44780()':
(.text+0x0): multiple definition of `hd44780::setCursor(unsigned char, unsigned char)'
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\sketch\hd44780.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\libraries\hd44780\hd44780.cpp.o (symbol from plugin): In function `hd44780::hd44780()':
(.text+0x0): multiple definition of `hd44780::noDisplay()'
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\sketch\hd44780.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\libraries\hd44780\hd44780.cpp.o (symbol from plugin): In function `hd44780::hd44780()':
(.text+0x0): multiple definition of `hd44780::off()'
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\sketch\hd44780.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\libraries\hd44780\hd44780.cpp.o (symbol from plugin): In function `hd44780::hd44780()':
(.text+0x0): multiple definition of `hd44780::display()'
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\sketch\hd44780.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\libraries\hd44780\hd44780.cpp.o (symbol from plugin): In function `hd44780::hd44780()':
(.text+0x0): multiple definition of `hd44780::on()'
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\sketch\hd44780.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\libraries\hd44780\hd44780.cpp.o (symbol from plugin): In function `hd44780::hd44780()':
(.text+0x0): multiple definition of `hd44780::begin(unsigned char, unsigned char, unsigned char)'
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\sketch\hd44780.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\libraries\hd44780\hd44780.cpp.o (symbol from plugin): In function `hd44780::hd44780()':
(.text+0x0): multiple definition of `hd44780::init()'
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\sketch\hd44780.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\libraries\hd44780\hd44780.cpp.o (symbol from plugin): In function `hd44780::hd44780()':
(.text+0x0): multiple definition of `hd44780::noCursor()'
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\sketch\hd44780.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\libraries\hd44780\hd44780.cpp.o (symbol from plugin): In function `hd44780::hd44780()':
(.text+0x0): multiple definition of `hd44780::cursor()'
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\sketch\hd44780.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\libraries\hd44780\hd44780.cpp.o (symbol from plugin): In function `hd44780::hd44780()':
(.text+0x0): multiple definition of `hd44780::noBlink()'
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\sketch\hd44780.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\libraries\hd44780\hd44780.cpp.o (symbol from plugin): In function `hd44780::hd44780()':
(.text+0x0): multiple definition of `hd44780::blink()'
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\sketch\hd44780.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\libraries\hd44780\hd44780.cpp.o (symbol from plugin): In function `hd44780::hd44780()':
(.text+0x0): multiple definition of `hd44780::scrollDisplayLeft()'
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\sketch\hd44780.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\libraries\hd44780\hd44780.cpp.o (symbol from plugin): In function `hd44780::hd44780()':
(.text+0x0): multiple definition of `hd44780::scrollDisplayRight()'
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\sketch\hd44780.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\libraries\hd44780\hd44780.cpp.o (symbol from plugin): In function `hd44780::hd44780()':
(.text+0x0): multiple definition of `hd44780::leftToRight()'
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\sketch\hd44780.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\libraries\hd44780\hd44780.cpp.o (symbol from plugin): In function `hd44780::hd44780()':
(.text+0x0): multiple definition of `hd44780::rightToLeft()'
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\sketch\hd44780.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\libraries\hd44780\hd44780.cpp.o (symbol from plugin): In function `hd44780::hd44780()':
(.text+0x0): multiple definition of `hd44780::moveCursorRight()'
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\sketch\hd44780.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\libraries\hd44780\hd44780.cpp.o (symbol from plugin): In function `hd44780::hd44780()':
(.text+0x0): multiple definition of `hd44780::moveCursorLeft()'
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\sketch\hd44780.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\libraries\hd44780\hd44780.cpp.o (symbol from plugin): In function `hd44780::hd44780()':
(.text+0x0): multiple definition of `hd44780::autoscroll()'
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\sketch\hd44780.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\libraries\hd44780\hd44780.cpp.o (symbol from plugin): In function `hd44780::hd44780()':
(.text+0x0): multiple definition of `hd44780::noAutoscroll()'
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\sketch\hd44780.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\libraries\hd44780\hd44780.cpp.o (symbol from plugin): In function `hd44780::hd44780()':
(.text+0x0): multiple definition of `hd44780::status()'
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\sketch\hd44780.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\libraries\hd44780\hd44780.cpp.o (symbol from plugin): In function `hd44780::hd44780()':
(.text+0x0): multiple definition of `hd44780::read()'
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\sketch\hd44780.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\libraries\hd44780\hd44780.cpp.o (symbol from plugin): In function `hd44780::hd44780()':
(.text+0x0): multiple definition of `hd44780::_write(unsigned char)'
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\sketch\hd44780.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\libraries\hd44780\hd44780.cpp.o (symbol from plugin): In function `hd44780::hd44780()':
(.text+0x0): multiple definition of `hd44780::createChar(unsigned char, unsigned char*)'
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\sketch\hd44780.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\libraries\hd44780\hd44780.cpp.o (symbol from plugin): In function `hd44780::hd44780()':
(.text+0x0): multiple definition of `hd44780::createChar(unsigned char, unsigned char const*)'
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\sketch\hd44780.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\libraries\hd44780\hd44780.cpp.o (symbol from plugin): In function `hd44780::hd44780()':
(.text+0x0): multiple definition of `hd44780::write(unsigned char)'
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\sketch\hd44780.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\libraries\hd44780\hd44780.cpp.o (symbol from plugin): In function `hd44780::hd44780()':
(.text+0x0): multiple definition of `hd44780::blinkLED(int)'
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\sketch\hd44780.cpp.o (symbol from plugin):(.text+0x0): first defined here
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\libraries\hd44780\hd44780.cpp.o (symbol from plugin): In function `hd44780::hd44780()':
(.text+0x0): multiple definition of `hd44780::fatalError(int)'
C:\Users\Jarek\AppData\Local\Temp\arduino\sketches\7568DC6724BE30507BF1F9A2300409EC\sketch\hd44780.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2.exe: error: ld returned 1 exit status

exit status 1

Compilation error: exit status 1
 
Odpowiedź
#2
(22-11-2024, 19:18)Panjarek napisał(a): Cześć. 
Po zainstalowaniu biblioteki wyświetlacza podcxas kompilacji wyskakuje mi taki błąd. 
Bardzo proszę o pomoc. 

Wygląda że z jakiegoś powodu masz tą bibliotekę zapisaną więcej niż raz - raz w katalogu ze szkicami a raz bibliotekami. Tak jakbyś raz ściągnął źródło, a raz zainstalował bibliotekę. Sprawdź czy w katalogu ze szkicem nie masz przypadkiem innych plików - arduino kompiluje wszystko co tam znajdzie.
 
Odpowiedź
#3
Miałeś rację. Dziękuję bardzo.
 
Odpowiedź
  


Skocz do:


Przeglądający: 1 gości