Could not load OpenGL library

I cant get my program to work with opengl. When it runs it says it
couldn’t open the OenGL library. Any ideas, i am probably forgetting
something, anybody care to help me figure out what it is.

I cant get my program to work with opengl. When it runs it says it
couldn’t open the OenGL library. Any ideas, i am probably forgetting
something, anybody care to help me figure out what it is.

Ah christ, this again. Sam, I wonder if it’d be a good idea to have SDL
automatically look for libMesaGL too, if it can’t find libGL?

My immediate suggestion is to make sure that you have symbolic links set up so
that libMesaGL.so.whatever is also equal to libGL.so.whatever, and that
libMesaGLU.so.whatever is linked as libGLU.so.whatever. That’s the most normal
cause. Other causes include funky directory structures, not having OpenGL
installed on your system ( are you sure you’ve got it? this has happened more
than once ), and not having the library properly linked in.

Nicholas

I am using windows, so i dont think that having mesa on my computer
should make a difference.

Andy Howe wrote:>

I cant get my program to work with opengl. When it runs it says it
couldn’t open the OenGL library. Any ideas, i am probably forgetting
something, anybody care to help me figure out what it is.

Check to see if the testgl demo works, if it does check it’s link
order versus yours, that’s given me strange errors before.

Phoenix Kokido
members.xoom.com/kokido
@Wes_Poole

Andy Howe wrote:> I am using windows, so i dont think that having mesa on my computer

should make a difference.

Andy Howe wrote:

I cant get my program to work with opengl. When it runs it says it
couldn’t open the OenGL library. Any ideas, i am probably forgetting
something, anybody care to help me figure out what it is.

Newsgroups: loki.open-source.sdl

I am using windows, so i dont think that having mesa on my computer
should make a difference.

D’oh! Sorry, I assume that everybody here uses Linux. Switch, you peon. :wink:

Umm… given that, I am stumped. Are you sure that you’re linking in
everything that you need to? Does testgl work?

Nicholas

Nicholas Vining “While you’re out there struggling
vining at pacificcoast.net with your computer, I’m naked,
icq: 20872003 clueless, and feeling good!”
- Ratbert

----- Original Message -----
From: parasite@cooper-mtn.com (Andy Howe)
To: sdl at lokigames.com
Date: Friday, April 07, 2000 5:33 PM
Subject: [SDL] Re: Could not load OpenGL library