我正在处理以下设置:
软件工具链:
STM32CubeMX 5.6.0
TouchGFX 4.13.0 设计器
STM32CubeIDE 1.2.0
硬件:
STM32F746G-DISCO(探索板)
我在 TouchGFX 4.13.0 上创建了 GUI。在模拟器和 Discovery Board 上也运行良好。
但我正在尝试在 STM32CubeIDE 1.2.0.Imported Successfully 中导入和打开项目。但是
项目没有成功编译。
- 22:34:33 **** Clean-only build of configuration Release for project STM32F746G_DISCO ****
- make -j4 clean
- rm -rf *
- rm: can't remove 'Middlewares/ST/touchgfx': Directory not empty
- make: [makefile:151: clean] Error 1 (ignored)
- 22:34:36 Build Finished. 0 errors, 0 warnings. (took 2s.371ms)
- 22:34:40 **** Build of configuration Release for project STM32F746G_DISCO ****
- make -j4 all
- In file included from ../TouchGFX/simulator/main.cpp:1:0:
- ../../Middlewares/ST/touchgfx/framework/include/platform/hal/simulator/sdl2/HALSDL2.hpp:22:10: fatal error: SDL2/SDL_video.h: No such file or directory
- #include
- ^~~~~~~~~~~~~~~~~~
- compilation terminated.
- make: *** [TouchGFX/simulator/subdir.mk:18: TouchGFX/simulator/main.o] Error 1
- make: *** Waiting for unfinished jobs....
- "make -j4 all" terminated with exit code 2. Build might be incomplete.
请检查附件...并更新..
我已经添加/使用了 USB Mass Storage Stack,SDMMC with FATFS with TouchGFX GUI。