RE: [beagleboard] Re: GIU Programming Tools - Newbie here!

One of the options that I can advice is using Qt embedded for GUI programming. Please have a look at its documentation:


You can use qt designer: 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:



I want to use SDL for the GUI programming.

I have done the following steps.

Downloaded the ""
Then I followed the link
for the compilation.
I run the commands given there

tar zxvf SDL-1.2.13.tar.gz
cd SDL-1.2.13
make install

it is done successfully so I got .so files

I made test.c

int main(void)
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/ -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.

Seema Agrawal


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?

Seema Agrawal

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.