Jump to content
43oh

MSP432P401R & Educational BoosterPack MKII (trouble with LCD)


Recommended Posts

Hello everyone,
 
My friends and I are very interested to use  Energia in one of our university project. We are using the following hardware:
  • MSP432P401R
  • Educational BoosterPack MKII

We tried first to use the Built-in examples that come with Energia, and all the examples worked perfectly except the examples that interact with the LCD ( Ex: LCD_Joystick and LCD_LifeGame). Therefore, please, could anyone tell me how I can fix this?  

I really appreciate your help and time. Thanks.

The error message that we got.
Energia: 1.6.10E18 (Mac OS X), Board: "LaunchPad w/ msp432 EMT (48MHz)"

/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/Screen_K35_SPI.cpp:326:5: warning: #warning ANALOG_RESOLUTION == 1023 [-Wcpp]
 #   warning ANALOG_RESOLUTION == 1023
     ^
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::pasteArea(unsigned short, unsigned short, unsigned short, unsigned short, unsigned long&, bool)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::setOrientation(unsigned char)'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:67: first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::_swap(unsigned char&, unsigned char&)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:75: multiple definition of `LCD_screen::screenSizeX()'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:75: first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::_displayTarget(unsigned short, unsigned short, unsigned short)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:88: multiple definition of `LCD_screen::screenSizeY()'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:88: first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::rectangle(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:100: multiple definition of `LCD_screen::circle(unsigned short, unsigned short, unsigned short, unsigned short)'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:100: first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::calibrateTouch()':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:149: multiple definition of `LCD_screen::dLine(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:149: first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::line(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:153: multiple definition of `LCD_screen::line(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:153: first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::setPenSolid(bool)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:191: multiple definition of `LCD_screen::setPenSolid(bool)'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:191: first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::point(unsigned short, unsigned short, unsigned short)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:194: multiple definition of `LCD_screen::point(unsigned short, unsigned short, unsigned short)'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:194: first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::dRectangle(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:209: multiple definition of `LCD_screen::dRectangle(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:209: first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::arc(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:321: multiple definition of `LCD_screen::arc(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:321: first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::setFontSolid(bool)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:324: multiple definition of `LCD_screen::setFontSolid(bool)'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:324: first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::readPixel(unsigned short, unsigned short)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:370: multiple definition of `LCD_screen::readPixel(unsigned short, unsigned short)'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:370: first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::copyPaste(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:372: multiple definition of `LCD_screen::copyPaste(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:372: first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::copyArea(unsigned short, unsigned short, unsigned short, unsigned short, unsigned long&)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:375: multiple definition of `LCD_screen::copyArea(unsigned short, unsigned short, unsigned short, unsigned short, unsigned long&)'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:375: first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::pasteArea(unsigned short, unsigned short, unsigned short, unsigned short, unsigned long&, bool)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:378: multiple definition of `LCD_screen::pasteArea(unsigned short, unsigned short, unsigned short, unsigned short, unsigned long&, bool)'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:378: first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::showInformation(unsigned short, unsigned short)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:32: multiple definition of `LCD_screen::showInformation(unsigned short, unsigned short)'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:32: first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::rectangle(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:198: multiple definition of `LCD_screen::rectangle(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:198: first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::LCD_screen()':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:22: multiple definition of `LCD_screen::LCD_screen()'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:22: first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::LCD_screen()':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:22: multiple definition of `LCD_screen::LCD_screen()'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:22: first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::clear(unsigned short)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:56: multiple definition of `LCD_screen::clear(unsigned short)'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:56: first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::getOrientation()':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:72: multiple definition of `LCD_screen::getOrientation()'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:72: first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::_triangleArea(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:213: multiple definition of `LCD_screen::_triangleArea(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:213: first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::triangle(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:267: multiple definition of `LCD_screen::triangle(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:267: first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::_inValue(short, short, short)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:301: multiple definition of `LCD_screen::_inValue(short, short, short)'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:301: first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::_inCycle(short, short, short)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:306: multiple definition of `LCD_screen::_inCycle(short, short, short)'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:306: first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::_inSector(short, short, short, short, short, short, short, short, short)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:312: multiple definition of `LCD_screen::_inSector(short, short, short, short, short, short, short, short, short)'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:312: first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::calculateColour(unsigned char, unsigned char, unsigned char)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:328: multiple definition of `LCD_screen::calculateColour(unsigned char, unsigned char, unsigned char)'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:328: first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::splitColour(unsigned short, unsigned char&, unsigned char&, unsigned char&)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen.cpp:332: multiple definition of `LCD_screen::splitColour(unsigned short, unsigned char&, unsigned char&, unsigned char&)'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen.cpp:332: first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::halveColour(unsigned short)':
LCD_screen.cpp:(.text._ZN10LCD_screen11halveColourEt+0x0): multiple definition of `LCD_screen::halveColour(unsigned short)'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:LCD_screen.cpp:(.text._ZN10LCD_screen11halveColourEt+0x0): first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::averageColour(unsigned short, unsigned short)':
LCD_screen.cpp:(.text._ZN10LCD_screen13averageColourEtt+0x0): multiple definition of `LCD_screen::averageColour(unsigned short, unsigned short)'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:LCD_screen.cpp:(.text._ZN10LCD_screen13averageColourEtt+0x0): first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::reverseColour(unsigned short)':
LCD_screen.cpp:(.text._ZN10LCD_screen13reverseColourEt+0x0): multiple definition of `LCD_screen::reverseColour(unsigned short)'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:LCD_screen.cpp:(.text._ZN10LCD_screen13reverseColourEt+0x0): first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::isTouch()':
LCD_screen.cpp:(.text._ZN10LCD_screen7isTouchEv+0x0): multiple definition of `LCD_screen::isTouch()'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:LCD_screen.cpp:(.text._ZN10LCD_screen7isTouchEv+0x0): first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::isReadable()':
LCD_screen.cpp:(.text._ZN10LCD_screen10isReadableEv+0x0): multiple definition of `LCD_screen::isReadable()'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:LCD_screen.cpp:(.text._ZN10LCD_screen10isReadableEv+0x0): first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::isStorage()':
LCD_screen.cpp:(.text._ZN10LCD_screen9isStorageEv+0x0): multiple definition of `LCD_screen::isStorage()'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:LCD_screen.cpp:(.text._ZN10LCD_screen9isStorageEv+0x0): first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::_displayTarget(unsigned short, unsigned short, unsigned short)':
LCD_screen.cpp:(.text._ZN10LCD_screen14_displayTargetEttt+0x0): multiple definition of `LCD_screen::_displayTarget(unsigned short, unsigned short, unsigned short)'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:LCD_screen.cpp:(.text._ZN10LCD_screen14_displayTargetEttt+0x0): first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::calibrateTouch()':
LCD_screen.cpp:(.text._ZN10LCD_screen14calibrateTouchEv+0x0): multiple definition of `LCD_screen::calibrateTouch()'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:LCD_screen.cpp:(.text._ZN10LCD_screen14calibrateTouchEv+0x0): first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::_swap(unsigned short&, unsigned short&)':
LCD_screen.cpp:(.text._ZN10LCD_screen5_swapERtS0_+0x0): multiple definition of `LCD_screen::_swap(unsigned short&, unsigned short&)'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:LCD_screen.cpp:(.text._ZN10LCD_screen5_swapERtS0_+0x0): first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::_swap(short&, short&)':
LCD_screen.cpp:(.text._ZN10LCD_screen5_swapERsS0_+0x0): multiple definition of `LCD_screen::_swap(short&, short&)'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:LCD_screen.cpp:(.text._ZN10LCD_screen5_swapERsS0_+0x0): first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::_swap(unsigned char&, unsigned char&)':
LCD_screen.cpp:(.text._ZN10LCD_screen5_swapERhS0_+0x0): multiple definition of `LCD_screen::_swap(unsigned char&, unsigned char&)'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:LCD_screen.cpp:(.text._ZN10LCD_screen5_swapERhS0_+0x0): first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::_check(unsigned short, unsigned short, unsigned short)':
LCD_screen.cpp:(.text._ZN10LCD_screen6_checkEttt+0x0): multiple definition of `LCD_screen::_check(unsigned short, unsigned short, unsigned short)'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:LCD_screen.cpp:(.text._ZN10LCD_screen6_checkEttt+0x0): first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o: In function `LCD_screen::getTouch(unsigned short&, unsigned short&, unsigned short&)':
LCD_screen.cpp:(.text._ZN10LCD_screen8getTouchERtS0_S0_+0x0): multiple definition of `LCD_screen::getTouch(unsigned short&, unsigned short&, unsigned short&)'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:LCD_screen.cpp:(.text._ZN10LCD_screen8getTouchERtS0_S0_+0x0): first defined here
libraries/EduBPMKII_Screen/LCD_screen.cpp.o:(.rodata._ZTV10LCD_screen+0x0): multiple definition of `vtable for LCD_screen'
libraries/Kentec_35_SPI/LCD_screen.cpp.o:(.rodata._ZTV10LCD_screen+0x0): first defined here
libraries/EduBPMKII_Screen/LCD_screen_font.cpp.o: In function `LCD_screen_font::fontMax()':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen_font.cpp:27: multiple definition of `LCD_screen_font::setFontSize(unsigned char)'
libraries/Kentec_35_SPI/LCD_screen_font.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen_font.cpp:27: first defined here
libraries/EduBPMKII_Screen/LCD_screen_font.cpp.o: In function `LCD_screen_font::fontSizeY()':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen_font.cpp:33: multiple definition of `LCD_screen_font::fontMax()'
libraries/Kentec_35_SPI/LCD_screen_font.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen_font.cpp:33: first defined here
libraries/EduBPMKII_Screen/LCD_screen_font.cpp.o: In function `LCD_screen_font::LCD_screen_font()':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen_font.cpp:37: multiple definition of `LCD_screen_font::fontSizeX()'
libraries/Kentec_35_SPI/LCD_screen_font.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen_font.cpp:37: first defined here
libraries/EduBPMKII_Screen/LCD_screen_font.cpp.o: In function `LCD_screen_font::gText(unsigned short, unsigned short, String, unsigned short, unsigned short, unsigned char, unsigned char)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen_font.cpp:53: multiple definition of `LCD_screen_font::fontSizeY()'
libraries/Kentec_35_SPI/LCD_screen_font.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen_font.cpp:53: first defined here
libraries/EduBPMKII_Screen/LCD_screen_font.cpp.o: In function `LCD_screen_font::gText(unsigned short, unsigned short, String, unsigned short, unsigned short, unsigned char, unsigned char)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen_font.cpp:101: multiple definition of `LCD_screen_font::gText(unsigned short, unsigned short, String, unsigned short, unsigned short, unsigned char, unsigned char)'
libraries/Kentec_35_SPI/LCD_screen_font.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen_font.cpp:101: first defined here
libraries/EduBPMKII_Screen/LCD_screen_font.cpp.o: In function `LCD_screen_font::LCD_screen_font()':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen_font.cpp:21: multiple definition of `LCD_screen_font::LCD_screen_font()'
libraries/Kentec_35_SPI/LCD_screen_font.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen_font.cpp:21: first defined here
libraries/EduBPMKII_Screen/LCD_screen_font.cpp.o: In function `LCD_screen_font::LCD_screen_font()':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen_font.cpp:21: multiple definition of `LCD_screen_font::LCD_screen_font()'
libraries/Kentec_35_SPI/LCD_screen_font.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen_font.cpp:21: first defined here
libraries/EduBPMKII_Screen/LCD_screen_font.cpp.o: In function `LCD_screen_font::_getCharacter(unsigned char, unsigned char)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_screen_font.cpp:69: multiple definition of `LCD_screen_font::_getCharacter(unsigned char, unsigned char)'
libraries/Kentec_35_SPI/LCD_screen_font.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_screen_font.cpp:69: first defined here
libraries/EduBPMKII_Screen/LCD_screen_font.cpp.o:(.rodata._ZTV15LCD_screen_font+0x0): multiple definition of `vtable for LCD_screen_font'
libraries/Kentec_35_SPI/LCD_screen_font.cpp.o:(.rodata._ZTV15LCD_screen_font+0x0): first defined here
libraries/EduBPMKII_Screen/LCD_utilities.cpp.o: In function `sin32x100(long)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_utilities.cpp:33: multiple definition of `cos32x100(long)'
libraries/Kentec_35_SPI/LCD_utilities.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_utilities.cpp:33: first defined here
libraries/EduBPMKII_Screen/LCD_utilities.cpp.o: In function `ttoa(unsigned long, unsigned char)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_utilities.cpp:56: multiple definition of `sin32x100(long)'
libraries/Kentec_35_SPI/LCD_utilities.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_utilities.cpp:56: first defined here
libraries/EduBPMKII_Screen/LCD_utilities.cpp.o: In function `utf2iso(String)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_utilities.cpp:60: multiple definition of `utf2iso(String)'
libraries/Kentec_35_SPI/LCD_utilities.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_utilities.cpp:60: first defined here
libraries/EduBPMKII_Screen/LCD_utilities.cpp.o: In function `i32toa(long, long, unsigned char, unsigned char)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_utilities.cpp:89: multiple definition of `i32toa(long, long, unsigned char, unsigned char)'
libraries/Kentec_35_SPI/LCD_utilities.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_utilities.cpp:89: first defined here
libraries/EduBPMKII_Screen/LCD_utilities.cpp.o: In function `htoa(unsigned long, unsigned char)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_utilities.cpp:117: multiple definition of `htoa(unsigned long, unsigned char)'
libraries/Kentec_35_SPI/LCD_utilities.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_utilities.cpp:117: first defined here
libraries/EduBPMKII_Screen/LCD_utilities.cpp.o: In function `ttoa(unsigned long, unsigned char)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_utilities.cpp:128: multiple definition of `ttoa(unsigned long, unsigned char)'
libraries/Kentec_35_SPI/LCD_utilities.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_utilities.cpp:128: first defined here
libraries/EduBPMKII_Screen/LCD_utilities.cpp.o: In function `btoa(unsigned short, unsigned char)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_utilities.cpp:158: multiple definition of `btoa(unsigned short, unsigned char)'
libraries/Kentec_35_SPI/LCD_utilities.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_utilities.cpp:158: first defined here
libraries/EduBPMKII_Screen/LCD_utilities.cpp.o: In function `sin32x100(long)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_utilities.cpp:33: multiple definition of `bufferFormat'
libraries/Kentec_35_SPI/LCD_utilities.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_utilities.cpp:33: first defined here
libraries/EduBPMKII_Screen/LCD_utilities.cpp.o: In function `sin32x100(long)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_utilities.cpp:33: multiple definition of `bufferOut'
libraries/Kentec_35_SPI/LCD_utilities.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_utilities.cpp:33: first defined here
libraries/EduBPMKII_Screen/LCD_utilities.cpp.o: In function `sin32x100(long)':
/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/EduBPMKII_Screen/LCD_utilities.cpp:33: multiple definition of `bufferIn'
libraries/Kentec_35_SPI/LCD_utilities.cpp.o:/Users/AL-GoThMi1/Library/Energia15/packages/energia/hardware/msp432/3.8.0/libraries/Kentec_35_SPI/LCD_utilities.cpp:33: first defined here
collect2: error: ld returned 1 exit status
exit status 1
Error compiling for board LaunchPad w/ msp432 EMT (48MHz).

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

 

 
 
Link to post
Share on other sites

Hi!

It looks like this is a bug coming from Energia. Energia parses the main sketch and takes all the libraries, in this case Screen_K35_SPI and Screen_HX8353E, when only the latter is required.

As a consequence, files LCD_screen.cppLCD_screen_font.cpp and LCD_utilities.cpp are built twice and linked twice, resulting in the conflicts you've reported.

Quote

/Users/ReiVilo/Library/Energia15/packages/energia/tools/arm-none-eabi-gcc/4.8.4-20140725/bin/arm-none-eabi-g++ -mcpu=cortex-m4 -mthumb -nostartfiles -Os -Wl,--gc-sections -Wl,-u,main -Wl,-Map,/var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/build5cd4483f8f7665760bccaca5f3a35ee4.tmp/LCD_LifeGame.ino.map -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mabi=aapcs -o /var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/build5cd4483f8f7665760bccaca5f3a35ee4.tmp/LCD_LifeGame.ino.elf /var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/build5cd4483f8f7665760bccaca5f3a35ee4.tmp/sketch/LCD_LifeGame.ino.cpp.o /var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/build5cd4483f8f7665760bccaca5f3a35ee4.tmp/sketch/main.cpp.o /var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/build5cd4483f8f7665760bccaca5f3a35ee4.tmp/libraries/Kentec_35_SPI/LCD_screen.cpp.o /var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/build5cd4483f8f7665760bccaca5f3a35ee4.tmp/libraries/Kentec_35_SPI/LCD_screen_font.cpp.o /var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/build5cd4483f8f7665760bccaca5f3a35ee4.tmp/libraries/Kentec_35_SPI/LCD_utilities.cpp.o /var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/build5cd4483f8f7665760bccaca5f3a35ee4.tmp/libraries/Kentec_35_SPI/Screen_K35_SPI.cpp.o /var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/build5cd4483f8f7665760bccaca5f3a35ee4.tmp/libraries/EduBPMKII_Screen/LCD_screen.cpp.o /var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/build5cd4483f8f7665760bccaca5f3a35ee4.tmp/libraries/EduBPMKII_Screen/LCD_screen_font.cpp.o /var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/build5cd4483f8f7665760bccaca5f3a35ee4.tmp/libraries/EduBPMKII_Screen/LCD_utilities.cpp.o /var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/build5cd4483f8f7665760bccaca5f3a35ee4.tmp/libraries/EduBPMKII_Screen/Screen_HX8353E.cpp.o /var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/build5cd4483f8f7665760bccaca5f3a35ee4.tmp/core/Board_init.c.o /var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/build5cd4483f8f7665760bccaca5f3a35ee4.tmp/core/pins.c.o /var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/build5cd4483f8f7665760bccaca5f3a35ee4.tmp/core/package/package_ti.runtime.wiring.msp432.variants.MSP_EXP432P401R.c.o /var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/build5cd4483f8f7665760bccaca5f3a35ee4.tmp/core/SerialObjects.cpp.o /var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/build5cd4483f8f7665760bccaca5f3a35ee4.tmp/core/SpiObjects.cpp.o /var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/build5cd4483f8f7665760bccaca5f3a35ee4.tmp/core/WireObjects.cpp.o -L/Users/ReiVilo/Library/Energia15/packages/energia/hardware/msp432r/4.9.1/system/kernel/tirtos/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/armv7e-m/fpu -L/var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/build5cd4483f8f7665760bccaca5f3a35ee4.tmp -L/Users/ReiVilo/Library/Energia15/packages/energia/hardware/msp432r/4.9.1/cores/msp432 -L/Users/ReiVilo/Library/Energia15/packages/energia/hardware/msp432r/4.9.1/system/energia -L/Users/ReiVilo/Library/Energia15/packages/energia/hardware/msp432r/4.9.1/system/kernel -L/Users/ReiVilo/Library/Energia15/packages/energia/hardware/msp432r/4.9.1/system/source -L/Users/ReiVilo/Library/Energia15/packages/energia/hardware/msp432r/4.9.1/system/kernel/tirtos/builds/MSP_EXP432P401R/energia/ -L/Users/ReiVilo/Library/Energia15/packages/energia/hardware/msp432r/4.9.1/system/kernel/tirtos/packages -L/Users/ReiVilo/Library/Energia15/packages/energia/hardware/msp432r/4.9.1/cores/msp432/ti/runtime/wiring/msp432 -L/Users/ReiVilo/Library/Energia15/packages/energia/hardware/msp432r/4.9.1/cores/msp432/ti/runtime/wiring/msp432/variants/MSP_EXP432P401R -Wl,--check-sections -Wl,--gc-sections /var/folders/px/cyfvtr757lqg0yp_cv9j79jh0000gn/T/build5cd4483f8f7665760bccaca5f3a35ee4.tmp/core/core.a -Wl,-T/Users/ReiVilo/Library/Energia15/packages/energia/hardware/msp432r/4.9.1/system/energia/linker.cmd /Users/ReiVilo/Library/Energia15/packages/energia/hardware/msp432r/4.9.1/system/source/ti/devices/msp432p4xx/driverlib/gcc/msp432p4xx_driverlib.a -lstdc++ -lgcc -lc -lm -lnosys

What to do?

  • Search for the folder of the Kentec 35 SPI library.

On macOS, it is located at ~/Library/Energia15/packages/energia/hardware/msp432r/4.9.1/libraries/Kentec_35_SPI

  • Zip this folder and delete it.
  • Launch the build again.

 

Alternatively, you can use a more advanced IDE that allows the selection of libraries. On macOS, try embedXcode.

5965db8fccc85_Capture2017-07-1210_17_25.thumb.png.793ae9738bf2498621b756f3710a5555.png

 

 

Link to post
Share on other sites
1 hour ago, Rei Vilo said:

Hello Rei Vilo,

Thank you so much for your help; I really appreciate it.

Now, I get Success every time I upload the LCD examples; however, the screen stay white. Nothing displayed in the screen, and I am sure the screen is work very well. Therefore, please, what do you think I should do?

Thanks again.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...