[SDL] Problem : undefined symbol: DPMSDisable
Gael Goinvic
insomniak.fr at gmail.com
Sat Sep 15 05:59:32 PDT 2007
Hello =)
I have a problem with SDL... Here is my code, in D Language (but it
does not change anything with C++... ) :
void init()
{
DerelictSDL.load();
assert((SDL_Init(SDL_INIT_VIDEO) < 0), ("Unable to init SDL : " ~
SDL_GetDError()));
assert((SDL_SetVideoMode(640, 480, 24, SDL_HWSURFACE|SDL_DOUBLEBUF) is
null), ("Unable to set SDL_VideoMode : " ~ SDL_GetDError()));
}
I compile nice, but when i run the program :
Unable to init SDL : Failed loading DPMSDisable: /usr/lib/libX11.so.6:
undefined symbol: DPMSDisable
:-/
Can someone help me to fix it ?
Thank you in Advance.
Insomniak.
More information about the SDL
mailing list