[MPlayer-cvslog] CVS: main/libvo gl_common.c, 1.6, 1.7 gl_common.h, 1.5, 1.6 vo_gl.c, 1.74, 1.75
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Tue Jul 26 19:54:54 CEST 2005
- Previous message: [MPlayer-cvslog] CVS: main/libvo gl_common.c, 1.6, 1.7 gl_common.h, 1.5, 1.6 vo_gl.c, 1.74, 1.75
- Next message: [MPlayer-cvslog] CVS: main/libvo gl_common.c, 1.6, 1.7 gl_common.h, 1.5, 1.6 vo_gl.c, 1.74, 1.75
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Hi,
On Tue, Jul 26, 2005 at 06:43:55PM +0200, Ivo wrote:
> On Tuesday 26 July 2005 12:16, Reimar Döffinger CVS wrote:
> [..]
> > Index: gl_common.c
> > ===================================================================
> > RCS file: /cvsroot/mplayer/main/libvo/gl_common.c,v
> > retrieving revision 1.6
> > retrieving revision 1.7
> > diff -u -r1.6 -r1.7
> > --- gl_common.c 29 Dec 2004 14:33:40 -0000 1.6
> > +++ gl_common.c 26 Jul 2005 10:16:18 -0000 1.7
> [..]
> > @@ -319,6 +399,12 @@
> > if (*vinfo)
> > XFree(*vinfo);
> > *vinfo = new_vinfo;
> > +#ifdef GLX_ARB_get_proc_address
> > + getProcAddress = (void *)glXGetProcAddressARB;
> > +#else
> > + getProcAddress = NULL;
> > +#endif
> > + getFunctions();
>
> This breaks compilation on my system:
>
> ...
> cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -W -Wall
> -Wno-unused-parameter -O2 -march=athlon-4 -mcpu=athlon-4 -g -D_REENTRANT
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=gnu99 -I. -I.. -I../osdep
> -I/usr/include/freetype2 -I/usr/include/SDL -D_REENTRANT
> -I/usr/X11R6/include -DMPG12PLAY -o gl_common.o gl_common.c
> gl_common.c: In function `setGlWindow':
> gl_common.c:407: `glXGetProcAddressARB' undeclared (first use in this
> function)
> gl_common.c:407: (Each undeclared identifier is reported only once
> gl_common.c:407: for each function it appears in.)
> make: *** [gl_common.o] Error 1
Why on earth does it the define GLX_ARB_get_proc_address??
Does glXGetProcAddress work?
I have to say, the glx and gl headers a simply a huge mess, and everyone
has a different kind of mess.
Xine uses dlopen, but after seeing all the #ifdef the need to do this
correctly I wanted not to do it like that...
Greetings,
Reimar Döffinger
- Previous message: [MPlayer-cvslog] CVS: main/libvo gl_common.c, 1.6, 1.7 gl_common.h, 1.5, 1.6 vo_gl.c, 1.74, 1.75
- Next message: [MPlayer-cvslog] CVS: main/libvo gl_common.c, 1.6, 1.7 gl_common.h, 1.5, 1.6 vo_gl.c, 1.74, 1.75
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list