Skip to main content
jimmii
Senior II
July 30, 2020
Solved

Linker error with provided ARMCLANG library from TouchGfx 4.14.0

  • July 30, 2020
  • 7 replies
  • 7139 views

Hi @Martin KJELDSEN​ 

I just updated to 4.14.0. Now I get the linker as I got them in this thread (the problem was the short enums/wchar settings) https://community.st.com/s/question/0D50X0000AlgbG2SQI/arm6-compiler-support

I can see that the armclang lib that comes with 4.14.0 is smaller than the version you provided in the thread.

Any thoughts?

Cheers /jimmii

This topic has been closed for replies.
Best answer by Martin KJELDSEN

..

7 replies

jimmii
jimmiiAuthor
Senior II
July 30, 2020

Anyone else having this issue? Maybe @Alexandre RENOUX​ you can help?

/jimmii

jimmii
jimmiiAuthor
Senior II
August 4, 2020

Anyone? @Martin KJELDSEN​ , @Alexandre RENOUX​ 

/jimmii 

jimmii
jimmiiAuthor
Senior II
August 6, 2020

Feedback much appreciated. @Martin KJELDSEN​ , @Alexandre RENOUX​ 

Alexandre RENOUX
Visitor II
August 6, 2020

Hello,

Sorry for the delay, unfortunately I don't know how to work with ARMCLANG library, please wait for @Martin KJELDSEN​ to come back next week.

/Alexandre

Martin KJELDSEN
Principal III
August 10, 2020

Hi @Roman Schläpfer​,

Back from vacation. What's the status on this? From our perspective, we only offer a single library with a certain configuration of settings. What we did was come up with a library that satisfied your conditions, something that would vary from developer to developer. I think i'll try to raise a flag to address this more generally, since the number of combinations for libraries for all compilers is .. well, a large number.

/Martin

jimmii
jimmiiAuthor
Senior II
August 10, 2020

Hi @Martin KJELDSEN​ , hope you had a great time...

I see what you mean, but since the Keil Middlewares only link when "Short enums/wchar" is enabled (as figured out by @PBull​ in this thread: https://community.st.com/s/question/0D50X0000AlgbG2SQI/arm6-compiler-support) and Keil mentions: "The wchar_t type must be the same in all source and libraries to successfully link." - all the people who are using middlewares cannot use "your" armclang library. Does that make sense?

Or you could provide me with a new 4.14.0 library with this option enabled (like you did last time)? I think the old library does not work with the updated 4.14.0 framework, am I correct? At least my project it does not link with it. So I'm stuck at 4.13 at the moment.

Thanks for your help.

/jimmii

Martin KJELDSEN
Principal III
August 10, 2020

Yes, i see what you mean. We just had to make a decision and there are many use cases. The biggest problem is identifying the right library (should we choose to distribute multiple) because it gets automatically configured into projects, etc. And there are some limits to what we can read from various tools.

But with ARMCLANG there are quite a few options. I'll try to consider what we can do here. In any case, i'll try to make a working lib for you like we did last time. This thread?

/Martin

Joey1
Visitor II
April 21, 2021

Thank you very much for this thread. I was struggling, too, to get Keil MDK Compiler 6 working with the TouchGFX library. The provided newly compiled library works very well with TouchGFX Designer 4.16.1.

fe3
Associate III
November 1, 2021

Hello Martin,

could you please provide a library for TouchGFX 4.18 for the Clang Compiler 6 by arm for the Cortex M7 processor with the compiler option short enum/wchar. Only then I can use the middleware of arm together with TouchGFX.

Thanks in advance

Romain DIELEMAN
ST Employee
November 1, 2021

Hi,

Here is the library with the option enum/wchar :thumbs_up:

/Romain

fe3
Associate III
November 2, 2021

Hello Romain,

thanks for the library. I tried to compile my project. With the new library I get the following error message:

.\Objects\TouchTest1.axf: Error: L6218E: Undefined symbol touchgfx::HAL::blitCopyGlyph(unsigned char const*, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, touchgfx::colortype, unsigned char, touchgfx::BlitOperations) (referred from touchgfxgeneratedhal.o).

.\Objects\TouchTest1.axf: Error: L6218E: Undefined symbol touchgfx::HAL::blitCopyARGB8888(unsigned short const*, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, unsigned char) (referred from touchgfxgeneratedhal.o).

.\Objects\TouchTest1.axf: Error: L6218E: Undefined symbol touchgfx::HAL::blitCopy(unsigned short const*, unsigned char const*, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, unsigned char, bool, unsigned short, touchgfx::Bitmap::BitmapFormat, touchgfx::Bitmap::BitmapFormat) (referred from touchgfxgeneratedhal.o).

.\Objects\TouchTest1.axf: Error: L6218E: Undefined symbol touchgfx::HAL::blitCopy(unsigned short const*, unsigned short, unsigned short, unsigned short, unsigned short, unsigned short, unsigned char, bool) (referred from touchgfxgeneratedhal.o).

.\Objects\TouchTest1.axf: Error: L6218E: Undefined symbol 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) (referred from touchgfxgeneratedhal.o).

.\Objects\TouchTest1.axf: Error: L6218E: Undefined symbol touchgfx::HAL::blitFill(touchgfx::colortype, unsigned short, unsigned short, unsigned short, unsigned short, unsigned char) (referred from touchgfxgeneratedhal.o).

.\Objects\TouchTest1.axf: Error: L6218E: Undefined symbol touchgfx::HAL::blitFill(touchgfx::colortype, unsigned short, unsigned short, unsigned short, unsigned short, unsigned char, unsigned short, touchgfx::Bitmap::BitmapFormat) (referred from touchgfxgeneratedhal.o).

Do I need to include additional files in my MDK project in version 4.18? The same error message appears when I use the provided library without (short enums/wchar).

Regards

Ferdinand