Skip to main content
ananya
Associate II
May 24, 2019 6:09 AM UTC
Question

Linker error in IAR version 7.4 (STM324X9i-eval) while running the example animated Image example from touchGFX version 4.9.3.

..

This topic has been closed for replies.

8 replies

Martin KJELDSEN
Principal III
May 24, 2019 11:31 AM UTC

Hi @ananya​,

Do you have any more information to share about this? Build logs? Thanks

/Martin

ananya
ananyaAuthor
Associate II
Jun 3, 2019 5:23 AM UTC

The error was..

Error[Li005]: no definition for "touchgfx::InternalFlashFont::InternalFlashFont(touchgfx::GlyphNode const *, unsigned short, unsigned short, unsigned char, unsigned  

char, unsigned char, unsigned char, unsigned char const *, touchgfx::KerningNode const *, unsigned short, unsigned short)" [referenced from C:\TouchGFXProjects\ 

MyApplication17\target\IAR\Debug\Obj\FontGetters.o] 

Error[Li005]: no definition for "touchgfx::LockFreeDMA_Queue::LockFreeDMA_Queue(touchgfx::BlitOp *, unsigned long)" [referenced from C:\TouchGFXProjects\ 

MyApplication17\target\IAR\Debug\Obj\STM32F4DMA.o] 

Error[Li005]: no definition for "Virtual function table for touchgfx::LCD16bpp" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\Obj\ 

BoardConfiguration.o] 

Error[Li005]: no definition for "touchgfx::HAL::setMCUActive(bool)" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\Obj\OSWrappers.o] 

Error[Li005]: no definition for "touchgfx::HAL::instance" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\Obj\OSWrappers.o] 

Error[Li005]: no definition for "touchgfx::HAL::initialize()" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\Obj\BoardConfiguration.o] 

Error[Li005]: no definition for "touchgfx::Bitmap::registerBitmapDatabase(touchgfx::Bitmap::BitmapData const *, unsigned short, unsigned short *, unsigned int,  

unsigned int)" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\Obj\BoardConfiguration.o] 

Error[Li005]: no definition for "touchgfx::FontManager::setFontProvider(touchgfx::FontProvider *)" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\ 

Debug\Obj\BoardConfiguration.o] 

Error[Li005]: no definition for "touchgfx::Application::getInstance()" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\Obj\ 

BoardConfiguration.o] 

Error[Li005]: no definition for "touchgfx::TypedText::texts" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\Obj\BoardConfiguration.o] 

Error[Li005]: no definition for "touchgfx::AbstractPartition::~AbstractPartition() [subobject]" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\ 

Obj\BoardConfiguration.o] 

Error[Li005]: no definition for "touchgfx::AbstractPartition::AbstractPartition() [subobject]" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\ 

Obj\BoardConfiguration.o] 

Error[Li005]: no definition for "touchgfx::Application::clearAllTimerWidgets()" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\Obj\ 

FrontendApplicationBase.o] 

Error[Li005]: no definition for "touchgfx::Screen::bindTransition(touchgfx::Transition &)" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\ 

Obj\FrontendApplicationBase.o] 

Error[Li005]: no definition for "touchgfx::HAL::DISPLAY_HEIGHT" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\Obj\Screen1View.o] 

Error[Li005]: no definition for "touchgfx::HAL::DISPLAY_WIDTH" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\Obj\Screen1View.o] 

Error[Li005]: no definition for "touchgfx::Screen::Screen() [subobject]" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\Obj\ 

Screen1ViewBase.o] 

Error[Li005]: no definition for "touchgfx::Image::setBitmap(touchgfx::Bitmap const &)" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\Obj\ 

Screen1ViewBase.o] 

Error[Li005]: no definition for "touchgfx::ButtonWithLabel::ButtonWithLabel()" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\Obj\ 

Screen1ViewBase.o] 

Error[Li005]: no definition for "touchgfx::Color::getColorFrom24BitRGB(unsigned char, unsigned char, unsigned char)" [referenced from C:\TouchGFXProjects\ 

MyApplication17\target\IAR\Debug\Obj\Screen1ViewBase.o] 

Error[Li005]: no definition for "touchgfx::AnimatedImage::setBitmaps(unsigned short, unsigned short)" [referenced from C:\TouchGFXProjects\MyApplication17\target\ 

IAR\Debug\Obj\Screen1ViewBase.o] 

Error[Li005]: no definition for "touchgfx::AnimatedImage::setUpdateTicksInterval(unsigned char)" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\ 

Debug\Obj\Screen1ViewBase.o] 

Error[Li005]: no definition for "touchgfx::Button::setBitmaps(touchgfx::Bitmap const &, touchgfx::Bitmap const &)" [referenced from C:\TouchGFXProjects\ 

MyApplication17\target\IAR\Debug\Obj\Screen1ViewBase.o] 

