2019-11-27 02:16 PM
I'm facing problems when I try to port a 4.9.3 project to 4.12.3.
C:/Projects/StepAhead/smart/Debug/../generated/gui_generated/include/gui_generated/common/FrontendHeapBase.hpp:379: undefined reference to `FrontendApplicationBase::gotoLoadingFileProgressScreenScreenNoTransition()'
Src/BoardConfiguration.o: In function `touchgfx::HAL& touchgfx::touchgfx_generic_init<STM32F7HAL_MIA0130>(touchgfx::DMA_Interface&, touchgfx::LCD&, touchgfx::TouchController&, short, short, unsigned short*, unsigned long, unsigned long)':
C:/Projects/StepAhead/smart/touchgfx/framework/include/common/TouchGFXInit.hpp:89: undefined reference to `BitmapDatabase::getInstance()'
C:/Projects/StepAhead/smart/touchgfx/framework/include/common/TouchGFXInit.hpp:89: undefined reference to `BitmapDatabase::getInstanceSize()'
C:/Projects/StepAhead/smart/touchgfx/framework/include/common/TouchGFXInit.hpp:96: undefined reference to `touchgfx::Texts::setLanguage(unsigned short)'
Src/BoardConfiguration.o: In function `ApplicationFontProvider::~ApplicationFontProvider()':
C:/Projects/StepAhead/smart/Debug/../generated/fonts/include/fonts/ApplicationFontProvider.hpp:46: undefined reference to `vtable for ApplicationFontProvider'
Src/STM32F7HAL_MIA0130.o:(.rodata+0x100): undefined reference to `touchgfx::HAL::blitCopy(unsigned short const*, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, unsigned char, bool, unsigned short, touchgfx::Bitmap::BitmapFormat, touchgfx::Bitmap::BitmapFormat)'
Src/STM32F7HAL_MIA0130.o:(.rodata+0x110): undefined reference to `touchgfx::HAL::blitFill(touchgfx::colortype, unsigned short, unsigned short, unsigned short, unsigned short, unsigned char, unsigned short, touchgfx::Bitmap::BitmapFormat)'
Src/STM32F7HAL_MIA0130.o:(.rodata+0x120): undefined reference to `touchgfx::HAL::copyFBRegionToMemory(touchgfx::Rect, unsigned short*, unsigned long)'
Src/STM32F7HAL_MIA0130.o:(.rodata+0x144): undefined reference to `touchgfx::HAL::configurePartialFrameBuffer(unsigned short, unsigned short, unsigned short, unsigned short)'
Src/STM32F7HAL_MIA0130.o:(.rodata+0x154): undefined reference to `touchgfx::HAL::drawDrawableInDynamicBitmap(touchgfx::Drawable&, unsigned short)'
Src/STM32F7HAL_MIA0130.o:(.rodata+0x158): undefined reference to `touchgfx::HAL::drawDrawableInDynamicBitmap(touchgfx::Drawable&, unsigned short, touchgfx::Rect const&)'
gui/src/common/FrontendApplication.o: In function `FrontendApplication::FrontendApplication(Model&, FrontendHeap&)':
C:/Projects/StepAhead/smart/Debug/../gui/src/common/FrontendApplication.cpp:10: undefined reference to `FrontendApplicationBase::FrontendApplicationBase(Model&, FrontendHeap&)'
gui/src/model/Model.o: In function `Model::tick()':
C:/Projects/StepAhead/smart/Debug/../gui/src/model/Model.cpp:142: undefined reference to `FrontendApplicationBase::gotoHypersyncScreenScreenSlideTransitionWest()'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [makefile:133: Smart.elf] Error 1
Note that one of the undefined is the goto screen from the above issue
Do you have any idea what is causing to these issues?
Thanks
Eyal
2019-11-28 12:18 AM
Hi Eyal,
This issue has already been fixed in the upcoming 4.13.0. For the "Change screen" action, in particular, the designer won't display it across switching screens in the designer, and as you have experienced, also during import. In your case this will cause compilation errors because the "goto"-methods won't get generated. So you'll have to redo this configuration manually for this import and be aware that you may "lose" the change screen action when changing screens in the designer, but the code is still generated.
Thanks for the report!
/Martin
2019-11-28 12:25 AM
Thanks Martin,
Two things:
Thanks,
Eyal
2019-11-28 12:55 AM
Hi,
/Martin