Dynamic loading of GL

hi`

I upgraded to the latest snapshot (1.1 tree) today and now I get those
undefined symbols upon linking (/usr/local/lib/libSDL.so: undefined
reference to `glXGetConfig’) and wonder what I should do to resolve
them. When I link my app against libGL how can I dynamically load
another libGL when this one is already opened? And why did it work with
the older CVS snapshot??? And why would I have to link against libGL
even if I don’t use it?–
Daniel Vogel My opinions may have changed,
666 @ http://grafzahl.de but not the fact that I am right

I upgraded to the latest snapshot (1.1 tree) today and now I get those
undefined symbols upon linking (/usr/local/lib/libSDL.so: undefined
reference to `glXGetConfig’) and wonder what I should do to resolve
them.

It’s a bug, fixed in CVS.

When I link my app against libGL how can I dynamically load
another libGL when this one is already opened? And why did it work with
the older CVS snapshot??? And why would I have to link against libGL
even if I don’t use it?

You don’t have to link against libGL if you don’t use it.

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Sam Lantinga wrote:

I upgraded to the latest snapshot (1.1 tree) today and now I get those
undefined symbols upon linking (/usr/local/lib/libSDL.so: undefined
reference to `glXGetConfig’) and wonder what I should do to resolve
them.

It’s a bug, fixed in CVS.

I imagined that, just wanted to be sure that is not a strange feature
:wink:

When I link my app against libGL how can I dynamically load
another libGL when this one is already opened? And why did it work with
the older CVS snapshot??? And why would I have to link against libGL
even if I don’t use it?

You don’t have to link against libGL if you don’t use it.

Okay, that is just what I wanted to hear ;-)–
Daniel Vogel My opinions may have changed,
666 @ http://grafzahl.de but not the fact that I am right