GFX 4.23.1; Keil MDK 5.36: error: #5: cannot open source input file "portmacro.h"
Hello,
GFX 4.23.1 comes with this example project
en.X-CUBE-TOUCHGFX.4.23.1\Projects\STM32F746G-DISCO
I use Keil MDK 5.36. During compilation I get this error:
compiling SoftwareMJPEGDecoder.cpp...
../Middlewares/Third_Party/FreeRTOS/Source/include/portable.h(52): error: #5: cannot open source input file "portmacro.h": No such file or directory
#include "portmacro.h"
../TouchGFX/target/generated/SoftwareMJPEGDecoder.cpp: 0 warnings, 1 error
compiling TouchGFXGeneratedHAL.cpp...
../middlewares/st/touchgfx/framework/include/touchgfx/widgets/graph/GraphLabels.hpp(354): warning: #1300-D: drawIndexRange inherits implicit virtual
void drawIndexRange(const Rect& invalidatedArea, const Font* fontToDraw, const AbstractDataGraph* graph, const int rangeMin, const int rangeMax, const int minorInterval, const int majorInterval, const uint8_t a) const;
../touchgfx/gui/include/gui/main_screen/MainView.hpp(17): warning: #1300-D: handleTickEvent inherits implicit virtual
void handleTickEvent();
../Middlewares/Third_Party/FreeRTOS/Source/include/portable.h(52): error: #5: cannot open source input file "portmacro.h": No such file or directory
#include "portmacro.h"
../TouchGFX/target/generated/TouchGFXGeneratedHAL.cpp: 2 warnings, 1 error
compiling main.c...
../Middlewares/Third_Party/FreeRTOS/Source/include/portable.h(52): error: #5: cannot open source input file "portmacro.h": No such file or directory
#include "portmacro.h"
../Core/Src/main.c: 0 warnings, 1 error
compiling TouchGFXHAL.cpp...
../TouchGFX/target/TouchGFXHAL.hpp(54): warning: #1300-D: initialize inherits implicit virtual
void initialize();
../Middlewares/Third_Party/FreeRTOS/Source/include/portable.h(52): error: #5: cannot open source input file "portmacro.h": No such file or directory
#include "portmacro.h"
../TouchGFX/target/TouchGFXHAL.cpp: 1 warning, 1 error
Any idea how to fix missing portmacro.h error please ?
Thank you
Ferro

