2021-05-18 02:29 AM
Hello,
I'm trying to generate with STM32CubeIDE a project generated with TouchGFXDesigner and I encounter a Link Error
To generate, I do the following:
My environment is the following:
Any help would be welcome
Thank you
Antoine
2021-05-18 07: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!
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
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
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