2021-10-08 04:20 PM
Good day
I am trying to interface my GUI on my STM32F429i-DISC1 board for my final-year project using STM32CubeIDE (1.6.1) and TouchGFX (4.16.0 - 4.17.0 won't run on my PC so I opted for an older version) and I have run into the following problems (shown below). Any help regarding this matter is greatly appreciated.
**** Incremental Build of configuration Debug for project SystemA.2 ****
make -j2 all
arm-none-eabi-g++ "../TouchGFX/target/generated/STM32DMA.cpp" -mcpu=cortex-m4 -std=gnu++14 -g3 -DUSE_HAL_DRIVER -DDEBUG -DSTM32F429xx -c -I../../Core/Inc -I../../Drivers/CMSIS/Include -I../../Drivers/BSP -I../../TouchGFX/target -I../../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../../TouchGFX/App -I../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I../../TouchGFX/target/generated -I../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F -I../../Drivers/STM32F4xx_HAL_Driver/Inc -I../../Middlewares/ST/touchgfx/framework/include -I../../TouchGFX/generated/fonts/include -I../../TouchGFX/generated/gui_generated/include -I../../TouchGFX/generated/images/include -I../../TouchGFX/generated/texts/include -I../../TouchGFX/gui/include -Os -ffunction-sections -fdata-sections -fno-exceptions -fno-rtti -fno-use-cxa-atexit -Wall -femit-class-debug-always -fstack-usage -MMD -MP -MF"TouchGFX/target/generated/STM32DMA.d" -MT"TouchGFX/target/generated/STM32DMA.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "TouchGFX/target/generated/STM32DMA.o"
arm-none-eabi-g++ "../TouchGFX/target/TouchGFXHAL.cpp" -mcpu=cortex-m4 -std=gnu++14 -g3 -DUSE_HAL_DRIVER -DDEBUG -DSTM32F429xx -c -I../../Core/Inc -I../../Drivers/CMSIS/Include -I../../Drivers/BSP -I../../TouchGFX/target -I../../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../../TouchGFX/App -I../../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I../../TouchGFX/target/generated -I../../Middlewares/Third_Party/FreeRTOS/Source/include -I../../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F -I../../Drivers/STM32F4xx_HAL_Driver/Inc -I../../Middlewares/ST/touchgfx/framework/include -I../../TouchGFX/generated/fonts/include -I../../TouchGFX/generated/gui_generated/include -I../../TouchGFX/generated/images/include -I../../TouchGFX/generated/texts/include -I../../TouchGFX/gui/include -Os -ffunction-sections -fdata-sections -fno-exceptions -fno-rtti -fno-use-cxa-atexit -Wall -femit-class-debug-always -fstack-usage -MMD -MP -MF"TouchGFX/target/TouchGFXHAL.d" -MT"TouchGFX/target/TouchGFXHAL.o" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "TouchGFX/target/TouchGFXHAL.o"
../TouchGFX/target/generated/STM32DMA.cpp:74:17: error: no declaration matches 'uint32_t STM32F4DMA::getChromARTInputFormat(touchgfx::Bitmap::BitmapFormat)'
74 | inline uint32_t STM32F4DMA::getChromARTInputFormat(Bitmap::BitmapFormat format)
| ^~~~~~~~~~
../TouchGFX/target/generated/STM32DMA.cpp:74:17: note: no functions named 'uint32_t STM32F4DMA::getChromARTInputFormat(touchgfx::Bitmap::BitmapFormat)'
In file included from ../TouchGFX/target/generated/STM32DMA.cpp:21:
../../TouchGFX/target/generated/STM32DMA.hpp:30:7: note: 'class STM32F4DMA' defined here
30 | class STM32F4DMA : public touchgfx::DMA_Interface
| ^~~~~~~~~~
../TouchGFX/target/generated/STM32DMA.cpp:109:17: error: no declaration matches 'uint32_t STM32F4DMA::getChromARTOutputFormat(touchgfx::Bitmap::BitmapFormat)'
109 | inline uint32_t STM32F4DMA::getChromARTOutputFormat(Bitmap::BitmapFormat format)
| ^~~~~~~~~~
../TouchGFX/target/generated/STM32DMA.cpp:109:17: note: no functions named 'uint32_t STM32F4DMA::getChromARTOutputFormat(touchgfx::Bitmap::BitmapFormat)'
In file included from ../TouchGFX/target/generated/STM32DMA.cpp:21:
../../TouchGFX/target/generated/STM32DMA.hpp:30:7: note: 'class STM32F4DMA' defined here
30 | class STM32F4DMA : public touchgfx::DMA_Interface
| ^~~~~~~~~~
../TouchGFX/target/generated/STM32DMA.cpp: In member function 'virtual void STM32F4DMA::setupDataCopy(const touchgfx::BlitOp&)':
../TouchGFX/target/generated/STM32DMA.cpp:165:41: error: 'getChromARTInputFormat' was not declared in this scope
165 | uint32_t dma2dForegroundColorMode = getChromARTInputFormat(static_cast<Bitmap::BitmapFormat>(blitOp.srcFormat));
| ^~~~~~~~~~~~~~~~~~~~~~
../TouchGFX/target/generated/STM32DMA.cpp:167:37: error: 'getChromARTOutputFormat' was not declared in this scope
167 | uint32_t dma2dOutputColorMode = getChromARTOutputFormat(static_cast<Bitmap::BitmapFormat>(blitOp.dstFormat));
| ^~~~~~~~~~~~~~~~~~~~~~~
../TouchGFX/target/generated/STM32DMA.cpp: In member function 'virtual void STM32F4DMA::setupDataFill(const touchgfx::BlitOp&)':
../TouchGFX/target/generated/STM32DMA.cpp:325:37: error: 'getChromARTOutputFormat' was not declared in this scope
325 | uint32_t dma2dOutputColorMode = getChromARTOutputFormat(static_cast<Bitmap::BitmapFormat>(blitOp.dstFormat));
| ^~~~~~~~~~~~~~~~~~~~~~~
make: *** [TouchGFX/target/generated/subdir.mk:28: TouchGFX/target/generated/STM32DMA.o] Error 1
make: *** Waiting for unfinished jobs....
../TouchGFX/target/TouchGFXHAL.cpp:85:6: error: no declaration matches 'bool TouchGFXHAL::blockCopy(void*, const void*, uint32_t)'
85 | bool TouchGFXHAL::blockCopy(void* RESTRICT dest, const void* RESTRICT src, uint32_t numBytes)
| ^~~~~~~~~~~
../TouchGFX/target/TouchGFXHAL.cpp:85:6: note: no functions named 'bool TouchGFXHAL::blockCopy(void*, const void*, uint32_t)'
In file included from ../TouchGFX/target/TouchGFXHAL.cpp:17:
../../TouchGFX/target/TouchGFXHAL.hpp:31:7: note: 'class TouchGFXHAL' defined here
31 | class TouchGFXHAL : public TouchGFXGeneratedHAL
| ^~~~~~~~~~~
make: *** [TouchGFX/target/subdir.mk:25: TouchGFX/target/TouchGFXHAL.o] Error 1
"make -j2 all" terminated with exit code 2. Build might be incomplete.
01:05:32 Build Failed. 9 errors, 0 warnings. (took 3s.814ms)
2023-10-23 05:37 AM
I got same problem too.Did you find any solution?