[GtkGLExt] Help with compile sample of gtkglext



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/


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