Keil is showing errors while compiling Touch GFX generated code...
Hello,
I am new to Touch GFX. I have build a GUI in touch Gfx and then generated the code.
But when I tried to compile the generated code in Keil IDE , It shows the following errors
Build started: Project: STM32F769I_DISCO
*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'STM32F769I_DISCO'
Clean started - Project: 'STM32F769I_DISCO'
deleting intermediate output files for target 'STM32F769I_DISCO'
assembling startup_stm32f769xx.s...
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 Buttons.cpp...
../TouchGFX/target/Buttons.cpp(39): error: #5: cannot open source input file "touchgfx/hal/Buttons.hpp": No such file or directory
#include <touchgfx/hal/Buttons.hpp>
../TouchGFX/target/Buttons.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 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
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 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 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 STM32DMA.cpp...
../TouchGFX/target/generated/STM32DMA.cpp(20): error: #5: cannot open source input file "touchgfx/hal/OSWrappers.hpp": No such file or directory
#include <touchgfx/hal/OSWrappers.hpp>
../TouchGFX/target/generated/STM32DMA.cpp: 0 warnings, 1 error
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
I don't understand whats the issue with the generated code. I have not change any line of code just build it as it was generated.
Please help
Regards
Manvendra
#include <touchgfx/hal/OSWrappers.hpp>
../TouchGFX/target/generated/OSWrappers.cpp: 0 warnings, 1 error
