[mythtv] OSX Compile fails on has_altivec ld error

Daniel Kristjansson danielk at cuymedia.net
Mon Nov 19 01:16:26 UTC 2007


On Fri, 2007-11-16 at 21:51 -0700, David Snider wrote:
> Nigel Pearson wrote:
> >> I try not to bother this list with the automated
> >> builds, they tend to fix themselves.
> >>     
> >
> > :-) In this case, it took me a while. One more fix: [14880]
> >
> > That gave me an error-free build on a 10.3.9 G4.
> >
> >   
> OK, downloaded 14883, looks like I'm peeling the onion here... 

> util-opengl.o util-opengl.cpp
> In file included from util-opengl.cpp:3:
> util-opengl.h:13:20: error: GL/glx.h: No such file or directory
> util-opengl.h:14:20: error: GL/glu.h: No such file or directory
> util-opengl.h:81: error: 'XID' does not name a type

OpenGL on OS X should not be using glx.h or glu.h. Those are only
used when doing X11 output. AFAIK OSX only supports OpenGL when
using their proprietary GUI toolkit.

> util-opengl.h: In function 'int __glCheck__(const QString&, const char*, 
> int)':
> util-opengl.h:86: error: 'glGetError' was not declared in this scope
> util-opengl.h:89: error: 'gluErrorString' was not declared in this scope

glCheck() has only been ported to MS Windows and X11, it should be
fairly easy to port it to OS X.

-- Daniel



More information about the mythtv-dev mailing list