2021-07-27 07:20 AM
Hello,
I am doing these steps:
Touchgfx 4.17.0
stm32cubeide Version: 1.6.1
How I can dig into the problem?
I also tried to regenerate the code and update the ioc file.
Thanks
Solved! Go to Solution.
2021-11-04 07:35 AM
Hi Roman,
Thank you for the feedback. Well after I wrote that I figured.. HEY!!, I'm not going to let this thing beat me, and I better figure it out incase it happens again (which is a pretty safe bet probably). All I ended up having to do was go into application/user/generated/ and delete the .cpp files that were associated with the removed images from tGFX designer. They were obvious because then were marked with a '!'. The files were completed empty, but still in the file system.
Is there a way to "clean" the code generated from TouchGFX Designer directly, or can it only be done through the CUBE IDE?
2021-07-28 07:26 AM
Explain more Removed the button compiled and executed with stm32cubeide
2021-07-28 07:40 AM
I removed the button with that background (image_Dark_Slider_Vertical_Medium_Slider3_Vertical_fill) from touchgfx by clicking on it and pressing CANC.
It works in simulation using touchgfx but then gives the error when I compile the project from stm32cubeide
2021-07-28 07:44 AM
I updated Stm32Cube from 1.6.1 to 1.7.0 and this problem is solved, but do not know what is the cause.
2021-11-03 12:32 PM
I'm running version 1.7 and the same thing happened. no clue how to fix it. I guess I'll just start fresh again. Touch gfx is cool, but there is a lot happening in the background, so when things break you are pretty much SOL.
2021-11-04 06:44 AM
Hi,
The way I fix this is usually by opening the .project in notepad++ (or other code editor) and look for the lines related to that images that were removed and that cause issues. I then delete them. I am unsure if it is a STM32CubeIDE or a TouchGFX issue where this is not properly cleaned, I'll ask around again. I do't always face it but it is really annoying when I do I won't lie :grinning_face_with_sweat:.
/Romain
2021-11-04 07:35 AM
Hi Roman,
Thank you for the feedback. Well after I wrote that I figured.. HEY!!, I'm not going to let this thing beat me, and I better figure it out incase it happens again (which is a pretty safe bet probably). All I ended up having to do was go into application/user/generated/ and delete the .cpp files that were associated with the removed images from tGFX designer. They were obvious because then were marked with a '!'. The files were completed empty, but still in the file system.
Is there a way to "clean" the code generated from TouchGFX Designer directly, or can it only be done through the CUBE IDE?