cancel
Showing results for 
Search instead for 
Did you mean: 

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

ananya
Associate II
 
8 REPLIES 8
Martin KJELDSEN
Chief III

Hi @ananya​,

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

/Martin

ananya
Associate II

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
Chief III

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
Chief III

Any update on this @ananya​ ?

ananya
Associate II

Yes i Checked with linker settings and it is working.

Martin KJELDSEN
Chief III

Ok, that's great!

/Martin

ananya
Associate II

Hi Martin,

I have another query.

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

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