Thread
:
Sample Code Request: Simple bitmap display
View Single Post
stevenf
2007-09-01 , 04:52
Posts: 76 | Thanked: 2 times | Joined on Dec 2005
#
7
I found some simple SDL examples that compile for Maemo here:
https://garage.maemo.org/projects/n770demos/
For future reference (mine, or whoever), this is how I built the n770-fire demo under the scratchbox:
gcc -o n770-fire n770-fire.c `pkg-config --cflags gtk+-2.0 hildon-libs` `sdl-config --cflags` -ansi -Wall `pkg-config --libs gtk+-2.0 hildon-libs` `sdl-config --libs`
After using sb-menu to switch to the ARM environment, compiling, I was able to transfer and run the executable from Xterm on the N800!
Quote & Reply
|
stevenf
View Public Profile
Send a private message to stevenf
Find all posts by stevenf