2025-07-13 4:06 AM
Hi,
Project can't be built - CubeIDE Window → Preferences → C/C++ → Build → Environment list is empty.
My CubeIDE 1.18.0 was working fine for many weeks with Nucleo-H753ZI board and CubeMX.
Two days ago, it stopped working after I upgraded it to version 1.19.0. The screen stayed in IDE home window.
Then
1, I deleted directories below
C:\ST\STM32CubeIDE_1.19.0
C:\Users\User\STM32CubeIDE
C:\Users\User\.eclipse
C:\STM32\Workspace
2, I Installed STM32CubeIDE 1.18.0 as administrator.
However, the project can't be built. I found -
1. Window → Preferences → C/C++ → Build → Environment list is empty.
2. .C:\Users\User\.eclipse is missing.- was not regenerated.
I repeated the above steps to install 1.19.0 as administrator. The result is the same.
1. Window → Preferences → C/C++ → Build → Environment list is empty.
2. .C:\Users\User\.eclipse is missing.- was not generated.
Thank you very much for your help,
Rong
2025-07-13 4:15 AM - edited 2025-07-13 4:23 AM
Have you created a new workspace and imported the project into it?
> Window → Preferences → C/C++ → Build → Environment list is empty.
This is normal, unless you've set something in previous version.
> C:\Users\User\.eclipse is missing
This may be if you run CubeIDE as administrator rather than as the normal user.
2025-07-13 5:08 AM
Hi, Pavel,
I had my project imported before my reinstallation, it could not be compiled since Window → Preferences → C/C++ → Build → Environment list is empty.
Now there is another problem - when launch CubeIDE, it automatically creates the workspace in below even if I deleted it every time "C:\Users\User\STM32CubeIDE\workspace_1.19.0"
When I imported my project to this workspace, or switch to my workspace, CubeIDE Window stays in its HOME page. (Welcome to STM32CubeIDE) - I am not able to work on my project.
Thanks,
Rong
2025-07-13 7:44 AM - edited 2025-07-13 7:45 AM
The welcome to CubeIDE page can be closed by clicking the X on the tab.
The problem with the project is because it wasn't imported properly.
2025-07-13 8:08 AM
I had my project imported before my reinstallation, it could not be compiled since Window → Preferences → C/C++ → Build → Environment list is empty.
This is the main problem. Project can't be built.
I am able to see the project screen now.
2025-07-15 7:28 AM
The problem is in CubeMX "Project Manager" - where is a check box - "Build from the root", if you don't select (check) it, you will get many crazy problems.