SDL&OpenGL under Linux

Hi,
i am making something using OpenGL and SDL (almost) everything works
perfect (on my computer) but when i tried to compile&run on school
computer i encoutered little problem.
When calling SDL_SetVideoMode with SDL_OPENGL then thing happens
ERROR! Couldn’t set 1280x1024x32 video mode : X11 driver not configured
with OpenGL

can you help me please? (in XF86Config is this mode enabled :))

Since your problem is an X11 configuration issue, and not an SDL issue, this
isn’t really the proper place to be asking this.> ----- Original Message -----

From: krata@matfyz.cz (Jan Kratochvil)
To:
Sent: Wednesday, April 24, 2002 8:33 AM
Subject: [SDL] SDL&OpenGL under Linux

Hi,
i am making something using OpenGL and SDL (almost) everything works
perfect (on my computer) but when i tried to compile&run on school
computer i encoutered little problem.
When calling SDL_SetVideoMode with SDL_OPENGL then thing happens
ERROR! Couldn’t set 1280x1024x32 video mode : X11 driver not configured
with OpenGL

can you help me please? (in XF86Config is this mode enabled :))


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Hi,
i am making something using OpenGL and SDL (almost) everything works
perfect (on my computer) but when i tried to compile&run on school
computer i encoutered little problem.
When calling SDL_SetVideoMode with SDL_OPENGL then thing happens
ERROR! Couldn’t set 1280x1024x32 video mode : X11 driver not configured
with OpenGL

can you help me please? (in XF86Config is this mode enabled :))
Is this line a question or a statement?
That mode is enabled, or is this mode enabled?On Wed, 2002-04-24 at 08:33, Krata wrote:


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

End of Rant.

Jimmy
Jimmy’s World (http://www.jimmysworld.org)
-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20020424/26c964f6/attachment.pgp

Hi,
i am making something using OpenGL and SDL (almost) everything works
perfect (on my computer) but when i tried to compile&run on school
computer i encoutered little problem.
When calling SDL_SetVideoMode with SDL_OPENGL then thing happens
ERROR! Couldn’t set 1280x1024x32 video mode : X11 driver not configured
with OpenGL

can you help me please? (in XF86Config is this mode enabled :))

It sounds like when SDL was built on the school computer, the OpenGL
development libraries and headers weren’t available.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Hi,
i am making something using OpenGL and SDL (almost) everything works
perfect (on my computer) but when i tried to compile&run on school
computer i encoutered little problem.
When calling SDL_SetVideoMode with SDL_OPENGL then thing happens
ERROR! Couldn’t set 1280x1024x32 video mode : X11 driver not configured
with OpenGL

can you help me please? (in XF86Config is this mode enabled :))

It sounds like when SDL was built on the school computer, the OpenGL
development libraries and headers weren’t available.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

You are right sdl was built on school computer but OpenGL was available.
(i hope that flag HAVE_OPENGL means that configure found OpenGL headers)
Krata

Hi,
i am making something using OpenGL and SDL (almost) everything works
perfect (on my computer) but when i tried to compile&run on school
computer i encoutered little problem.
When calling SDL_SetVideoMode with SDL_OPENGL then thing happens
ERROR! Couldn’t set 1280x1024x32 video mode : X11 driver not configured
with OpenGL

can you help me please? (in XF86Config is this mode enabled :))

It sounds like when SDL was built on the school computer, the OpenGL
development libraries and headers weren’t available.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

You are right sdl was built on school computer but OpenGL was available.
(i hope that flag HAVE_OPENGL means that configure found OpenGL headers)
Krata

I am sorry i found it. I had 2 versions of libSDL and the bad one was
used.

[…]

You are right sdl was built on school computer but OpenGL was
available. (i hope that flag HAVE_OPENGL means that configure found
OpenGL headers) Krata

available != working

Make sure the OpenGL setup actually works, by trying to run some other
(non-SDL) OpenGL stuff. (If you have the full Mesa package, there should
be some demos, I think…)

//David Olofson — Programmer, Reologica Instruments AB

.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
----------------------------> http://www.linuxdj.com/maia -' .- David Olofson -------------------------------------------. | Audio Hacker - Open Source Advocate - Singer - Songwriter |-------------------------------------> http://olofson.net -'On Thursday 25 April 2002 08:48, Krata wrote:

| On Thursday 25 April 2002 08:48, Krata wrote:
| […]
| > You are right sdl was built on school computer but OpenGL was
| > available. (i hope that flag HAVE_OPENGL means that configure found
| > OpenGL headers) Krata
|
| available != working
|
| Make sure the OpenGL setup actually works, by trying to run some other
| (non-SDL) OpenGL stuff. (If you have the full Mesa package, there should
| be some demos, I think…)

‘glxgears’ seems to be “standard”. If it’s installed, XScreensaver
comes with some OpenGL ones.On Thu, Apr 25, 2002 at 04:08:04PM +0200, David Olofson wrote:


I will not sleep through my education

6AD6 865A BF6E 76BB 1FC2 | www.piku.org.uk/public-key.asc
E4C4 DEEA 7D08 D511 E149 | www.piku.org.uk wnzrf at cvxh.bet.hx (rot13’d)