Re: [GtkGLExt] Help with compile sample of gtkglext
- From: John Pye <john curioussymbols com>
- To: Moises <ammoises yahoo com mx>
- Cc: gtkglext-list gnome org
- Subject: Re: [GtkGLExt] Help with compile sample of gtkglext
- Date: Thu, 03 Jan 2008 12:35:33 +1100
Hi Moises,
Perhaps you need to install libgtkglext1-dev? It looks as though you are
lacking the necessary header files.
Also, perhaps you should run pkg-config with `pkg-config --cflags --libs
gdkglext-1.0` instead of with gtk+-2.0.
Hope that helps,
JP
Moises wrote:
> Hello to all, My name is Moises.
>
> sorry for my English.
>
> I am working with Ubuntu 7.10 and I installed gtk+ and
> gtkglext with Synaptic Package Manager, and I have
> next problem I can compile example of gtk+ with:
>
> gcc `pkg-config --cflags --libs gtk+-2.0` main.c -o
> main.e
>
> but when I try to compile example share-lists.c of
> gtkglext with:
>
> gcc `pkg-config --cflags --libs gtk+-2.0` main.c -o
> main.e
>
> But when I try to compile the example of gtkglext
> share-lists.c gives me the following error:
>
> get me next errors:
>
> share-lists.c:12:23: error: gtk/gtkgl.h: No such file
> or directory
> share-lists.c: In function ‘realize_main’:
> share-lists.c:56: error: ‘GdkGLContext’ undeclared
> (first use in this function)
> share-lists.c:56: error: (Each undeclared identifier
> is reported only once
> share-lists.c:56: error: for each function it appears
> in.)
> share-lists.c:56: error: ‘glcontext’ undeclared (first
> use in this function)
> share-lists.c:57: error: ‘GdkGLDrawable’ undeclared
> (first use in this function)
> share-lists.c:57: error: ‘gldrawable’ undeclared
> (first use in this function)
> share-lists.c: In function ‘realize_sub’:
> share-lists.c:83: error: ‘GdkGLContext’ undeclared
> (first use in this function)
> share-lists.c:83: error: ‘glcontext’ undeclared (first
> use in this function)
> share-lists.c:84: error: ‘GdkGLDrawable’ undeclared
> (first use in this function)
> share-lists.c:84: error: ‘gldrawable’ undeclared
> (first use in this function)
> share-lists.c: In function ‘configure_event’:
> share-lists.c:102: error: ‘GdkGLContext’ undeclared
> (first use in this function)
> share-lists.c:102: error: ‘glcontext’ undeclared
> (first use in this function)
> share-lists.c:103: error: ‘GdkGLDrawable’ undeclared
> (first use in this function)
> share-lists.c:103: error: ‘gldrawable’ undeclared
> (first use in this function)
> share-lists.c: In function ‘expose_event’:
> share-lists.c:123: error: ‘GdkGLContext’ undeclared
> (first use in this function)
> share-lists.c:123: error: ‘glcontext’ undeclared
> (first use in this function)
> share-lists.c:124: error: ‘GdkGLDrawable’ undeclared
> (first use in this function)
> share-lists.c:124: error: ‘gldrawable’ undeclared
> (first use in this function)
> share-lists.c: In function ‘main’:
> share-lists.c:149: error: ‘GdkGLConfig’ undeclared
> (first use in this function)
> share-lists.c:149: error: ‘glconfig’ undeclared (first
> use in this function)
> share-lists.c:150: error: ‘GdkGLContext’ undeclared
> (first use in this function)
> share-lists.c:150: error: ‘glcontext’ undeclared
> (first use in this function)
> share-lists.c:174: error: ‘GDK_GL_MODE_RGB’ undeclared
> (first use in this function)
> share-lists.c:175: error: ‘GDK_GL_MODE_DEPTH’
> undeclared (first use in this function)
> share-lists.c:176: error: ‘GDK_GL_MODE_DOUBLE’
> undeclared (first use in this function)
> share-lists.c:226: error: ‘GDK_GL_RGBA_TYPE’
> undeclared (first use in this function)
>
> somebody can help me?
>
>
> ____________________________________________________________________________________
> ¡Capacidad ilimitada de almacenamiento en tu correo!
> No te preocupes más por el espacio de tu cuenta con Correo Yahoo!:
> http://correo.yahoo.com.mx/
> _______________________________________________
> gtkglext-list mailing list
> gtkglext-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkglext-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]