cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX 4.13.0 Generated Not Compiled in STMCubeIDE 5.6.0

Karan 123
Senior

Hi,

I have working on below setup:

Software Tool Chain:

STM32CubeMX 5.6.0

TouchGFX 4.13.0 Designer

STM32CubeIDE 1.2.0

Hardware:

STM32F746G-DISCO (Discovery Board)

I have created GUI on TouchGFX 4.13.0. worked fine on simulator and Discovery Board as well.

But I am trying import and open project in STM32CubeIDE 1.2.0.Imported Successfully . But Project not successfully compiled.

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 <SDL2/SDL_video.h>
          ^~~~~~~~~~~~~~~~~~
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.

Please Check attachment...and update ..

I have add/use to USB Mass Storage Stack , SDMMC with FATFS with TouchGFX GUI .

--

Karan

1 ACCEPTED SOLUTION

Accepted Solutions
Martin KJELDSEN
Chief III

Hi Karan,

Your problem is that CubeIDE is trying to compile SDL2 files (simulator). Newest version of CubeIDE and latest version of the AT should not have this issue. Can you verify?

/Martin

View solution in original post

2 REPLIES 2
Martin KJELDSEN
Chief III

Hi Karan,

Your problem is that CubeIDE is trying to compile SDL2 files (simulator). Newest version of CubeIDE and latest version of the AT should not have this issue. Can you verify?

/Martin

Karan 123
Senior

Thanks for response .. But Problem already solved with Below Toolchain..

STM32F746G Discovery Kit v3.0.1

STM32CubeMX 5.6.0

TouchGFX 4.13.0 Designer

STM32CubeIDE 1.3.0

Anyway Thanks..