Hi, I posted my problem three days ago but I didn't get a good solution. I am working with smart210, I use the qtopia rootfs. I cross compiled a GUI QT application named "vidgui" (an embedded video application) this application depends on many libraries and packages such us ffmpeg, SDL, X11...I cross compiled all the needed libraries for ARM. When I load this application into smart210, it works proprly but when I want to display the video (normaly the application will use the SDL and X11 libraries), the window will never be displayed and when I take a look to the trace file: It's written that window opened and directly it's written video closed. Well, I make the same test with ubuntu(ARM) for smart210 and I have the window of video was displayed correctly!! Really, I haven't any idea what I should make, I think that I should add the X11 plateform to the qtopia rootfs, but I haven't the source of FriendlyARM. Also, I can't use ubuntu because my video application works with the cmos camera of friendlyARM and also the touch screen LCD of friendlyARM...I am blocked...anyone could help me? It's very urgent!!!!
Urgent_Problem_SDL_X11!!!
Sorry,another information: when I execute my gui application in qtopia rootfs, this message is written "vidgui: cannot connect to X server"
Well I don't know the answer but "cannot connect to X server" message usually happens when you try to run a GUI application in an environment that doesn't have a display output (LCD or connected HDMI or VGA or ...) but a terminal only.
Thank you, Mali, for your answer.well, I'm working with the smart210 and I'm using both resistive and capacitive LCD. So, I don't think that the problem is from the display outpout. May be the qtopia rootfs of friendlyarm was not compiled with the X platform is the real problem. Really,I haven't much experience to know the exact problem, but I'm nearly sure that the problem is from the qtopia rootfs system, but I don't know how I can slove it.