TouchGFX 4.13.0 and STM32F469I Discovery kit (V3.0.0) IDE compilation errors for KEIL MDK V5.28 and SW4STM32 IDE. Needed some help.
Recently I started learning TouchGFX designer 4.13.0 with STM32F469I Discovery kit. I used getting started tutorial link. This is a amazing TFT designer tool. Simulation and target programming worked very well. STM32F469I-DISCO ioc file was generated as a default configuration. I used STM32CubeMX 5.6.0 for generating KEIL IDE and SW4STM32 projects.
However, compilation in SW4STM32 IDE caused an error listed below.
I searched for some fixes, excluding from compilation simulation folder link
It didn’t resolve compilation error. Can you please explain the nature of error?
"../TouchGFX/target/generated/OSWrappers.cpp"
../TouchGFX/target/generated/OSWrappers.cpp:17:10: fatal error: touchgfx/hal/OSWrappers.hpp: No such file or directory
#include <touchgfx/hal/OSWrappers.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
TouchGFX/target/generated/subdir.mk:27: recipe for target 'TouchGFX/target/generated/OSWrappers.o' failed
make: *** [TouchGFX/target/generated/OSWrappers.o] Error 1
KEIL MDK-ARM compilation errors
Build target 'STM32F469I-DISCO'
compiling TouchGFXHAL.cpp...
../TouchGFX/target/generated/TouchGFXGeneratedHAL.hpp(20): error: #5: cannot open source input file "touchgfx/hal/HAL.hpp": No such file or directory
#include <touchgfx/hal/HAL.hpp>
../TouchGFX/target/TouchGFXHAL.cpp: 0 warnings, 1 error
compiling STM32TouchController.cpp...
../TouchGFX/target/STM32TouchController.hpp(23): error: #5: cannot open source input file "platform/driver/touch/TouchController.hpp": No such file or directory
#include <platform/driver/touch/TouchController.hpp>
../TouchGFX/target/STM32TouchController.cpp: 0 warnings, 1 error
assembling startup_stm32f469xx.s...
compiling OSWrappers.cpp...
../TouchGFX/target/generated/OSWrappers.cpp(17): error: #5: cannot open source input file "touchgfx/hal/OSWrappers.hpp": No such file or directory
#include <touchgfx/hal/OSWrappers.hpp>
../TouchGFX/target/generated/OSWrappers.cpp: 0 warnings, 1 error
compiling CortexMMCUInstrumentation.cpp...
../TouchGFX/target/CortexMMCUInstrumentation.hpp(4): error: #5: cannot open source input file "platform/core/MCUInstrumentation.hpp": No such file or directory
#include <platform/core/MCUInstrumentation.hpp>
../TouchGFX/target/CortexMMCUInstrumentation.cpp: 0 warnings, 1 error
compiling TouchGFXConfiguration.cpp...
../TouchGFX/target/generated/TouchGFXConfiguration.cpp(17): error: #5: cannot open source input file "texts/TypedTextDatabase.hpp": No such file or directory
#include <texts/TypedTextDatabase.hpp>
../TouchGFX/target/generated/TouchGFXConfiguration.cpp: 0 warnings, 1 error
compiling KeySampler.cpp...
../TouchGFX/target/KeySampler.hpp(42): error: #5: cannot open source input file "platform/driver/button/ButtonController.hpp": No such file or directory
#include <platform/driver/button/ButtonController.hpp>
../TouchGFX/target/KeySampler.cpp: 0 warnings, 1 error
compiling TouchGFXGeneratedHAL.cpp...
../TouchGFX/target/generated/TouchGFXGeneratedHAL.hpp(20): error: #5: cannot open source input file "touchgfx/hal/HAL.hpp": No such file or directory
#include <touchgfx/hal/HAL.hpp>
../TouchGFX/target/generated/TouchGFXGeneratedHAL.cpp: 0 warnings, 1 error
compiling TouchGFXGPIO.cpp...
../TouchGFX/target/TouchGFXGPIO.cpp(18): error: #5: cannot open source input file "touchgfx/hal/GPIO.hpp": No such file or directory
#include <touchgfx/hal/GPIO.hpp>
../TouchGFX/target/TouchGFXGPIO.cpp: 0 warnings, 1 error
compiling Buttons.cpp...
../TouchGFX/target/Buttons.cpp(39): error: #5: cannot open source input file "touchgfx/hal/Buttons.hpp": No such file or directory
Can you please add in getting started section tutorials for other IDE's etc.
Best Regards,
Kamil
