Aheny 0 Posted March 14, 2018 Share Posted March 14, 2018 Good afternoon, I am using: MSP432 EMT 48MHz with the Educational Booster pack Mk II Revision 1.0 Energia 1.6.10E18 I was having difficulty (my code wouldnt compile) with the LCD screen, so I attempted a simple install of the example code LCD_Joystick, but my error persists. It uses the following includes: #include <LCD_screen.h> #include <LCD_screen_font.h> #include <LCD_utilities.h> #include <Screen_HX8353E.h> #include <Terminal12e.h> #include <Terminal6e.h> #include <Terminal8e.h> just including these headers seems to create the same issue and I am not understanding how to proceed. I dont see any errors besides the consequential collect2.exe error at the end. It almost appears to be an issue with circular includes, but I am just using the example files exactly as written. Any help would be greatly appreciated. Energia: 1.6.10E18 (Windows 10), Board: "RED LaunchPad w/ msp432 EMT (48MHz)" libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::setOrientation(unsigned char)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::screenSizeX()' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::screenSizeY()' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::circle(unsigned short, unsigned short, unsigned short, unsigned short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::dLine(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::line(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::setPenSolid(bool)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::point(unsigned short, unsigned short, unsigned short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::dRectangle(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::setFontSolid(bool)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::readPixel(unsigned short, unsigned short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: 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:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: 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:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::copyArea(unsigned short, unsigned short, unsigned short, unsigned short, unsigned long&)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: 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:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::showInformation(unsigned short, unsigned short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::rectangle(unsigned short, unsigned short, unsigned short, unsigned short, unsigned short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::LCD_screen()' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::LCD_screen()' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::clear(unsigned short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::getOrientation()' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: 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:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: 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:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::_inValue(short, short, short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::_inCycle(short, short, short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::_inSector(short, short, short, short, short, short, short, short, short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::calculateColour(unsigned char, unsigned char, unsigned char)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::splitColour(unsigned short, unsigned char&, unsigned char&, unsigned char&)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::halveColour(unsigned short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::averageColour(unsigned short, unsigned short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::reverseColour(unsigned short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::isTouch()' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::isReadable()' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::isStorage()' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::_displayTarget(unsigned short, unsigned short, unsigned short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::calibrateTouch()' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::_swap(unsigned short&, unsigned short&)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::_swap(short&, short&)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::_swap(unsigned char&, unsigned char&)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::_check(unsigned short, unsigned short, unsigned short)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `LCD_screen::getTouch(unsigned short&, unsigned short&, unsigned short&)' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen.cpp.o: In function `LCD_screen::setOrientation(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen.cpp:67: multiple definition of `vtable for LCD_screen' libraries\Kentec_35_SPI\LCD_screen.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen.cpp:67: first defined here libraries\EduBPMKII_Screen\LCD_screen_font.cpp.o: In function `LCD_screen_font::setFontSize(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.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:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.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::setFontSize(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen_font.cpp:27: multiple definition of `LCD_screen_font::fontMax()' libraries\Kentec_35_SPI\LCD_screen_font.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.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::setFontSize(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen_font.cpp:27: multiple definition of `LCD_screen_font::fontSizeX()' libraries\Kentec_35_SPI\LCD_screen_font.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.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::setFontSize(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen_font.cpp:27: multiple definition of `LCD_screen_font::fontSizeY()' libraries\Kentec_35_SPI\LCD_screen_font.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.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::setFontSize(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen_font.cpp:27: 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:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.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::setFontSize(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen_font.cpp:27: multiple definition of `LCD_screen_font::LCD_screen_font()' libraries\Kentec_35_SPI\LCD_screen_font.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.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::setFontSize(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen_font.cpp:27: multiple definition of `LCD_screen_font::LCD_screen_font()' libraries\Kentec_35_SPI\LCD_screen_font.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.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::setFontSize(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen_font.cpp:27: multiple definition of `LCD_screen_font::_getCharacter(unsigned char, unsigned char)' libraries\Kentec_35_SPI\LCD_screen_font.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.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::setFontSize(unsigned char)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_screen_font.cpp:27: multiple definition of `vtable for LCD_screen_font' libraries\Kentec_35_SPI\LCD_screen_font.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_screen_font.cpp:27: first defined here libraries\EduBPMKII_Screen\LCD_utilities.cpp.o: In function `cos32x100(long)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_utilities.cpp:30: multiple definition of `cos32x100(long)' libraries\Kentec_35_SPI\LCD_utilities.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_utilities.cpp:30: first defined here libraries\EduBPMKII_Screen\LCD_utilities.cpp.o: In function `cos32x100(long)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_utilities.cpp:30: multiple definition of `sin32x100(long)' libraries\Kentec_35_SPI\LCD_utilities.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_utilities.cpp:30: first defined here libraries\EduBPMKII_Screen\LCD_utilities.cpp.o: In function `cos32x100(long)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_utilities.cpp:30: multiple definition of `utf2iso(String)' libraries\Kentec_35_SPI\LCD_utilities.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_utilities.cpp:30: first defined here libraries\EduBPMKII_Screen\LCD_utilities.cpp.o: In function `cos32x100(long)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_utilities.cpp:30: multiple definition of `i32toa(long, long, unsigned char, unsigned char)' libraries\Kentec_35_SPI\LCD_utilities.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_utilities.cpp:30: first defined here libraries\EduBPMKII_Screen\LCD_utilities.cpp.o: In function `cos32x100(long)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_utilities.cpp:30: multiple definition of `htoa(unsigned long, unsigned char)' libraries\Kentec_35_SPI\LCD_utilities.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_utilities.cpp:30: first defined here libraries\EduBPMKII_Screen\LCD_utilities.cpp.o: In function `cos32x100(long)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_utilities.cpp:30: multiple definition of `ttoa(unsigned long, unsigned char)' libraries\Kentec_35_SPI\LCD_utilities.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_utilities.cpp:30: first defined here libraries\EduBPMKII_Screen\LCD_utilities.cpp.o: In function `cos32x100(long)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_utilities.cpp:30: multiple definition of `btoa(unsigned short, unsigned char)' libraries\Kentec_35_SPI\LCD_utilities.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_utilities.cpp:30: first defined here libraries\EduBPMKII_Screen\LCD_utilities.cpp.o: In function `cos32x100(long)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_utilities.cpp:30: multiple definition of `bufferFormat' libraries\Kentec_35_SPI\LCD_utilities.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_utilities.cpp:30: first defined here libraries\EduBPMKII_Screen\LCD_utilities.cpp.o: In function `cos32x100(long)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_utilities.cpp:30: multiple definition of `bufferOut' libraries\Kentec_35_SPI\LCD_utilities.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_utilities.cpp:30: first defined here libraries\EduBPMKII_Screen\LCD_utilities.cpp.o: In function `cos32x100(long)': C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\EduBPMKII_Screen/LCD_utilities.cpp:30: multiple definition of `bufferIn' libraries\Kentec_35_SPI\LCD_utilities.cpp.o:C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI/LCD_utilities.cpp:30: first defined here collect2.exe: error: ld returned 1 exit status exit status 1 Error compiling for board RED LaunchPad w/ msp432 EMT (48MHz). This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences. Quote Link to post Share on other sites
Rei Vilo 695 Posted March 15, 2018 Share Posted March 15, 2018 It looks like there is a conflict between two libraries, as Energia builds all the libraries regardless of the #include statement. If you don't plan to use the Kentec 3.5" screen, just remove the whole C:\Users\chris\AppData\Local\Energia15\packages\energia\hardware\msp432r\5.6.0\libraries\Kentec_35_SPI folder. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.