Skip to main content
ADębs.1
Senior
Mar 27, 2021 4:51 PM UTC
Solved

GFX, STM32CubeIDE, STM32F746G-DISCO

Hi

I start with a template. I'm generating GFX without error. I open the STM32CubeIDE. There are * .cpp files. There is no * .hpp. Why?

Regards

Andrzej

This topic has been closed for replies.
Alexandre RENOUX
Alexandre RENOUXBest answer
Visitor II
Mar 29, 2021 6:41 AM UTC

Hello,

This is how CubeIDE works. When you open the project in CubeIDE, the headers (.hpp) are at the top of the project but they are included. If you build the project it should work. FYI, to include other header files you need to go to the project properties and add includes paths.

So if I understand your question correctly, this is not a TouchGFX question but a question on how to use CubeIDE right ?

/Alexandre

2 replies

Alexandre RENOUX
Alexandre RENOUXBest answer
Visitor II
Mar 29, 2021 6:41 AM UTC

Hello,

This is how CubeIDE works. When you open the project in CubeIDE, the headers (.hpp) are at the top of the project but they are included. If you build the project it should work. FYI, to include other header files you need to go to the project properties and add includes paths.

So if I understand your question correctly, this is not a TouchGFX question but a question on how to use CubeIDE right ?

/Alexandre

ADębs.1
ADębs.1Author
Senior
Mar 29, 2021 7:31 AM UTC

Hi

I start working with a template. Does the GFX template generate files to the IDE from * .hpp? Where does it need to be set?

Andrzej