Problem on generated code from cube MX and TouchGFx on stm32h745i-disco
Hello,
I am trying to configure project manually for STM32H745I-Disco from scratch (without using any example template).
used app versions
CubeIde 1.17.0
Touchgfx 4.23.0
cubemx 6.12.0
I configured everything from cube mx and also created a blank UI from Touchgfx and generated code from there. But i am always getting errors like below:
../TouchGFX/target/generated/STM32DMA.hpp:21:10: fatal error: touchgfx/hal/BlitOp.hpp: No such file or directory
21 | #include <touchgfx/hal/BlitOp.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
../TouchGFX/target/generated/TouchGFXConfiguration.cpp:19:10: fatal error: texts/TypedTextDatabase.hpp: No such file or directory
19 | #include <texts/TypedTextDatabase.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from ../TouchGFX/target/STM32TouchController.cpp:25:
../TouchGFX/target/STM32TouchController.hpp:28:10: fatal error: platform/driver/touch/TouchController.hpp: No such file or directory
28 | #include <platform/driver/touch/TouchController.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from ../TouchGFX/target/generated/TouchGFXGeneratedHAL.cpp:19:
../TouchGFX/target/generated/TouchGFXGeneratedHAL.hpp:21:10: fatal error: touchgfx/hal/HAL.hpp: No such file or directory
21 | #include <touchgfx/hal/HAL.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [TouchGFX/target/generated/subdir.mk:28: TouchGFX/target/generated/STM32DMA.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [TouchGFX/target/generated/subdir.mk:28: TouchGFX/target/generated/TouchGFXConfiguration.o] Error 1
../TouchGFX/target/TouchGFXGPIO.cpp:23:10: fatal error: touchgfx/hal/GPIO.hpp: No such file or directory
23 | #include <touchgfx/hal/GPIO.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [TouchGFX/target/subdir.mk:25: TouchGFX/target/STM32TouchController.o] Error 1
../TouchGFX/simulator/main.cpp:1:10: fatal error: platform/hal/simulator/sdl2/HALSDL2.hpp: No such file or directory
1 | #include <platform/hal/simulator/sdl2/HALSDL2.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
when i tried to reference those file on stmcubeide it can reference to it but during compilation
it shows No such file or directory.
I keep on including paths but later some other errors starts appearing. Did anyone face similar problems?
I viewed similar problem discussed on ST community and followed it but i couldn't resolve mine.
Regards,
Basnet
