Table of Contents
(Preliminary) SDL on the Zipit 2
About
Hosted here is the first examples of using SDL on the Z2.
Compile
Compile statically with SDL with the following command:
g++ SDL_DisplayBitmap.c -static -lSDL -lpthread
The executable attached to this post was compiled with Scratchbox.
Install
Copy the "a.out" executable and the "image.bmp" to your SD card.
Run
Boot the Z2 with a shell environment. Run the following commands:
export SDL_NOMOUSE=1 /mnt/sd0/a.out
Screenshot
Attachments
- z2_sdl_example.zip (415.7 kB) -
First Z2 SDL Example
, added by rossimo on 01/14/08 21:53:23. - IMG_0943.JPG (131.4 kB) - added by rossimo on 01/15/08 11:34:23.
