2020-10-10 04:24 AM
I'm using STM32f429ZI Discovery board to run the touch LCD using LTDC
I will attach Detatiled Log.
Thank you.
------------------------------------------------------------------------------------------------------------
error1: in touchGFX while generating a code
Generate Code
Copy Framework
Copying TouchGFX framework version 4.14.0 to E:\touchgfx_lcd\lcd2\Middlewares\ST\touchgfx
Done
Generate
Wrote config/gcc/app.mk
Wrote config/msvs/Application.props
Wrote generated/gui_generated/include/gui_generated/common/FrontendApplicationBase.hpp
Wrote generated/gui_generated/include/gui_generated/common/FrontendHeapBase.hpp
Wrote generated/gui_generated/include/gui_generated/common/SimConstants.hpp
Wrote generated/gui_generated/include/gui_generated/screen_screen/screenViewBase.hpp
Wrote generated/gui_generated/src/common/FrontendApplicationBase.cpp
Wrote generated/gui_generated/src/screen_screen/screenViewBase.cpp
Wrote generated/simulator/gcc/Makefile
Wrote generated/simulator/include/simulator/mainBase.hpp
Wrote generated/simulator/msvs/touchgfx.props
Wrote generated/simulator/msvs/touchgfx_prebuild.targets
Wrote generated/simulator/msvs/touchgfx_sdl2.props
Wrote generated/simulator/src/mainBase.cpp
Wrote generated/simulator/touchgfx.ico
Wrote generated/simulator/touchgfx.rc
Wrote generated/simulator/touchgfx.res
Wrote gui/include/gui/common/FrontendApplication.hpp
Wrote gui/include/gui/common/FrontendHeap.hpp
Wrote gui/include/gui/model/Model.hpp
Wrote gui/include/gui/model/ModelListener.hpp
Wrote gui/include/gui/screen_screen/screenPresenter.hpp
Wrote gui/include/gui/screen_screen/screenView.hpp
Wrote gui/src/common/FrontendApplication.cpp
Wrote gui/src/model/Model.cpp
Wrote gui/src/screen_screen/screenPresenter.cpp
Wrote gui/src/screen_screen/screenView.cpp
Wrote simulator/gcc/Makefile
Wrote simulator/main.cpp
Wrote simulator/msvs/Application.sln
Wrote simulator/msvs/Application.vcxproj
Wrote simulator/msvs/Application.vcxproj.filters
Done
Generate Assets
make -f simulator/gcc/Makefile assets -j8
Reading ./application.config
Generating generated/images/include/BitmapDatabase.hpp
Generating generated/images/src/BitmapDatabase.cpp
Cleaning generated files from generated/texts and generated/fonts.
Generating generated/fonts/src/GeneratedFont.cpp
Generating generated/fonts/include/fonts/GeneratedFont.hpp
Generating generated/fonts/include/fonts/CachedFont.hpp
Generating generated/fonts/src/CachedFont.cpp
Generating generated/fonts/include/fonts/FontCache.hpp
Generating generated/fonts/src/FontCache.cpp
Generating generated/fonts/src/ApplicationFontProvider.cpp
Generating generated/fonts/include/fonts/ApplicationFontProvider.hpp
Generating generated/texts/include/texts/TextKeysAndLanguages.hpp
Generating generated/texts/include/texts/TypedTextDatabase.hpp
Generating generated/texts/src/TypedTextDatabase.cpp
Generating generated/texts/src/Texts.cpp
Done
Post Generate
touchgfx update_project --project-file=simulator/msvs/Application.vcxproj
Done
Post Generate Target
touchgfx update_project --project-file=../touchgfx.ioc --platform=m4
Unable to locate E:/touchgfx_lcd/lcd2/touchgfx.ioc
Failed
Failed
-------------------------------------------------------------------
error2: Cube MX while compiling the code
../Core/Src/main.c:24:10: fatal error: app_x-cube-touchgfx.h: No such file or directory
#include "app_x-cube-touchgfx.h"
^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Core/Src/subdir.mk:41: Core/Src/main.o] Error 1
make: *** Waiting for unfinished jobs....
"make -j8 all" terminated with exit code 2. Build might be incomplete.
2020-10-13 10:21 PM
Hello,
Could you provide the steps you did until the build errors ?
What is app_x-cube-touchgfx.h ? This is not something from our projects. Have you used the F429-DISCO Application template available in TouchGFX Designer ?
/Alexandre