cancel
Showing results for 
Search instead for 
Did you mean: 

Lots of errors when building basic project

aro
Associate II

I have a CubeIDE project for a H743IITx board and an LCD and I added Touchgfx. The Touchgfx 4.24 contains the typical demo that switches between two screens. It runs fine in the simulator. I refreshed the project and it added all the necessary folders/files. Touchgfx is installed on the PC and the package was added inside the CubeIDE manager.

As you can see in the screenshot, there are a lot of red underlined files when I attempt to build the project. There are about 240 errors.

Usually, when so much code is underlined, it's a matter of missing libraries due to some kind of incomplete setup. However, I don't know what is wrong. I followed the documentation setup as well as different videos on youtube and actually the initial setup is not that complex.

Any ideas what could be missing?

 

1 REPLY 1
Imen.D
ST Employee

Hello @aro ,

Probably, the Include paths are not properly set up and you are missing the include files.

You have to review the defines and project's Include path.

You can also start your project from STM32CubeMX and follow this tutorial.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen