Skip to main content
Associate II
February 21, 2025
Solved

Why can't I create more than one TouchGFX projects connected to STM32CubeIDE?

  • February 21, 2025
  • 3 replies
  • 639 views

I'm new to STM32, currently using STM32F746G_DISCO I need to learn TouchGFX and CubeIDE, however, when I try to launch the .cproject file I just meet the message

"A project 'STM32F746G_DISCO' already exist into the workspace:
This C:\\TouchGFXProjects\Projects\MyApplication\MyApplication\STM32CubeIDE
Their C:\\TouchGFXProjects\Projects\MyApplication\MyApplication-1\STM32CubeIDE

Would you like to remove it and import the new version?"

Pressing no aborts the import and I cannot work on it, pressing yes will delete my old project or overwrite it, I don't know, but why can't I work on two TouchGFX projects at once on CubeIDE, at least changing the TouchGFX import file name to something else would do it, right? Surely there is a sensible workaround to this, right?

Best answer by Simecrafter

Hello people, thanks for the welcome!

I have managed to fix this issue by opening the "project" file with notepad and changing the name on the third line!

3 replies

mƎALLEm
Technical Moderator
February 21, 2025

Hello @Simecrafter and welcome to the community,

That's because the project name is the same: "STM32F746G_DISCO"  for both workspaces.

Each time you switch from a project to another, remove the previous one from the CubeIDE workspace (don't remove it from your hard drive) and open the new one.

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."
GaetanGodart
Technical Moderator
February 21, 2025

Hello @Simecrafter ,

 

As mƎALLEm said, you can just "delete" the previous project.
Just make sure to NOT check the square saying "delete from hard drive", this way, it just removes it from the workspace.

 

Also, you could change the name of the STM32CubeIDE project to avoid conflicts.
Here is a video about how to do it as well as a thread about it and another thread about it .

 

Regards,

SimecrafterAuthorBest answer
Associate II
February 24, 2025

Hello people, thanks for the welcome!

I have managed to fix this issue by opening the "project" file with notepad and changing the name on the third line!