Error[Li005]: no definition for "touchgfx::Container::add(touchgfx::Drawable &)" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\Obj\ 

Screen1ViewBase.o] 

Error[Li005]: no definition for "touchgfx::TypedText::typedTexts" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\Obj\ 

Screen1ViewBase.o] 

Error[Li005]: no definition for "touchgfx::TypedText::numberOfTypedTexts" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\Obj\ 

Screen1ViewBase.o] 

Error[Li005]: no definition for "touchgfx::TypedText::fonts" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\Obj\Screen1ViewBase.o] 

Error[Li005]: no definition for "touchgfx::AnimatedImage::startAnimation(bool const &, bool const &, bool const &)" [referenced from C:\TouchGFXProjects\ 

MyApplication17\target\IAR\Debug\Obj\Screen1ViewBase.o] 

Error[Li005]: no definition for "touchgfx::AnimatedImage::pauseAnimation()" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\Obj\ 

Screen1ViewBase.o] 

Error[Li005]: no definition for "Virtual function table for touchgfx::Image" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\Obj\ 

Screen1ViewBase.o] 

Error[Li005]: no definition for "Virtual function table for touchgfx::AnimatedImage" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\Obj\ 

Screen1ViewBase.o] 

Error[Li005]: no definition for "Virtual function table for touchgfx::Box" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\Obj\ 

Screen1ViewBase.o] 

Error[Li005]: no definition for "touchgfx::Application::currentScreen" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\Obj\ 

FrontendApplicationBase.o] 

Error[Li005]: no definition for "touchgfx::Application::currentTransition" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\Obj\ 

FrontendApplicationBase.o] 

Error[Li005]: no definition for "touchgfx::Application::draw()" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\Obj\ 

FrontendApplicationBase.o] 

Error[Li005]: no definition for "touchgfx::Application::Application() [subobject]" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\Obj\ 

FrontendApplicationBase.o] 

Error[Li005]: no definition for "touchgfx::Application::instance" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\Obj\ 

FrontendApplicationBase.o] 

Error[Li005]: no definition for "touchgfx::HAL::taskEntry()" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\Obj\main.o] 

Error[Li005]: no definition for "touchgfx::HAL::registerEventListener(touchgfx::UIEventListener &)" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\ 

Debug\Obj\BoardConfiguration.o] 

Error[Li005]: no definition for "touchgfx::HAL::USE_DOUBLE_BUFFERING" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\Obj\ 

STM32F4HAL.o] 

Error[Li005]: no definition for "touchgfx::HAL::USE_ANIMATION_STORAGE" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\Obj\ 

STM32F4HAL.o] 

Error[Li005]: no definition for "touchgfx::HAL::DISPLAY_ROTATION" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\Obj\ 

BoardConfiguration.o] 

Error[Li005]: no definition for "touchgfx::HAL::FRAME_BUFFER_WIDTH" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\Obj\ 

BoardConfiguration.o] 

Error[Li005]: no definition for "touchgfx::HAL::FRAME_BUFFER_HEIGHT" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\Obj\ 

BoardConfiguration.o] 

Error[Li005]: no definition for "touchgfx::DMA_Interface::executeCompleted()" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\Obj\ 

STM32F4DMA.o] 

Error[Li005]: no definition for "touchgfx::HAL::swapFrameBuffers()" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\Obj\STM32F4HAL.o] 

Error[Li005]: no definition for "touchgfx::HAL::allowDMATransfers()" [referenced from C:\TouchGFXProjects\MyApplication17\target\IAR\Debug\Obj\STM32F4HAL.o] 

Error while running Linker 

Martin KJELDSEN
Principal III
Jun 3, 2019 8:42 AM UTC

This looks like IAR, yea?

It looks like your application is not linking with the touchgfx library. Can you check your linker settings?

/Martin

Martin KJELDSEN
Principal III
Jun 11, 2019 7:59 AM UTC

Any update on this @ananya​ ?

ananya
ananyaAuthor
Associate II
Jun 19, 2019 7:29 AM UTC

Yes i Checked with linker settings and it is working.

Martin KJELDSEN
Principal III
Jun 19, 2019 7:39 AM UTC

Ok, that's great!

/Martin

ananya
ananyaAuthor
Associate II
Jun 20, 2019 6:12 AM UTC

Hi Martin,

I have another query.

I'm creating numeric keyboard. How to take input from the buttons to a buffer of text area??

Martin KJELDSEN
Principal III
Jun 20, 2019 7:26 AM UTC

Hi Anaya,

There are a few ways of going about creating a keyboard.

1) Just use standard buttons. In this case, you have a reference to the button and you can deduce what was pressed and which number to write into your wildcard buffer (displayed by your text area).

2) Use a "map" where you simply create a container and have one touch handler for the whole area, inspecting the coordinates to evaluate what was pressed. In this case you'll just have a Rect mapped to a number.

Does that make sense?

/Martin