Tobias wrote: > Hi! > I am having trouble running the test application "testgl" from the SDL source > with the official SDL package. The error I am getting is: > > X Error of failed request: BadWindow (invalid Window parameter) > Major opcode of failed request: 22 (X_SetSelectionOwner) > Resource id in failed request: 0x4a00003 > Serial number of failed request: 260 > Current serial number in output stream: 264 > > XBMC which I am trying to build and run crashes with the same error. I have > attached the source code of the testgl program. I don't know how to handle or > fix the error, I could not find a call to the SelectionOwner function. I hope > somebody can help me. > thanks > Which SDL are you using? I downloaded 1.2.14 and built it on b129 with:
./configure gmake gmake clean Then built testgl.c with: gcc testgl.c -DHAVE_OPENGL -I/usr/local/include/SDL -L/usr/local/lib -R/usr/local/lib -lSDL -lGL Running a.out puts up a spinning cube. This is on a system with NVIDIA OpenGL.
