Open huukhoa1412 opened 3 years ago
sketch\main.ino.cpp.o:(.literal._ZNSt17_Function_handlerIFvvEZ16stateMachineInitvEUlvE_E9_M_invokeERKSt9_Any_data+0x8): undefined reference to ScreenStateMachine::setCurrentScreen(unsigned char)' sketch\main.ino.cpp.o:(.literal._ZNSt17_Function_handlerIFvvEZ16stateMachineInitvEUlvE0_E9_M_invokeERKSt9_Any_data+0x4): undefined reference toVPetLCDMenuBar32p::nextSelection()' sketch\main.ino.cpp.o:(.literal._ZNSt17_Function_handlerIFvvEZ16stateMachineInitvEUlvE2_E9_M_invokeERKSt9_Any_data+0x4): undefined reference to V20::SelectionScreen::nextSelection()' sketch\main.ino.cpp.o:(.literal._ZZ11button_initvENUlR7Button2E_4_FUNES0_+0x8): undefined reference toScreenStateMachine::sendSignal(unsigned char)' sketch\main.ino.cpp.o:(.literal._ZNSt17_Function_handlerIFvvEZ16stateMachineInitvEUlvE1_E9_M_invokeERKSt9_Any_data+0x24): undefined reference to V20::DigimonWatchingScreen::flushPoop()' sketch\main.ino.cpp.o:(.literal._ZNSt17_Function_handlerIFvvEZ16stateMachineInitvEUlvE3_E9_M_invokeERKSt9_Any_data+0x4): undefined reference toV20::SelectionScreen::getSelection()' sketch\main.ino.cpp.o:(.literal._ZNSt17_Function_handlerIFvvEZ16stateMachineInitvEUlvE3_E9_M_invokeERKSt9_Any_data+0x8): undefined reference to V20::EatingAnimationScreen::setSprites(unsigned char, unsigned char, unsigned char)' sketch\main.ino.cpp.o:(.literal._Z16stateMachineInitv+0x70): undefined reference toDigimon::printSerial()' sketch\main.ino.cpp.o:(.literal._Z16stateMachineInitv+0x74): undefined reference to V20::AnimationScreen::setAnimationEndAction(std::function<void ()>)' sketch\main.ino.cpp.o:(.literal._Z16stateMachineInitv+0x78): undefined reference toScreenStateMachine::addTransition(unsigned char, unsigned char, unsigned char)' sketch\main.ino.cpp.o:(.literal._Z16stateMachineInitv+0x7c): undefined reference to ScreenStateMachine::addTransitionAction(unsigned char, unsigned char, std::function<void ()>)' sketch\main.ino.cpp.o:(.literal._Z12setupScreensv+0x3c): undefined reference toVPetLCDMenuBar32p::setIconOnIndex(unsigned char, unsigned char)' sketch\main.ino.cpp.o:(.literal._Z12setupScreensv+0x40): undefined reference to VPetLCD::setMenuBar(VPetLCDMenuBar32p*)' sketch\main.ino.cpp.o:(.literal._Z12setupScreensv+0x44): undefined reference toV20::SelectionScreen::addOption(char, unsigned char)' sketch\main.ino.cpp.o:(.literal._Z12setupScreensv+0x48): undefined reference to `V20::SelectionScreen::addOption(char)' sketch\main.ino.cpp.o:(.literal._Z4loopv+0x18): undefined reference to Digimon::loop(unsigned long)' sketch\main.ino.cpp.o:(.literal._Z4loopv+0x1c): undefined reference toV20::DigimonWatchingScreen::loop(long)' sketch\main.ino.cpp.o:(.literal._Z4loopv+0x20): undefined reference to V20::ClockScreen::loop(unsigned long)' sketch\main.ino.cpp.o:(.literal._Z4loopv+0x24): undefined reference toV20::DigimonNameScreen::loop(unsigned long)' sketch\main.ino.cpp.o:(.literal._Z4loopv+0x28): undefined reference to ScreenStateMachine::getCurrentScreen()' sketch\main.ino.cpp.o:(.literal._Z4loopv+0x2c): undefined reference toV20::AnimationScreen::loop(unsigned long)' sketch\main.ino.cpp.o:(.literal._Z4loopv+0x30): undefined reference to VPetLCD::startRendering()' sketch\main.ino.cpp.o:(.literal._Z4loopv+0x34): undefined reference toVPetLCD::endRendering()' sketch\main.ino.cpp.o:(.literal.startup._GLOBALsub_I_savegame+0x18): undefined reference to vtable for TFT_eSPI_DisplayAdapter' sketch\main.ino.cpp.o:(.literal.startup._GLOBAL__sub_I_savegame+0x20): undefined reference tovtable for ESP32SpriteManager' sketch\main.ino.cpp.o:(.literal.startup._GLOBALsub_I_savegame+0x24): undefined reference to vtable for V20::AgeWeightScreen' sketch\main.ino.cpp.o:(.literal.startup._GLOBAL__sub_I_savegame+0x40): undefined reference toVPetLCD::VPetLCD(AbstractDisplayAdapter, AbstractSpriteManager, int, int)' sketch\main.ino.cpp.o:(.literal.startup._GLOBALsub_I_savegame+0x44): undefined reference to VPetLCDMenuBar32p::VPetLCDMenuBar32p(unsigned char, unsigned char, unsigned short)' sketch\main.ino.cpp.o:(.literal.startup._GLOBAL__sub_I_savegame+0x48): undefined reference toV20::DigimonWatchingScreen::DigimonWatchingScreen(AbstractSpriteManager*, unsigned char, signed char, signed char, signed char, signed char)' sketch\main.ino.cpp.o:(.literal.startup._GLOBALsub_I_savegame+0x4c): undefined reference to V20::DigimonNameScreen::DigimonNameScreen(AbstractSpriteManager*, char*, unsigned short, unsigned short)' sketch\main.ino.cpp.o:(.literal.startup._GLOBAL__sub_I_savegame+0x50): undefined reference toV20::HeartsScreen::HeartsScreen(char, unsigned short, unsigned short)' sketch\main.ino.cpp.o:(.literal.startup._GLOBAL__sub_I_savegame+0x54): undefined reference to `V20::ProgressBarScreen::ProgressBarScreen(char, unsigned short, unsigned short)' sketch\main.ino.cpp.o:(.literal.startup._GLOBALsub_I_savegame+0x58): undefined reference to V20::PercentageScreen::PercentageScreen(char*, char, unsigned short)' sketch\main.ino.cpp.o:(.literal.startup._GLOBAL__sub_I_savegame+0x5c): undefined reference toV20::SelectionScreen::SelectionScreen(bool)' sketch\main.ino.cpp.o:(.literal.startup._GLOBALsub_I_savegame+0x60): undefined reference to V20::ClockScreen::ClockScreen(bool)' sketch\main.ino.cpp.o:(.literal.startup._GLOBAL__sub_I_savegame+0x64): undefined reference toV20::EatingAnimationScreen::EatingAnimationScreen(AbstractSpriteManager, unsigned short)' sketch\main.ino.cpp.o:(.literal.startup._GLOBAL__sub_I_savegame+0x68): undefined reference to ScreenStateMachine::ScreenStateMachine(unsigned char, unsigned char)' sketch\main.ino.cpp.o:(.literal.startup._GLOBAL__sub_I_savegame+0x6c): undefined reference toScreenStateMachine::addScreen(VPetLCD::Screen)' sketch\main.ino.cpp.o:(.literal.exit._GLOBAL__sub_D_savegame+0x0): undefined reference to vtable for V20::AnimationScreen' sketch\main.ino.cpp.o: In functionstd::_Function_handler<void (), stateMachineInit()::{lambda()#1}>::_M_invoke(std::_Any_data const&)': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:126: undefined reference to ScreenStateMachine::setCurrentScreen(unsigned char)' sketch\main.ino.cpp.o: In functionstd::_Function_handler<void (), stateMachineInit()::{lambda()#2}>::_M_invoke(std::_Any_data const&)': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:159: undefined reference to VPetLCDMenuBar32p::nextSelection()' sketch\main.ino.cpp.o: In functionstd::_Function_handler<void (), stateMachineInit()::{lambda()#4}>::_M_invoke(std::_Any_data const&)': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:205: undefined reference to V20::SelectionScreen::nextSelection()' sketch\main.ino.cpp.o: In functionstd::_Function_handler<void (), stateMachineInit()::{lambda()#7}>::_M_invoke(std::_Any_data const&)': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:253: undefined reference to V20::SelectionScreen::nextSelection()' sketch\main.ino.cpp.o: In functionbutton_init()::{lambda(Button2&)#1}::_FUN(Button2&)': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:265: undefined reference to ScreenStateMachine::sendSignal(unsigned char)' sketch\main.ino.cpp.o: In functionbutton_init()::{lambda(Button2&)#2}::_FUN(Button2&)': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:270: undefined reference to ScreenStateMachine::sendSignal(unsigned char)' sketch\main.ino.cpp.o: In functionbutton_init()::{lambda(Button2&)#3}::_FUN(Button2&)': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:275: undefined reference to ScreenStateMachine::sendSignal(unsigned char)' sketch\main.ino.cpp.o: In functionstd::_Function_handler<void (), stateMachineInit()::{lambda()#3}>::_M_invoke(std::_Any_data const&)': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:186: undefined reference to ScreenStateMachine::setCurrentScreen(unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:191: undefined reference toV20::DigimonWatchingScreen::flushPoop()' sketch\main.ino.cpp.o: In function std::_Function_handler<void (), stateMachineInit()::{lambda()#5}>::_M_invoke(std::_Any_data const&)': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:211: undefined reference toV20::SelectionScreen::getSelection()' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:216: undefined reference to V20::EatingAnimationScreen::setSprites(unsigned char, unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:235: undefined reference toV20::EatingAnimationScreen::setSprites(unsigned char, unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:237: undefined reference to ScreenStateMachine::setCurrentScreen(unsigned char)' sketch\main.ino.cpp.o: In functionstateMachineInit()': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:121: undefined reference to Digimon::printSerial()' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:128: undefined reference toV20::AnimationScreen::setAnimationEndAction(std::function<void ()>)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:134: undefined reference to ScreenStateMachine::addTransition(unsigned char, unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:138: undefined reference toScreenStateMachine::addTransition(unsigned char, unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:139: undefined reference to ScreenStateMachine::addTransition(unsigned char, unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:140: undefined reference toScreenStateMachine::addTransition(unsigned char, unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:141: undefined reference to ScreenStateMachine::addTransition(unsigned char, unsigned char, unsigned char)' sketch\main.ino.cpp.o:C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:142: more undefined references toScreenStateMachine::addTransition(unsigned char, unsigned char, unsigned char)' follow sketch\main.ino.cpp.o: In function stateMachineInit()': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:160: undefined reference toScreenStateMachine::addTransitionAction(unsigned char, unsigned char, std::function<void ()>)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:163: undefined reference to ScreenStateMachine::addTransition(unsigned char, unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:199: undefined reference toScreenStateMachine::addTransitionAction(unsigned char, unsigned char, std::function<void ()>)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:203: undefined reference to ScreenStateMachine::addTransition(unsigned char, unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:206: undefined reference toScreenStateMachine::addTransitionAction(unsigned char, unsigned char, std::function<void ()>)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:209: undefined reference to ScreenStateMachine::addTransition(unsigned char, unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:241: undefined reference toScreenStateMachine::addTransitionAction(unsigned char, unsigned char, std::function<void ()>)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:244: undefined reference to ScreenStateMachine::addTransition(unsigned char, unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:248: undefined reference toScreenStateMachine::addTransitionAction(unsigned char, unsigned char, std::function<void ()>)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:251: undefined reference to ScreenStateMachine::addTransition(unsigned char, unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:255: undefined reference toScreenStateMachine::addTransitionAction(unsigned char, unsigned char, std::function<void ()>)' sketch\main.ino.cpp.o: In function setupScreens()': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:282: undefined reference toVPetLCDMenuBar32p::setIconOnIndex(unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:283: undefined reference to VPetLCDMenuBar32p::setIconOnIndex(unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:284: undefined reference toVPetLCDMenuBar32p::setIconOnIndex(unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:285: undefined reference to VPetLCDMenuBar32p::setIconOnIndex(unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:286: undefined reference toVPetLCDMenuBar32p::setIconOnIndex(unsigned char, unsigned char)' sketch\main.ino.cpp.o:C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:287: more undefined references to VPetLCDMenuBar32p::setIconOnIndex(unsigned char, unsigned char)' follow sketch\main.ino.cpp.o: In functionsetupScreens()': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:291: undefined reference to VPetLCD::setMenuBar(VPetLCDMenuBar32p*)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:313: undefined reference toV20::SelectionScreen::addOption(char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:314: undefined reference to `V20::SelectionScreen::addOption(char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:315: undefined reference to V20::SelectionScreen::addOption(char*, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:316: undefined reference toV20::SelectionScreen::addOption(char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:320: undefined reference to `V20::SelectionScreen::addOption(char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:321: undefined reference to V20::SelectionScreen::addOption(char*)' sketch\main.ino.cpp.o: In functionloop()': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:392: undefined reference to Digimon::loop(unsigned long)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:397: undefined reference toV20::DigimonWatchingScreen::loop(long)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:398: undefined reference to V20::ClockScreen::loop(unsigned long)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:399: undefined reference toV20::DigimonNameScreen::loop(unsigned long)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:403: undefined reference to ScreenStateMachine::getCurrentScreen()' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:404: undefined reference toV20::AnimationScreen::loop(unsigned long)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:406: undefined reference to ScreenStateMachine::getCurrentScreen()' sketch\main.ino.cpp.o: In functionVPetLCD::renderScreen(VPetLCD::Screen)': sketch\VPetLCD/VPetLCD.h:105: undefined reference to VPetLCD::startRendering()' sketch\VPetLCD/VPetLCD.h:107: undefined reference toVPetLCD::endRendering()' sketch\main.ino.cpp.o: In function _GLOBAL__sub_I_savegame': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:73: undefined reference toVPetLCD::VPetLCD(AbstractDisplayAdapter, AbstractSpriteManager, int, int)' sketch\main.ino.cpp.o: In function ESP32SpriteManager::ESP32SpriteManager()': sketch\VPetLCD/ESP32SpriteManager.h:9: undefined reference toVPetLCDMenuBar32p::VPetLCDMenuBar32p(unsigned char, unsigned char, unsigned short)' sketch\main.ino.cpp.o: In function _GLOBAL__sub_I_savegame': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:76: undefined reference toV20::DigimonWatchingScreen::DigimonWatchingScreen(AbstractSpriteManager, unsigned char, signed char, signed char, signed char, signed char)' sketch\main.ino.cpp.o: In function ESP32DigimonDataLoader::getDigimonProperties(unsigned short)': c:\users\lehuuk~1\appdata\local\temp\arduino_build_709709\sketch\gamelogic/ESP32DigimonDataLoader.h:9: undefined reference toV20::DigimonNameScreen::DigimonNameScreen(AbstractSpriteManager, char, unsigned short, unsigned short)' sketch\main.ino.cpp.o: In function V20::AgeWeightScreen::AgeWeightScreen(unsigned short, unsigned short)': c:\users\lehuuk~1\appdata\local\temp\arduino_build_709709\sketch\vpetlcd\screens/AgeWeightScreen.h:19: undefined reference toV20::HeartsScreen::HeartsScreen(char, unsigned short, unsigned short)' sketch\main.ino.cpp.o: In function _GLOBAL__sub_I_savegame': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:79: undefined reference toV20::HeartsScreen::HeartsScreen(char, unsigned short, unsigned short)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:80: undefined reference to V20::HeartsScreen::HeartsScreen(char*, unsigned short, unsigned short)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:81: undefined reference toV20::ProgressBarScreen::ProgressBarScreen(char, unsigned short, unsigned short)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:82: undefined reference to `V20::PercentageScreen::PercentageScreen(char, char, unsigned short)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:83: undefined reference to V20::PercentageScreen::PercentageScreen(char*, char, unsigned short)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:84: undefined reference toV20::SelectionScreen::SelectionScreen(bool)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:84: undefined reference to V20::SelectionScreen::SelectionScreen(bool)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:85: undefined reference toV20::ClockScreen::ClockScreen(bool)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:87: undefined reference to V20::EatingAnimationScreen::EatingAnimationScreen(AbstractSpriteManager*, unsigned short)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:88: undefined reference toScreenStateMachine::ScreenStateMachine(unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:100: undefined reference to ScreenStateMachine::addScreen(VPetLCD::Screen*)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:100: undefined reference toScreenStateMachine::addScreen(VPetLCD::Screen)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:103: undefined reference to `ScreenStateMachine::addScreen(VPetLCD::Screen)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:104: undefined reference to ScreenStateMachine::addScreen(VPetLCD::Screen*)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:105: undefined reference toScreenStateMachine::addScreen(VPetLCD::Screen)' sketch\main.ino.cpp.o:C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:106: more undefined references to `ScreenStateMachine::addScreen(VPetLCD::Screen)' follow collect2.exe: error: ld returned 1 exit status exit status 1 Error compiling for board ESP32 Dev Module.
ScreenStateMachine::setCurrentScreen(unsigned char)' sketch\main.ino.cpp.o:(.literal._ZNSt17_Function_handlerIFvvEZ16stateMachineInitvEUlvE0_E9_M_invokeERKSt9_Any_data+0x4): undefined reference to
V20::SelectionScreen::nextSelection()' sketch\main.ino.cpp.o:(.literal._ZZ11button_initvENUlR7Button2E_4_FUNES0_+0x8): undefined reference to
V20::DigimonWatchingScreen::flushPoop()' sketch\main.ino.cpp.o:(.literal._ZNSt17_Function_handlerIFvvEZ16stateMachineInitvEUlvE3_E9_M_invokeERKSt9_Any_data+0x4): undefined reference to
V20::EatingAnimationScreen::setSprites(unsigned char, unsigned char, unsigned char)' sketch\main.ino.cpp.o:(.literal._Z16stateMachineInitv+0x70): undefined reference to
V20::AnimationScreen::setAnimationEndAction(std::function<void ()>)' sketch\main.ino.cpp.o:(.literal._Z16stateMachineInitv+0x78): undefined reference to
ScreenStateMachine::addTransitionAction(unsigned char, unsigned char, std::function<void ()>)' sketch\main.ino.cpp.o:(.literal._Z12setupScreensv+0x3c): undefined reference to
VPetLCD::setMenuBar(VPetLCDMenuBar32p*)' sketch\main.ino.cpp.o:(.literal._Z12setupScreensv+0x44): undefined reference to
Digimon::loop(unsigned long)' sketch\main.ino.cpp.o:(.literal._Z4loopv+0x1c): undefined reference to
V20::ClockScreen::loop(unsigned long)' sketch\main.ino.cpp.o:(.literal._Z4loopv+0x24): undefined reference to
ScreenStateMachine::getCurrentScreen()' sketch\main.ino.cpp.o:(.literal._Z4loopv+0x2c): undefined reference to
VPetLCD::startRendering()' sketch\main.ino.cpp.o:(.literal._Z4loopv+0x34): undefined reference to
vtable for TFT_eSPI_DisplayAdapter' sketch\main.ino.cpp.o:(.literal.startup._GLOBAL__sub_I_savegame+0x20): undefined reference to
vtable for V20::AgeWeightScreen' sketch\main.ino.cpp.o:(.literal.startup._GLOBAL__sub_I_savegame+0x40): undefined reference to
VPetLCDMenuBar32p::VPetLCDMenuBar32p(unsigned char, unsigned char, unsigned short)' sketch\main.ino.cpp.o:(.literal.startup._GLOBAL__sub_I_savegame+0x48): undefined reference to
V20::DigimonNameScreen::DigimonNameScreen(AbstractSpriteManager*, char*, unsigned short, unsigned short)' sketch\main.ino.cpp.o:(.literal.startup._GLOBAL__sub_I_savegame+0x50): undefined reference to
V20::PercentageScreen::PercentageScreen(char*, char, unsigned short)' sketch\main.ino.cpp.o:(.literal.startup._GLOBAL__sub_I_savegame+0x5c): undefined reference to
V20::ClockScreen::ClockScreen(bool)' sketch\main.ino.cpp.o:(.literal.startup._GLOBAL__sub_I_savegame+0x64): undefined reference to
ScreenStateMachine::ScreenStateMachine(unsigned char, unsigned char)' sketch\main.ino.cpp.o:(.literal.startup._GLOBAL__sub_I_savegame+0x6c): undefined reference to
vtable for V20::AnimationScreen' sketch\main.ino.cpp.o: In function
ScreenStateMachine::setCurrentScreen(unsigned char)' sketch\main.ino.cpp.o: In function
VPetLCDMenuBar32p::nextSelection()' sketch\main.ino.cpp.o: In function
V20::SelectionScreen::nextSelection()' sketch\main.ino.cpp.o: In function
ScreenStateMachine::sendSignal(unsigned char)' sketch\main.ino.cpp.o: In function
ScreenStateMachine::setCurrentScreen(unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:191: undefined reference to
std::_Function_handler<void (), stateMachineInit()::{lambda()#5}>::_M_invoke(std::_Any_data const&)': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:211: undefined reference to
V20::EatingAnimationScreen::setSprites(unsigned char, unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:235: undefined reference to
Digimon::printSerial()' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:128: undefined reference to
ScreenStateMachine::addTransition(unsigned char, unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:138: undefined reference to
ScreenStateMachine::addTransition(unsigned char, unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:140: undefined reference to
ScreenStateMachine::addTransition(unsigned char, unsigned char, unsigned char)' sketch\main.ino.cpp.o:C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:142: more undefined references to
stateMachineInit()': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:160: undefined reference to
ScreenStateMachine::addTransition(unsigned char, unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:199: undefined reference to
ScreenStateMachine::addTransition(unsigned char, unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:206: undefined reference to
ScreenStateMachine::addTransition(unsigned char, unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:241: undefined reference to
ScreenStateMachine::addTransition(unsigned char, unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:248: undefined reference to
ScreenStateMachine::addTransition(unsigned char, unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:255: undefined reference to
setupScreens()': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:282: undefined reference to
VPetLCDMenuBar32p::setIconOnIndex(unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:284: undefined reference to
VPetLCDMenuBar32p::setIconOnIndex(unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:286: undefined reference to
VPetLCDMenuBar32p::setIconOnIndex(unsigned char, unsigned char)' follow sketch\main.ino.cpp.o: In function
VPetLCD::setMenuBar(VPetLCDMenuBar32p*)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:313: undefined reference to
V20::SelectionScreen::addOption(char*, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:316: undefined reference to
V20::SelectionScreen::addOption(char*)' sketch\main.ino.cpp.o: In function
Digimon::loop(unsigned long)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:397: undefined reference to
V20::ClockScreen::loop(unsigned long)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:399: undefined reference to
ScreenStateMachine::getCurrentScreen()' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:404: undefined reference to
ScreenStateMachine::getCurrentScreen()' sketch\main.ino.cpp.o: In function
VPetLCD::startRendering()' sketch\VPetLCD/VPetLCD.h:107: undefined reference to
_GLOBAL__sub_I_savegame': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:73: undefined reference to
ESP32SpriteManager::ESP32SpriteManager()': sketch\VPetLCD/ESP32SpriteManager.h:9: undefined reference to
_GLOBAL__sub_I_savegame': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:76: undefined reference to
ESP32DigimonDataLoader::getDigimonProperties(unsigned short)': c:\users\lehuuk~1\appdata\local\temp\arduino_build_709709\sketch\gamelogic/ESP32DigimonDataLoader.h:9: undefined reference to
V20::AgeWeightScreen::AgeWeightScreen(unsigned short, unsigned short)': c:\users\lehuuk~1\appdata\local\temp\arduino_build_709709\sketch\vpetlcd\screens/AgeWeightScreen.h:19: undefined reference to
_GLOBAL__sub_I_savegame': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:79: undefined reference to
V20::HeartsScreen::HeartsScreen(char*, unsigned short, unsigned short)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:81: undefined reference to
V20::PercentageScreen::PercentageScreen(char*, char, unsigned short)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:84: undefined reference to
V20::SelectionScreen::SelectionScreen(bool)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:85: undefined reference to
V20::EatingAnimationScreen::EatingAnimationScreen(AbstractSpriteManager*, unsigned short)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:88: undefined reference to
ScreenStateMachine::addScreen(VPetLCD::Screen*)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:100: undefined reference to
ScreenStateMachine::addScreen(VPetLCD::Screen*)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:105: undefined reference to
sketch\main.ino.cpp.o:(.literal._ZNSt17_Function_handlerIFvvEZ16stateMachineInitvEUlvE_E9_M_invokeERKSt9_Any_data+0x8): undefined reference to
ScreenStateMachine::setCurrentScreen(unsigned char)' sketch\main.ino.cpp.o:(.literal._ZNSt17_Function_handlerIFvvEZ16stateMachineInitvEUlvE0_E9_M_invokeERKSt9_Any_data+0x4): undefined reference to
VPetLCDMenuBar32p::nextSelection()' sketch\main.ino.cpp.o:(.literal._ZNSt17_Function_handlerIFvvEZ16stateMachineInitvEUlvE2_E9_M_invokeERKSt9_Any_data+0x4): undefined reference toV20::SelectionScreen::nextSelection()' sketch\main.ino.cpp.o:(.literal._ZZ11button_initvENUlR7Button2E_4_FUNES0_+0x8): undefined reference to
ScreenStateMachine::sendSignal(unsigned char)' sketch\main.ino.cpp.o:(.literal._ZNSt17_Function_handlerIFvvEZ16stateMachineInitvEUlvE1_E9_M_invokeERKSt9_Any_data+0x24): undefined reference toV20::DigimonWatchingScreen::flushPoop()' sketch\main.ino.cpp.o:(.literal._ZNSt17_Function_handlerIFvvEZ16stateMachineInitvEUlvE3_E9_M_invokeERKSt9_Any_data+0x4): undefined reference to
V20::SelectionScreen::getSelection()' sketch\main.ino.cpp.o:(.literal._ZNSt17_Function_handlerIFvvEZ16stateMachineInitvEUlvE3_E9_M_invokeERKSt9_Any_data+0x8): undefined reference toV20::EatingAnimationScreen::setSprites(unsigned char, unsigned char, unsigned char)' sketch\main.ino.cpp.o:(.literal._Z16stateMachineInitv+0x70): undefined reference to
Digimon::printSerial()' sketch\main.ino.cpp.o:(.literal._Z16stateMachineInitv+0x74): undefined reference toV20::AnimationScreen::setAnimationEndAction(std::function<void ()>)' sketch\main.ino.cpp.o:(.literal._Z16stateMachineInitv+0x78): undefined reference to
ScreenStateMachine::addTransition(unsigned char, unsigned char, unsigned char)' sketch\main.ino.cpp.o:(.literal._Z16stateMachineInitv+0x7c): undefined reference toScreenStateMachine::addTransitionAction(unsigned char, unsigned char, std::function<void ()>)' sketch\main.ino.cpp.o:(.literal._Z12setupScreensv+0x3c): undefined reference to
VPetLCDMenuBar32p::setIconOnIndex(unsigned char, unsigned char)' sketch\main.ino.cpp.o:(.literal._Z12setupScreensv+0x40): undefined reference toVPetLCD::setMenuBar(VPetLCDMenuBar32p*)' sketch\main.ino.cpp.o:(.literal._Z12setupScreensv+0x44): undefined reference to
V20::SelectionScreen::addOption(char, unsigned char)' sketch\main.ino.cpp.o:(.literal._Z12setupScreensv+0x48): undefined reference to `V20::SelectionScreen::addOption(char)' sketch\main.ino.cpp.o:(.literal._Z4loopv+0x18): undefined reference toDigimon::loop(unsigned long)' sketch\main.ino.cpp.o:(.literal._Z4loopv+0x1c): undefined reference to
V20::DigimonWatchingScreen::loop(long)' sketch\main.ino.cpp.o:(.literal._Z4loopv+0x20): undefined reference toV20::ClockScreen::loop(unsigned long)' sketch\main.ino.cpp.o:(.literal._Z4loopv+0x24): undefined reference to
V20::DigimonNameScreen::loop(unsigned long)' sketch\main.ino.cpp.o:(.literal._Z4loopv+0x28): undefined reference toScreenStateMachine::getCurrentScreen()' sketch\main.ino.cpp.o:(.literal._Z4loopv+0x2c): undefined reference to
V20::AnimationScreen::loop(unsigned long)' sketch\main.ino.cpp.o:(.literal._Z4loopv+0x30): undefined reference toVPetLCD::startRendering()' sketch\main.ino.cpp.o:(.literal._Z4loopv+0x34): undefined reference to
VPetLCD::endRendering()' sketch\main.ino.cpp.o:(.literal.startup._GLOBALsub_I_savegame+0x18): undefined reference tovtable for TFT_eSPI_DisplayAdapter' sketch\main.ino.cpp.o:(.literal.startup._GLOBAL__sub_I_savegame+0x20): undefined reference to
vtable for ESP32SpriteManager' sketch\main.ino.cpp.o:(.literal.startup._GLOBALsub_I_savegame+0x24): undefined reference tovtable for V20::AgeWeightScreen' sketch\main.ino.cpp.o:(.literal.startup._GLOBAL__sub_I_savegame+0x40): undefined reference to
VPetLCD::VPetLCD(AbstractDisplayAdapter, AbstractSpriteManager, int, int)' sketch\main.ino.cpp.o:(.literal.startup._GLOBALsub_I_savegame+0x44): undefined reference toVPetLCDMenuBar32p::VPetLCDMenuBar32p(unsigned char, unsigned char, unsigned short)' sketch\main.ino.cpp.o:(.literal.startup._GLOBAL__sub_I_savegame+0x48): undefined reference to
V20::DigimonWatchingScreen::DigimonWatchingScreen(AbstractSpriteManager*, unsigned char, signed char, signed char, signed char, signed char)' sketch\main.ino.cpp.o:(.literal.startup._GLOBALsub_I_savegame+0x4c): undefined reference toV20::DigimonNameScreen::DigimonNameScreen(AbstractSpriteManager*, char*, unsigned short, unsigned short)' sketch\main.ino.cpp.o:(.literal.startup._GLOBAL__sub_I_savegame+0x50): undefined reference to
V20::HeartsScreen::HeartsScreen(char, unsigned short, unsigned short)' sketch\main.ino.cpp.o:(.literal.startup._GLOBAL__sub_I_savegame+0x54): undefined reference to `V20::ProgressBarScreen::ProgressBarScreen(char, unsigned short, unsigned short)' sketch\main.ino.cpp.o:(.literal.startup._GLOBALsub_I_savegame+0x58): undefined reference toV20::PercentageScreen::PercentageScreen(char*, char, unsigned short)' sketch\main.ino.cpp.o:(.literal.startup._GLOBAL__sub_I_savegame+0x5c): undefined reference to
V20::SelectionScreen::SelectionScreen(bool)' sketch\main.ino.cpp.o:(.literal.startup._GLOBALsub_I_savegame+0x60): undefined reference toV20::ClockScreen::ClockScreen(bool)' sketch\main.ino.cpp.o:(.literal.startup._GLOBAL__sub_I_savegame+0x64): undefined reference to
V20::EatingAnimationScreen::EatingAnimationScreen(AbstractSpriteManager, unsigned short)' sketch\main.ino.cpp.o:(.literal.startup._GLOBAL__sub_I_savegame+0x68): undefined reference toScreenStateMachine::ScreenStateMachine(unsigned char, unsigned char)' sketch\main.ino.cpp.o:(.literal.startup._GLOBAL__sub_I_savegame+0x6c): undefined reference to
ScreenStateMachine::addScreen(VPetLCD::Screen)' sketch\main.ino.cpp.o:(.literal.exit._GLOBAL__sub_D_savegame+0x0): undefined reference tovtable for V20::AnimationScreen' sketch\main.ino.cpp.o: In function
std::_Function_handler<void (), stateMachineInit()::{lambda()#1}>::_M_invoke(std::_Any_data const&)': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:126: undefined reference toScreenStateMachine::setCurrentScreen(unsigned char)' sketch\main.ino.cpp.o: In function
std::_Function_handler<void (), stateMachineInit()::{lambda()#2}>::_M_invoke(std::_Any_data const&)': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:159: undefined reference toVPetLCDMenuBar32p::nextSelection()' sketch\main.ino.cpp.o: In function
std::_Function_handler<void (), stateMachineInit()::{lambda()#4}>::_M_invoke(std::_Any_data const&)': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:205: undefined reference toV20::SelectionScreen::nextSelection()' sketch\main.ino.cpp.o: In function
std::_Function_handler<void (), stateMachineInit()::{lambda()#7}>::_M_invoke(std::_Any_data const&)': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:253: undefined reference toV20::SelectionScreen::nextSelection()' sketch\main.ino.cpp.o: In function
button_init()::{lambda(Button2&)#1}::_FUN(Button2&)': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:265: undefined reference toScreenStateMachine::sendSignal(unsigned char)' sketch\main.ino.cpp.o: In function
button_init()::{lambda(Button2&)#2}::_FUN(Button2&)': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:270: undefined reference toScreenStateMachine::sendSignal(unsigned char)' sketch\main.ino.cpp.o: In function
button_init()::{lambda(Button2&)#3}::_FUN(Button2&)': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:275: undefined reference toScreenStateMachine::sendSignal(unsigned char)' sketch\main.ino.cpp.o: In function
std::_Function_handler<void (), stateMachineInit()::{lambda()#3}>::_M_invoke(std::_Any_data const&)': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:186: undefined reference toScreenStateMachine::setCurrentScreen(unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:191: undefined reference to
V20::DigimonWatchingScreen::flushPoop()' sketch\main.ino.cpp.o: In functionstd::_Function_handler<void (), stateMachineInit()::{lambda()#5}>::_M_invoke(std::_Any_data const&)': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:211: undefined reference to
V20::SelectionScreen::getSelection()' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:216: undefined reference toV20::EatingAnimationScreen::setSprites(unsigned char, unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:235: undefined reference to
V20::EatingAnimationScreen::setSprites(unsigned char, unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:237: undefined reference toScreenStateMachine::setCurrentScreen(unsigned char)' sketch\main.ino.cpp.o: In function
stateMachineInit()': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:121: undefined reference toDigimon::printSerial()' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:128: undefined reference to
V20::AnimationScreen::setAnimationEndAction(std::function<void ()>)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:134: undefined reference toScreenStateMachine::addTransition(unsigned char, unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:138: undefined reference to
ScreenStateMachine::addTransition(unsigned char, unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:139: undefined reference toScreenStateMachine::addTransition(unsigned char, unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:140: undefined reference to
ScreenStateMachine::addTransition(unsigned char, unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:141: undefined reference toScreenStateMachine::addTransition(unsigned char, unsigned char, unsigned char)' sketch\main.ino.cpp.o:C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:142: more undefined references to
ScreenStateMachine::addTransition(unsigned char, unsigned char, unsigned char)' follow sketch\main.ino.cpp.o: In functionstateMachineInit()': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:160: undefined reference to
ScreenStateMachine::addTransitionAction(unsigned char, unsigned char, std::function<void ()>)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:163: undefined reference toScreenStateMachine::addTransition(unsigned char, unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:199: undefined reference to
ScreenStateMachine::addTransitionAction(unsigned char, unsigned char, std::function<void ()>)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:203: undefined reference toScreenStateMachine::addTransition(unsigned char, unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:206: undefined reference to
ScreenStateMachine::addTransitionAction(unsigned char, unsigned char, std::function<void ()>)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:209: undefined reference toScreenStateMachine::addTransition(unsigned char, unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:241: undefined reference to
ScreenStateMachine::addTransitionAction(unsigned char, unsigned char, std::function<void ()>)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:244: undefined reference toScreenStateMachine::addTransition(unsigned char, unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:248: undefined reference to
ScreenStateMachine::addTransitionAction(unsigned char, unsigned char, std::function<void ()>)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:251: undefined reference toScreenStateMachine::addTransition(unsigned char, unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:255: undefined reference to
ScreenStateMachine::addTransitionAction(unsigned char, unsigned char, std::function<void ()>)' sketch\main.ino.cpp.o: In functionsetupScreens()': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:282: undefined reference to
VPetLCDMenuBar32p::setIconOnIndex(unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:283: undefined reference toVPetLCDMenuBar32p::setIconOnIndex(unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:284: undefined reference to
VPetLCDMenuBar32p::setIconOnIndex(unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:285: undefined reference toVPetLCDMenuBar32p::setIconOnIndex(unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:286: undefined reference to
VPetLCDMenuBar32p::setIconOnIndex(unsigned char, unsigned char)' sketch\main.ino.cpp.o:C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:287: more undefined references toVPetLCDMenuBar32p::setIconOnIndex(unsigned char, unsigned char)' follow sketch\main.ino.cpp.o: In function
setupScreens()': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:291: undefined reference toVPetLCD::setMenuBar(VPetLCDMenuBar32p*)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:313: undefined reference to
V20::SelectionScreen::addOption(char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:314: undefined reference to `V20::SelectionScreen::addOption(char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:315: undefined reference toV20::SelectionScreen::addOption(char*, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:316: undefined reference to
V20::SelectionScreen::addOption(char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:320: undefined reference to `V20::SelectionScreen::addOption(char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:321: undefined reference toV20::SelectionScreen::addOption(char*)' sketch\main.ino.cpp.o: In function
loop()': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:392: undefined reference toDigimon::loop(unsigned long)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:397: undefined reference to
V20::DigimonWatchingScreen::loop(long)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:398: undefined reference toV20::ClockScreen::loop(unsigned long)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:399: undefined reference to
V20::DigimonNameScreen::loop(unsigned long)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:403: undefined reference toScreenStateMachine::getCurrentScreen()' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:404: undefined reference to
V20::AnimationScreen::loop(unsigned long)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:406: undefined reference toScreenStateMachine::getCurrentScreen()' sketch\main.ino.cpp.o: In function
VPetLCD::renderScreen(VPetLCD::Screen)': sketch\VPetLCD/VPetLCD.h:105: undefined reference toVPetLCD::startRendering()' sketch\VPetLCD/VPetLCD.h:107: undefined reference to
VPetLCD::endRendering()' sketch\main.ino.cpp.o: In function_GLOBAL__sub_I_savegame': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:73: undefined reference to
VPetLCD::VPetLCD(AbstractDisplayAdapter, AbstractSpriteManager, int, int)' sketch\main.ino.cpp.o: In functionESP32SpriteManager::ESP32SpriteManager()': sketch\VPetLCD/ESP32SpriteManager.h:9: undefined reference to
VPetLCDMenuBar32p::VPetLCDMenuBar32p(unsigned char, unsigned char, unsigned short)' sketch\main.ino.cpp.o: In function_GLOBAL__sub_I_savegame': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:76: undefined reference to
V20::DigimonWatchingScreen::DigimonWatchingScreen(AbstractSpriteManager, unsigned char, signed char, signed char, signed char, signed char)' sketch\main.ino.cpp.o: In functionESP32DigimonDataLoader::getDigimonProperties(unsigned short)': c:\users\lehuuk~1\appdata\local\temp\arduino_build_709709\sketch\gamelogic/ESP32DigimonDataLoader.h:9: undefined reference to
V20::DigimonNameScreen::DigimonNameScreen(AbstractSpriteManager, char, unsigned short, unsigned short)' sketch\main.ino.cpp.o: In functionV20::AgeWeightScreen::AgeWeightScreen(unsigned short, unsigned short)': c:\users\lehuuk~1\appdata\local\temp\arduino_build_709709\sketch\vpetlcd\screens/AgeWeightScreen.h:19: undefined reference to
V20::HeartsScreen::HeartsScreen(char, unsigned short, unsigned short)' sketch\main.ino.cpp.o: In function_GLOBAL__sub_I_savegame': C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:79: undefined reference to
V20::HeartsScreen::HeartsScreen(char, unsigned short, unsigned short)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:80: undefined reference toV20::HeartsScreen::HeartsScreen(char*, unsigned short, unsigned short)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:81: undefined reference to
V20::ProgressBarScreen::ProgressBarScreen(char, unsigned short, unsigned short)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:82: undefined reference to `V20::PercentageScreen::PercentageScreen(char, char, unsigned short)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:83: undefined reference toV20::PercentageScreen::PercentageScreen(char*, char, unsigned short)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:84: undefined reference to
V20::SelectionScreen::SelectionScreen(bool)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:84: undefined reference toV20::SelectionScreen::SelectionScreen(bool)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:85: undefined reference to
V20::ClockScreen::ClockScreen(bool)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:87: undefined reference toV20::EatingAnimationScreen::EatingAnimationScreen(AbstractSpriteManager*, unsigned short)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:88: undefined reference to
ScreenStateMachine::ScreenStateMachine(unsigned char, unsigned char)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:100: undefined reference toScreenStateMachine::addScreen(VPetLCD::Screen*)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:100: undefined reference to
ScreenStateMachine::addScreen(VPetLCD::Screen)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:103: undefined reference to `ScreenStateMachine::addScreen(VPetLCD::Screen)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:104: undefined reference toScreenStateMachine::addScreen(VPetLCD::Screen*)' C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:105: undefined reference to
ScreenStateMachine::addScreen(VPetLCD::Screen)' sketch\main.ino.cpp.o:C:\Users\lehuukhoa\Downloads\DigimonVPet-master\DigimonVPet-master\src\main/main.ino:106: more undefined references to `ScreenStateMachine::addScreen(VPetLCD::Screen)' follow collect2.exe: error: ld returned 1 exit status exit status 1 Error compiling for board ESP32 Dev Module.