kvanish
Joined: 21 Apr 2008 Posts: 1
|
Posted: Mon Apr 21, 2008 2:08 pm Post subject: gtk_imlib_get_colormap undefined? |
|
|
i have a question about the GTK;
there are the codes;
GtkWidget* canvas;
gtk_widget_push_visual(gdk_imlib_get_visual());
gtk_widget_push_colormap(gdk_imlib_get_colormap());
canvas = gnome_canvas_new();
gtk_widget_pop_visual();
gtk_widget_pop_colormap();
it is GDK mode ;
but when i compile, there is a error .
undefined reference to `gdk_imlib_get_colormap'
i have no idea about it.
i check the gdk_imlib.h . the gdk_imlib_get_colormap has been defined.
but if i haven't been defined . why the gdk_imlib_get_visual is ok?
can anyone know that? |
|