PDA

View Full Version : Simpliest SDL example don't work



ThErZA
December 18th, 2008, 07:07
Hello homebrewers.

I try to test the SDL example from here:

http://de.wikibooks.org/wiki/SDL:_Bilder_und_Ereignisse

The problem is that nothig ist shown on the screen. No Tux to see. :confused: I guess that


image = SDL_LoadBMP("tux.bmp");

is the point where SDL quits... Has anyone get this running?

I realy thank you guys for info. My goal should be to port LPairs and my own SDL project on NDS.

GPF
December 26th, 2008, 04:13
make sure and call
fatInitDefault();
before you intialize SDL
and specify the correct path to the tux.bmp

Troy

numan123
November 6th, 2014, 04:26
make sure and call
fatInitDefault();
before you intialize SDL
and specify the correct path to the tux.bmp

Troy