Skip to main content
gokhanozata
Associate II
September 12, 2022
Question

How can i solve the linker problem? 4.20 version

  • September 12, 2022
  • 5 replies
  • 1757 views

I want to move my project to TouchGFX 4.20 from TouchGFX 4.18. 

But I allways take a error in IDE.

I uptaded MX, IDE and TouchGFX.

I opened project on MX. I selected TouchGFX 4.20 on Software Packs. And i generate, it open on IDE and I build all in IDE. So everything perfect.

But I must change GUI on the Touch GFX. For example I add pushbutton. I generate code in Touch GFX. Then i opened the project for writting the code in IDE. I build all in IDE but it gives error(linker).

I use this current version:

Touch GFX 4.20, IDE 1.10.1, MX 6.6.1

This topic has been closed for replies.

5 replies

Tesla DeLorean
Guru
September 12, 2022

Still path references to older objects/libraries

Perhaps check workspace/project files for them.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
gokhanozata
Associate II
September 12, 2022

What steps should I follow ?

MM..1
Super User
September 12, 2022

I dont use external MX, but my steps:

  1. clean project and zip core + touchgfx
  2. upgrade ide download software package TGFX
  3. open IOC in IDE and in software package migrate touchgfx version
  4. check config part new touchgfx and generate
  5. open touchgfx.file or part file and up TGFX + generate close
  6. in IDE build
Osman SOYKURT
ST Technical Moderator
September 13, 2022

Hello gokhanozata

I'm doing almost the same as MM..1, and never get this kind of issue when updating my project.

Normally, if you open your project with a higher version of TouchGFX Designer, you'll get the notification to update the project. Then, if you open, your project on STM32CubeMX, the X-Cube TouchGFX Software pack should automatically updated to the new version too. After that, I regenerate code from STM32CubeMX and TouchGFX Designer again.

/Osman

ST Software Developer | TouchGFX