2026-02-25 1:56 AM - last edited on 2026-02-25 3:41 AM by mƎALLEm
I have created a UI in touchgfx designer, after I opened CubeMX and based .ioc file from touchgfx designer generate codes for stm32n6.
Now I want to build these codes in Cube IDE but get this Error .
Errors occurred during the build.
Errors running builder 'CDT Builder' on project 'STM32N6570-DK-FreeRTOS_Appli'.
Cannot invoke "com.st.stm32cube.common.mx.registry.IIdeHelper.getRootProject(org.eclipse.core.resources.IProject)" because the return value of "com.st.stm32cube.common.mx.registry.MxRegistry.getIdeHelper()" is null
Solved! Go to Solution.
2026-02-25 3:53 AM - edited 2026-02-25 3:54 AM
Hello @dev-riv and welcome to the ST community,
I've just created an empty project starting from a TBS board by selecting FreeRTOS flavor in TouchGFX Designer 4.26.0:
Generated the code with TouchGFX designer:
then compiled the two projects available. None of them showed an issue in compilation. I'm using the latest version of CubeIDE 2.1.0.
I've attached the project I've created. Could you please test it from your side? Please use the latest version of CubeIDE as I mentioned above.
Hope that helps.
2026-02-25 3:53 AM - edited 2026-02-25 3:54 AM
Hello @dev-riv and welcome to the ST community,
I've just created an empty project starting from a TBS board by selecting FreeRTOS flavor in TouchGFX Designer 4.26.0:
Generated the code with TouchGFX designer:
then compiled the two projects available. None of them showed an issue in compilation. I'm using the latest version of CubeIDE 2.1.0.
I've attached the project I've created. Could you please test it from your side? Please use the latest version of CubeIDE as I mentioned above.
Hope that helps.
2026-03-02 10:01 PM
Hi mƎALLEm
Thank you for your response.
In every created example I have gotten the same error . And I took other way, edit codes and build and flash with designer(+CubeProg) .
2026-03-04 12:39 AM
Hello,
Did you try the project I've attached? did it work?
Otherwise try to re-install all the tools...