Go Down

Topic: pde not working (Read 494 times) previous topic - next topic

chavotronic

Hi,

I downloaded a pde on the internet and i cant making it compile:


DACDisplay\PCD8544.cpp.o: In function `PCD8544':
C:\arduino-0022\arduino-0022\libraries\DACDisplay/PCD8544.cpp:48: multiple definition of `PCD8544::PCD8544(unsigned char, unsigned char, unsigned char, unsigned char, unsigned char)'
PCD8544.cpp.o:C:\Users\David\AppData\Local\Temp\build6164198121952563231.tmp/PCD8544.cpp:48: first defined here
DACDisplay\PCD8544.cpp.o: In function `PCD8544':
C:\arduino-0022\arduino-0022\libraries\DACDisplay/PCD8544.cpp:48: multiple definition of `PCD8544::PCD8544(unsigned char, unsigned char, unsigned char, unsigned char, unsigned char)'
PCD8544.cpp.o:C:\Users\David\AppData\Local\Temp\build6164198121952563231.tmp/PCD8544.cpp:48: first defined here
DACDisplay\PCD8544.cpp.o: In function `PCD8544::createChar(unsigned char, unsigned char const*)':
C:\arduino-0022\arduino-0022\libraries\DACDisplay/PCD8544.cpp:184: multiple definition of `PCD8544::createChar(unsigned char, unsigned char const*)'
PCD8544.cpp.o:C:\Users\David\AppData\Local\Temp\build6164198121952563231.tmp/PCD8544.cpp:184: first defined here
DACDisplay\PCD8544.cpp.o: In function `PCD8544::fontSelect(unsigned int)':
C:\arduino-0022\arduino-0022\libraries\DACDisplay/PCD8544.cpp:191: multiple definition of `PCD8544::fontSelect(unsigned int)'
PCD8544.cpp.o:C:\Users\David\AppData\Local\Temp\build6164198121952563231.tmp/PCD8544.cpp:191: first defined here
DACDisplay\PCD8544.cpp.o: In function `PCD8544::write(unsigned char)':
C:\arduino-0022\arduino-0022\libraries\DACDisplay/PCD8544.cpp:217: multiple definition of `PCD8544::write(unsigned char)'
PCD8544.cpp.o:C:\Users\David\AppData\Local\Temp\build6164198121952563231.tmp/PCD8544.cpp:217: first defined here
DACDisplay\PCD8544.cpp.o: In function `PCD8544::send(unsigned char, unsigned char)':
C:\arduino-0022\arduino-0022\libraries\DACDisplay/PCD8544.cpp:352: multiple definition of `PCD8544::send(unsigned char, unsigned char)'
PCD8544.cpp.o:C:\Users\David\AppData\Local\Temp\build6164198121952563231.tmp/PCD8544.cpp:352: first defined here
DACDisplay\PCD8544.cpp.o: In function `PCD8544::writeglcd(unsigned char)':
C:\arduino-0022\arduino-0022\libraries\DACDisplay/PCD8544.cpp:226: multiple definition of `PCD8544::writeglcd(unsigned char)'
PCD8544.cpp.o:C:\Users\David\AppData\Local\Temp\build6164198121952563231.tmp/PCD8544.cpp:226: first defined here
DACDisplay\PCD8544.cpp.o: In function `PCD8544::setCursor(unsigned char, unsigned char)':
C:\arduino-0022\arduino-0022\libraries\DACDisplay/PCD8544.cpp:171: multiple definition of `PCD8544::setCursor(unsigned char, unsigned char)'
PCD8544.cpp.o:C:\Users\David\AppData\Local\Temp\build6164198121952563231.tmp/PCD8544.cpp:171: first defined here
DACDisplay\PCD8544.cpp.o: In function `PCD8544::home()':
C:\arduino-0022\arduino-0022\libraries\DACDisplay/PCD8544.cpp:165: multiple definition of `PCD8544::home()'
PCD8544.cpp.o:C:\Users\David\AppData\Local\Temp\build6164198121952563231.tmp/PCD8544.cpp:165: first defined here
DACDisplay\PCD8544.cpp.o: In function `PCD8544::drawColumn(unsigned char, unsigned char)':
C:\arduino-0022\arduino-0022\libraries\DACDisplay/PCD8544.cpp:313: multiple definition of `PCD8544::drawColumn(unsigned char, unsigned char)'
PCD8544.cpp.o:C:\Users\David\AppData\Local\Temp\build6164198121952563231.tmp/PCD8544.cpp:313: first defined here
DACDisplay\PCD8544.cpp.o: In function `PCD8544::drawBitmap(unsigned char const*, unsigned char, unsigned char)':
C:\arduino-0022\arduino-0022\libraries\DACDisplay/PCD8544.cpp:291: multiple definition of `PCD8544::drawBitmap(unsigned char const*, unsigned char, unsigned char)'
PCD8544.cpp.o:C:\Users\David\AppData\Local\Temp\build6164198121952563231.tmp/PCD8544.cpp:291: first defined here
DACDisplay\PCD8544.cpp.o: In function `PCD8544::setInverse(bool)':
C:\arduino-0022\arduino-0022\libraries\DACDisplay/PCD8544.cpp:161: multiple definition of `PCD8544::setInverse(bool)'
PCD8544.cpp.o:C:\Users\David\AppData\Local\Temp\build6164198121952563231.tmp/PCD8544.cpp:161: first defined here
DACDisplay\PCD8544.cpp.o: In function `PCD8544::setPower(bool)':
C:\arduino-0022\arduino-0022\libraries\DACDisplay/PCD8544.cpp:143: multiple definition of `PCD8544::setPower(bool)'
PCD8544.cpp.o:C:\Users\David\AppData\Local\Temp\build6164198121952563231.tmp/PCD8544.cpp:143: first defined here
DACDisplay\PCD8544.cpp.o: In function `PCD8544::clearLine()':
C:\arduino-0022\arduino-0022\libraries\DACDisplay/PCD8544.cpp:129: multiple definition of `PCD8544::clearLine()'
PCD8544.cpp.o:C:\Users\David\AppData\Local\Temp\build6164198121952563231.tmp/PCD8544.cpp:129: first defined here
DACDisplay\PCD8544.cpp.o: In function `PCD8544::clear()':
C:\arduino-0022\arduino-0022\libraries\DACDisplay/PCD8544.cpp:117: multiple definition of `PCD8544::clear()'
PCD8544.cpp.o:C:\Users\David\AppData\Local\Temp\build6164198121952563231.tmp/PCD8544.cpp:117: first defined here
DACDisplay\PCD8544.cpp.o: In function `PCD8544::stop()':
C:\arduino-0022\arduino-0022\libraries\DACDisplay/PCD8544.cpp:110: multiple definition of `PCD8544::stop()'
PCD8544.cpp.o:C:\Users\David\AppData\Local\Temp\build6164198121952563231.tmp/PCD8544.cpp:110: first defined here
DACDisplay\PCD8544.cpp.o: In function `PCD8544::write5x7(unsigned char)':
C:\arduino-0022\arduino-0022\libraries\DACDisplay/PCD8544.cpp:249: multiple definition of `PCD8544::write5x7(unsigned char)'
PCD8544.cpp.o:C:\Users\David\AppData\Local\Temp\build6164198121952563231.tmp/PCD8544.cpp:249: first defined here
DACDisplay\PCD8544.cpp.o: In function `PCD8544::begin(unsigned char, unsigned char, unsigned char)':
C:\arduino-0022\arduino-0022\libraries\DACDisplay/PCD8544.cpp:57: multiple definition of `PCD8544::begin(unsigned char, unsigned char, unsigned char)'
PCD8544.cpp.o:C:\Users\David\AppData\Local\Temp\build6164198121952563231.tmp/PCD8544.cpp:57: first defined here

How can i solve this problem?


PaulS

Where did you unzip the files? When I unzipped them into a folder, DACDisplay, in my Sketchbook, I needed to change the include statement that included the PCD8544.h to change the < and > to ". When I did that, I got this "error" message:
Quote
Binary sketch size: 15616 bytes (of a 30720 byte maximum)

when compiling for a Duemilanove.

What version of the IDE are you using? I tried 0022 and Beta 1.0.
What OS? I'm using Win7 64 bit.

Go Up