cancel
Showing results for 
Search instead for 
Did you mean: 

stm32n6 build error after generating an example with Touchgfx Designer

dev-riv
Associate

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

 

1 ACCEPTED SOLUTION

Accepted Solutions
mƎALLEm
ST Employee

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:

screenshot.png

Generated the code with TouchGFX designer:

screenshot.png

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.

screenshot.png

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.

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.

View solution in original post

3 REPLIES 3
mƎALLEm
ST Employee

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:

screenshot.png

Generated the code with TouchGFX designer:

screenshot.png

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.

screenshot.png

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.

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.

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) . 

Hello,

Did you try the project I've attached? did it work?

Otherwise try to re-install all the tools...

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.