One of the options that I can advice is using Qt embedded for GUI programming. Please have a look at its documentation: http://qt.nokia.com/doc/4.5/index.html
You can use qt designer: http://qt.nokia.com/doc/4.5/designer-manual.html for the development of your GUI on pc. Then can cross compile it for beagle board once you have tested it and are satisfied with its performance.
Please go through the examples which may help you get a prototype of what you want in your GUI: http://qt.nokia.com/doc/4.5/examples.html
I want to use SDL for the GUI programming.
I have done the following steps.
Downloaded the "SDL-1.2.13.tar.tz"
Then I followed the link http://www.libsdl.org/cgi/docwiki.cgi/FAQ_Compiling_on_Linux
for the compilation.
I run the commands given there
tar zxvf SDL-1.2.13.tar.gz
it is done successfully so I got .so files
I made test.c
SDL_Surface*screen = SDL_SetVideoMode(600,400,32,SDL_SWSURFACE);
run the commnad " arm-none-linux-gnueabi-gcc test.c -l /home/seema/
Test/usr/lib/libSDL-1.2.so.0.11.0 -LSDL -o test"
so I got the error
test.c:2:16: error: SDL.h: No such file or directory
test.c: In function 'main':
test.c:5: error: 'SDL_Surface' undeclared (first use in this function)
test.c:5: error: (Each undeclared identifier is reported only once
test.c:5: error: for each function it appears in.)
test.c:5: error: 'screen' undeclared (first use in this function)
test.c:5: error: 'SDL_SWSURFACE' undeclared (first use in this
I want to make simple GUI application and want to run it on the beagle
So can you guide me how to do this? Also please tell me what is wrong
in my steps.
Base on your information, the SDL you compiled should be x86 not ARM one. You should try to cross compile the SDL library using the ARM toolchain.
If you're using OE distribution, you can install the SDL library using opkg command.
I am not using OE. So can you please tell me how can I get SDL library
and how to compile it?
If you don't know how to cross-compile packages for Linux manually then why don't
you use distros/tools that solve the problem for you?
If you're smart enough then ./configure --help will tell you about
'--target', '--host' options.