Skip to main content
CHech.1
Associate III
August 29, 2021
Solved

Can't compile in CubeIDE after deleting image in designer

  • August 29, 2021
  • 2 replies
  • 1053 views

Hi,

I've come across what seems to be a Designer bug which I don't know how to solve or how to avoid it in the future.

I added an animated image to my project that consists of a few images. Afterwards I deleted the animated image and proceeded to remove the images the Designer's images screen.

Then, to my surprise, when I tried to compile through the CubeIDE I received the following error message:

make: *** No rule to make target 'C:/TouchGFXProjects/FirstApplication/TouchGFX/generated/images/src/image_FullPallete.cpp', needed by 'Application/User/generated/image_FullPallete.o'. Stop.

make: *** No rule to make target 'C:/TouchGFXProjects/FirstApplication/TouchGFX/generated/images/src/image_FullPallete.cpp', needed by 'Application/User/generated/image_FullPallete.o'. Stop.

If I re-add the images, it works fine. If I try to delete them again, the same thing happens.

I don't want these images and I don't know how to get rid of them.

Thanks in advance!

This topic has been closed for replies.
Best answer by Romain DIELEMAN

Hi,

As Alexandre said this issue was expected to be fixed. The workaround otherwise would be to manually delete the "Debug" folder in the Tree View of your project in STM32CubeIDE.

/Romain

2 replies

Alexandre RENOUX
Visitor II
August 30, 2021

Hello CHech.1,

What version of TouchGFX are you using ?

This bug should not appear with the latest version (4.17).

/Alexandre

CHech.1
CHech.1Author
Associate III
September 1, 2021

Hi, i'm using 4.17

Romain DIELEMAN
Romain DIELEMANBest answer
ST Employee
August 30, 2021

Hi,

As Alexandre said this issue was expected to be fixed. The workaround otherwise would be to manually delete the "Debug" folder in the Tree View of your project in STM32CubeIDE.

/Romain

CHech.1
CHech.1Author
Associate III
September 1, 2021

Thank you!