ERRO no glade3

1. ERRO no glade3

Paulo
phpandromeda

(usa Slackware)

Enviado em 02/12/2006 - 10:54h

Uso Slackware ....instalei o glade 3 .... mas naum consigo compilar nem um simples exemplo .....
#include <gtk/gtk.h>
#include <glade/glade.h>


int main (int argc, char *argv[])
{
GladeXML *ui;
gtk_init(&argc, &argv);

/* Read user interface description from glade file */
ui = glade_xml_new ("oi.glade", "main_window", NULL);
/* Automatically connect signals */
glade_xml_signal_autoconnect(ui);
gtk_main();

return 0;
}


ele da a seguintes mensagens de erro

gcc $(pkg-config --libs --cflags gtk+-2.0) stage1.c
stage1.c:2:25: glade/glade.h: No such file or directory
stage1.c: In function `main':
stage1.c:7: error: `GladeXML' undeclared (first use in this function)
stage1.c:7: error: (Each undeclared identifier is reported only once
stage1.c:7: error: for each function it appears in.)
stage1.c:7: error: `ui' undeclared (first use in this function)


  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts