Re: Gtk 3.0
- From: Carlos Pereira <jose carlos pereira ist utl pt>
- To: David NeÄas <yeti physics muni cz>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Gtk 3.0
- Date: Thu, 03 Dec 2009 16:16:02 +0000
Thanks David,
It seems gtkglext does not work yet with SINGLE_INCLUDES. When I compile
my app I get the following error message (gtkgkext is including
gdkgltypes.h and this is flagged down):
In file included from /usr/include/gtkglext-1.0/gdk/gdkgltypes.h:22,
from /usr/include/gtkglext-1.0/gdk/gdkgl.h:27,
from /usr/include/gtkglext-1.0/gtk/gtkgl.h:22,
from ./engine/my_app_engine.h:28,
from ./engine/my_app_engine_array.c:12:
/usr/include/gtk-2.0/gdk/gdktypes.h:28:2: error: #error "Only
<gdk/gdk.h> can be included directly."
I am compiling on Ubuntu 9.10 (Gtk 2.18.3, I think) with:
CFLAGS = -g -O3 -Wall -ansi
override CFLAGS += -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED \
-DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED \
-DGSEAL_ENABLE \
-DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES \
-DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES
Carlos
FOO_DISABLE_SINGLE_INCLUDES prevents inclusion of indvidual headers (as
opposed to library-level headers such as glib.h). It does not affect
what symbols are defined.
Yeti
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]