Help - Can't get existing TouchGFX project to compile
For some reason, can't get a TouchGFX project I imported from another computer to compile and run on the target. I can get it to run in the simulator just fine though. Here are some details:
error: 'setFrameBufferStartAddress' is not a member of 'touchgfx::HAL'Here is the full console output:
Run Target
Generate
Done
Generate Assets
make -f simulator/gcc/Makefile assets -j10
Converting images
Reading ./application.config
Done
Post Generate
touchgfx update_project --project-file=simulator/msvs/Application.vcxproj && touchgfx update_project --project-file=target/IAR/application.ewp && touchgfx update_project --project-file=target/IAR8.x/application.ewp && touchgfx update_project --project-file=target/Keil/application.uvproj
Compiler: ARMCC.
Done
Compile
make -f target/gcc/Makefile -j10
Converting images
Reading ./application.config
Compiling target/bsp/source/platform/hal/mcu/stm32f4cube/STM32F4HAL_DSI.cpp
Compiling target/bsp/source/BoardConfiguration.cpp
Compiling target/bsp/source/vendor/STM32469I-Discovery/stm32469i_discovery.c
Compiling target/bsp/source/vendor/STM32469I-Discovery/stm32469i_discovery_lcd.c
Compiling target/bsp/source/vendor/STM32469I-Discovery/stm32469i_discovery_qspi.c
Compiling target/bsp/source/vendor/STM32469I-Discovery/stm32469i_discovery_sdram.c
Compiling target/bsp/source/vendor/STM32469I-Discovery/stm32469i_discovery_ts.c
Compiling target/bsp/source/vendor/Components/ft6x06/ft6x06.c
Compiling target/bsp/source/vendor/Components/otm8009a/otm8009a.c
Compiling target/bsp/source/platform/hal/mcu/stm32f4cube/STM32F4xx_HAL_Driver/stm32f4xx_hal.c
target/bsp/source/platform/hal/mcu/stm32f4cube/STM32F4HAL_DSI.cpp: In member function 'virtual void STM32F4HAL_DSI::setFrameBufferStartAddress(void*, uint16_t, bool, bool)':
target/bsp/source/platform/hal/mcu/stm32f4cube/STM32F4HAL_DSI.cpp:94:10: error: 'setFrameBufferStartAddress' is not a member of 'touchgfx::HAL'
HAL::setFrameBufferStartAddress(adr, depth, useDoubleBuffering, useAnimationStorage);
^~~~~~~~~~~~~~~~~~~~~~~~~~
target/gcc/Makefile:333: recipe for target 'build/ST/STM32469IDISCO/target/bsp/source/platform/hal/mcu/stm32f4cube/STM32F4HAL_DSI.o' failed
make[2]: *** [build/ST/STM32469IDISCO/target/bsp/source/platform/hal/mcu/stm32f4cube/STM32F4HAL_DSI.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Compiling target/bsp/source/platform/hal/mcu/stm32f4cube/STM32F4xx_HAL_Driver/stm32f4xx_hal_cortex.c
target/bsp/source/BoardConfiguration.cpp: In function 'void touchgfx::touchgfx_init()':
target/bsp/source/BoardConfiguration.cpp:209:9: error: 'class touchgfx::HAL' has no member named 'setFrameBufferStartAddress'; did you mean 'setFrameBufferStartAddresses'?
hal.setFrameBufferStartAddress((uint16_t*)frameBuf0, bitDepth, false);
^~~~~~~~~~~~~~~~~~~~~~~~~~
setFrameBufferStartAddresses
target/gcc/Makefile:333: recipe for target 'build/ST/STM32469IDISCO/target/bsp/source/BoardConfiguration.o' failed
make[2]: *** [build/ST/STM32469IDISCO/target/bsp/source/BoardConfiguration.o] Error 1
target/gcc/Makefile:300: recipe for target 'generate_assets' failed
make[1]: *** [generate_assets] Error 2
target/gcc/Makefile:42: recipe for target 'all' failed
make: *** [all] Error 2
Failed
FailedCan you please help me figure out what is going on and what I can do to fix it? Thanks!
