[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GFX under Linux



On Thu, Dec 06, 2001 at 08:33:38PM +0100, Mads Bondo Dydensborg wrote:
> On Thu, 6 Dec 2001, Katie Lucas wrote:
> 
> > On Wed, Dec 05, 2001 at 03:40:50PM +0600, Mark D'voo wrote:
> > > what was so hard about SDL??
> > 
> > The fact that while I download SDL occaisionally to see how it's
> > getting on, nothing ever seems to compile. Here i have a nice shiny
> > Redhat 7.2 system. I install the latest development RPM from the
> > website, and get the "gears" demo. Configure works and then compiling
> > it says:
> > 
> > SDL_dgavideo.lo(.text+0x14bc): undefined reference to `XDGAGetViewportStatus'
> 
> To me it seems that you are running a binary version of SDL that expects
> that DGA X extension to be present in your system, which it is not.
> 
> I have DGA enabled;
> [madsdyd@ripley madsdyd]$ xdpyinfo | grep -i dga
>     XFree86-DGA
> [madsdyd@ripley madsdyd]$
> 
> However, DGA is not very well supported on my system, and I do not use it
> with SDL.

[katie@tier test]$ xdpyinfo | grep -i dga
    XFree86-DGA
[katie@tier test]$ 

It's also failing to link:

SDL_x11modes.lo(.text+0x1083): undefined reference to `XMapRaised'


What sort of thing does sdl-config --cflags --libs put out on a
properly installed system?

 
> Try installing the SDL packages that came with your system, then compile
> the demos.

I'll give that a go..