[mythtv] [mythtv-commits] mythtv commit: r12743 by danielk

Daniel Walton dwalton at cisco.com
Fri Feb 16 01:15:26 UTC 2007


gl.h and glx.h are in /usr/share/doc/NVIDIA_GLX-1.0/include/GL for me so I've
added:

Index: configure
===================================================================
--- configure   (revision 12803)
+++ configure   (working copy)
@@ -2947,6 +2947,10 @@
     CONFIG_INCLUDEPATH="$CONFIG_INCLUDEPATH /usr/share/nvidia/include"
 fi

+if test -d /usr/share/doc/NVIDIA_GLX-1.0/include/GL; then
+    CONFIG_INCLUDEPATH="$CONFIG_INCLUDEPATH /usr/share/doc/NVIDIA_GLX-1.0/include"
+fi
+
 if test x"$direct_fb" = x"yes" ; then
     direct_fb="no"
     if test x`which directfb-config 2> /dev/null` != x"" ; then


but now I'm hitting a different compile error:

util-opengl.cpp: In function `void (* get_gl_proc_address(const QString&))()':
util-opengl.cpp:307: error: `glXGetProcAddress' undeclared (first use this
   function)
util-opengl.cpp:307: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
make[2]: *** [util-opengl.o] Error 1
make[2]: Leaving directory `/root/mythtv-vid/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/root/mythtv-vid/libs'
make: *** [sub-libs] Error 2


Daniel


On Thu, 15 Feb 2007, Mark Paulus wrote:

>
>
> Daniel Walton wrote:
> > On Thu, 8 Feb 2007, [ISO-8859-1] Pekka Jääskeläinen wrote:
> >
> >> On 2/8/07, Daniel Walton <dwalton at cisco.com> wrote:
> >>> It's a Knoppmyth install from last summer (don't recall what version of
> >>> knoppmyth exactly).  I'm using nvidia driver version 1.0-9629 and I used a
> >>> script that comes with knoppmyth (/usr/local/bin/install-nvidia-debian.sh) to
> >>> install the drivers.
> >>>
> >>> Is there something else I was supposed to install?
> >> This patch added some search paths for Ubuntu and Debian Sid nVidia
> >> headers, I wonder if similiar search path check is needed for Knoppix?
> >> http://svn.mythtv.org/trac/changeset/9977
> >
> > Any idea how I can determine what path (if any) needs to be added?
> >
> > Daniel
> You should be able to do a 'locate gl.h' and 'locate glx.h'.  Browse the
> occurrences that you get and determine which path you need.  If that
> doesn't work, then there's always:
>
> find / -type f | grep 'glx*.h'
>
>
>




More information about the mythtv-dev mailing list