Link error when build TouchGFX generated project
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-18 2:29 AM
Hello,
I'm trying to generate with STM32CubeIDE a project generated with TouchGFXDesigner and I encounter a Link Error
- "missing--end-group; added as last command line option
- cannot find -l-lW,--end-group
To generate, I do the following:
- New project in TouchGFX Designer
- Application template STM32f769I evaluation Kit
- UI Template "Text Example"
- I click Generate Code
- Opening .ioc file with CubeMX, generating code
- Build project with STM32CubeIDE
My environment is the following:
- TouchGFXDesigner 4.16.1
- STM32CubeMX 6.2.1
- F7 Package firmware 1.16.0
- Also try after migrating to 1.16.1
- STM32CubeIDE1.6.1
Any help would be welcome
Thank you
Antoine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-18 7:26 AM
After generating with CubeMX, there is a popup with "Open Folder", "Open Project" and "Close"
I selected "Open Project"
I do not know if it could change anything, but my TouchGFX Project directory is not in my CubeIDE Workspace directory!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-18 11:42 PM
The TouchGFX Project should not be in the CubeIDE workspace directory. If you look at the folder structure of a generated project based on an apoplication template for a ST kit you will see that TouchGFX and the STM32CubeIDE project have their own folders.
/Romain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-18 11:45 PM
Thanks for reporting this and investing, I have reported it to the team to have this fixed in the application template.
/Romain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-05-19 12:55 AM
So, as my TouchGFX Project is not in the IDE Workspace, this is not the origin of the error
I have a directory with the project generated by TouchGFX that I do not modify
I just try with another UI Template: Animated Image
After GFX Generation, MX Generation, GFX Generation, again the same error in the IDE.
But this time, there was only the right lib in the library option. I modified the name (so I get an error lib not found), and I put again the right name, and there was no more error.
It seems that there is something that make the linker try to link with 2 libs, one with no name, until the lib properties are reset
Antoine

- « Previous
-
- 1
- 2
- Next »