[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: PCB + GL latest (patch for indirect rendering support)



On Wed, 2009-02-11 at 13:44 +0000, Peter Clifton wrote:
> On Wed, 2009-02-11 at 12:20 +0000, gdedwards@xxxxxxxxxxxxxxxx wrote:

> > I'm getting errors at build:
> > 
> > In file included from hid/gtk/gtkhid-main.c:34:
> > hid/gtk/gui.h:213: error: expected specifier-qualifier-list before
> > ‘GdkGLConfig’
> 
> Hmm, perhaps not.. although I _thought_ I had added the right configure
> check..

AHA... you might be missing "--enable-gl" from the ./configure command
line.

The branch won't build properly without that. The longer term goal it to
make that configure flag do what you might expect, and have it fallback
to the old rendering code when it isn't given.

Once --enable-gl is passed, the following configure test ought to
trigger if you're missing GtkGLExt :

if test "x$enable_gl" = "xyes"; then
	# Check for GtkGLExt
	PKG_CHECK_MODULES(GTKGLEXT, gtkglext-1.0 >= 1.0.0, , [AC_MSG_ERROR([
*** Required version of gtkglext is not installed - please install first ***
Please review the following errors:
$GTKGLEXT_PKG_ERRORS])]
	)
GTKGLEXT_VER=`$PKG_CONFIG gtkglext-1.0 --modversion`
fi


-- 
Peter Clifton

Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA

Tel: +44 (0)7729 980173 - (No signal in the lab!)



_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user