TotalCross / totalcross

TotalCross is a Software Development Kit that helps cross platform application development. Currently supported platforms are: Windows, Wince, Android, iOS, Linux and Linux ARM for embedded systems.
https://www.totalcross.com
GNU Lesser General Public License v2.1
222 stars 40 forks source link

TotalCross GUI App giving SDL_CreateWindow Error in STM32MP157 Based Board #366

Open Munawar-git opened 3 years ago

Munawar-git commented 3 years ago

I created a sample Light on and off application (excluding gpio control)from TotalCross website. I created package for linux and linux_arm. The appication in linux package works on my host pc Ubuntu 18.04. but linux_arm does not work on my embedded board based on STM32MP157C (armv7l), I have Yocto wayland Image. I have used the same code as in the link below: https://learn.totalcross.com/documentation/get-started/first-embedded-project-with-totalcross

When I run the App the following error appears.

root@xx-1570:\~/linux_arm# ./Bulb Testing video drivers... SDL_VIDEODRIVER available: x11 wayland dummy SDL_VIDEODRIVER selected : wayland SDL_DisplayMode #0: current display mode is 800x480x59 SDL_CreateWindow(): failed to create a window surface Exiting: 107