cancel
Showing results for 
Search instead for 
Did you mean: 

Hello guys, I designed a UI using TouchGFX on STM 32H7B3 DK and when i flash it to the board it gives the following error. Can anyone help in this? When i run generate code there is no errror.

Ali1
Associate

Run Target

   Generate

       Done

   Generate Assets

       make -f simulator/gcc/Makefile assets -j8

       Reading ./application.config

       Done

   Post Generate

       touchgfx update_project --project-file=simulator/msvs/Application.vcxproj

       Done

   Post Generate Target

       touchgfx update_project --project-file=../nfc_4.ioc --platform=m4

       .project files generated inside project folder

       This is STM32CubeIDE project updater: Working on ../STM32CubeIDE/.project

       Project file: ../STM32CubeIDE/.cproject

       Done

   Compile

       make -f ../gcc/Makefile -j10

       Reading TouchGFX/application.config

       Generating TouchGFX/generated/texts/src/Texts.cpp

       Generating TouchGFX/generated/texts/src/LanguageGb.cpp

       Compiling TouchGFX/gui/src/common/CustomKeyboard.cpp

       Compiling TouchGFX/generated/gui_generated/src/screen1_screen/Screen1ViewBase.cpp

       Compiling TouchGFX/generated/gui_generated/src/screen8_screen/Screen8ViewBase.cpp

       Compiling TouchGFX/generated/gui_generated/src/screen2_screen/Screen2ViewBase.cpp

       Compiling TouchGFX/generated/gui_generated/src/screen6_screen/Screen6ViewBase.cpp

       Compiling TouchGFX/generated/gui_generated/src/screen4_screen/Screen4ViewBase.cpp

       Compiling TouchGFX/generated/gui_generated/src/screenkeyboard3_screen/Screenkeyboard3ViewBase.cpp

       TouchGFX/gui/src/common/CustomKeyboard.cpp: In constructor 'CustomKeyboard::CustomKeyboard()':

       TouchGFX/gui/src/common/CustomKeyboard.cpp:22:5: error: 'memset' was not declared in this scope

            memset(buffer, 0, sizeof(buffer));

            ^~~~~~

       TouchGFX/gui/src/common/CustomKeyboard.cpp:29:30: error: 'Color' has not been declared

            modeBtnTextArea.setColor(Color::getColorFrom24BitRGB(0xFF, 0xFF, 0xFF));

                                     ^~~~~

       TouchGFX/gui/src/common/CustomKeyboard.cpp: In member function 'touchgfx::Unicode::UnicodeChar* CustomKeyboard::getBuffer1()':

       TouchGFX/gui/src/common/CustomKeyboard.cpp:131:21: error: 'class touchgfx::Keyboard' has no member named 'getBuffer1'; did you mean 'getBuffer'?

            return keyboard.getBuffer1();

                            ^~~~~~~~~~

                            getBuffer

       TouchGFX/gui/src/common/CustomKeyboard.cpp: In member function 'touchgfx::Unicode::UnicodeChar* CustomKeyboard::getBuffer2()':

       TouchGFX/gui/src/common/CustomKeyboard.cpp:136:21: error: 'class touchgfx::Keyboard' has no member named 'getBuffer2'; did you mean 'getBuffer'?

            return keyboard.getBuffer2();

                            ^~~~~~~~~~

                            getBuffer

       make[2]: *** [TouchGFX/build/STM32F469-DISCO/TouchGFX/gui/src/common/CustomKeyboard.o] Error 1

       gcc/Makefile:329: recipe for target 'TouchGFX/build/STM32F469-DISCO/TouchGFX/gui/src/common/CustomKeyboard.o' failed

       make[2]: *** Waiting for unfinished jobs....

       Compiling TouchGFX/generated/gui_generated/src/screen3_screen/Screen3ViewBase.cpp

       TouchGFX/generated/gui_generated/src/screen2_screen/Screen2ViewBase.cpp: In member function 'void Screen2ViewBase::buttonCallbackHandler(const touchgfx::AbstractButton&)':

       TouchGFX/generated/gui_generated/src/screen2_screen/Screen2ViewBase.cpp:111:9: error: 'few' was not declared in this scope

                few seconds

                ^~~

       TouchGFX/generated/gui_generated/src/screen2_screen/Screen2ViewBase.cpp:111:9: note: suggested alternative: 'View'

                few seconds

                ^~~

                View

       make[2]: *** [TouchGFX/build/STM32F469-DISCO/TouchGFX/generated/gui_generated/src/screen2_screen/Screen2ViewBase.o] Error 1

       gcc/Makefile:329: recipe for target 'TouchGFX/build/STM32F469-DISCO/TouchGFX/generated/gui_generated/src/screen2_screen/Screen2ViewBase.o' failed

       make[1]: *** [generate_assets] Error 2

       gcc/Makefile:296: recipe for target 'generate_assets' failed

       make: *** [all] Error 2

       ../gcc/Makefile:47: recipe for target 'all' failed

       Failed

   Failed

0 REPLIES 0