Gtk headers problem
- From: hm <z_b_r poczta fm>
- To: gtk-list gnome org
- Subject: Gtk headers problem
- Date: 04 Apr 2006 16:42:58 +0200
Hi !
I am working on an application which is using gtk. I want to use GtkTextView/GtkTextBuffer Widget. When I`m trying to compile my program using : gcc -o prog.x prog.c `gtk-config --libs --cflags`, I receive message :
44-1.c:64: error: `GtkTextView' undeclared (first use in this function), and exactly the same bout GtkTextBuffer. So I`ve checked, that i have two versions of gtk installed : gtk-2.0 and gtk-1.2.
I`m including gtk/gtk.h headers ( I`ve got `em in /usr/include/gtk-2.0/gtk/gtk.h and /usr/include/gtk-1.2/gtk/gtk.h ). How to force using gtk-2.0 instead of 1.2 ? ???
----------------------------------------------------------------------
Pan pozna Pania. Czeka... ;-) >>> http://link.interia.pl/f1922
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]