It is currently Thu Jul 19, 2018 9:17 pm

All times are UTC




 Page 1 of 1 [ 4 posts ] 
Author Message
 Post subject: Error compilado
PostPosted: Thu Oct 27, 2011 3:20 am 

Joined: Sat Jan 29, 2011 5:07 pm
Posts: 16
Saludos !
Termino de actuaizar el tgtk del svn y al compilar en windows para crear las lib me arroja este error

make[1]: Entering directory `c:/tgtk/hbgtk'
gcc -c -ogtkbuilder.o -I. -I../include -mms-bitfields -Ic:/GTK/include/gtk-2.0 -Ic:/GTK/lib/gtk-2.0/include -Ic:/
/GTK/include/pango-1.0 -Ic:/GTK/include/glib-2.0 -Ic:/GTK/lib/glib-2.0/include -Ic:/GTK/include/freetype2 -mms-b
/include/gtk-2.0 -Ic:/GTK/include/libxml2 -Ic:/GTK/lib/gtk-2.0/include -Ic:/GTK/include/atk-1.0 -Ic:/GTK/include/
de/glib-2.0 -Ic:/GTK/lib/glib-2.0/include -Ic:/GTK/include/freetype2 -fms-extensions -Wall -mms-bitfields -Ic:/
.0 -Ic:/GTK/lib/gtk-2.0/include -Ic:/GTK/include/atk-1.0 -Ic:/GTK/include/cairo -Ic:/GTK/include/pango-1.0 -Ic:/G
de -Ic:/GTK/include/freetype2 -Ic:/GTK/include/libxml2 -mms-bitfields -ffast-math -D_HB_API_INTERNAL_ -mms-bitf
/GTK/include/libgnomeprint-2.2 -Ic:/GTK/include/libgnomecanvas-2.0 -Ic:/GTK/include/libart-2.0 -Ic:/GTK/include/g
include/libxml2 -Ic:/GTK/include/pango-1.0 -Ic:/GTK/include/freetype2 -Ic:/GTK/include/gtk-2.0 -Ic:/GTK/lib/gtk-2
clude/cairo -I../../include -I"c:\MySQL\MySQL Server 5.5\include" -DHB_OS_WIN_32_USED -DWIN32 -D_WIN32 -D__WIN
L\9.1\include" -DHB_OS_WIN_32_USED -DWIN32 -D_WIN32 -D__WIN32__ -D_HB_API_INTERNAL_ -DHB_ARRAY_USE_COUNTER_OFF -
IC:\harbour\include gtkbuilder.c
gtkbuilder.c:8:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
gtkbuilder.c: In function 'HB_FUN_GTK_BUILDER_NEW':
gtkbuilder.c:16:3: error: 'GtkBuilder' undeclared (first use in this function)
gtkbuilder.c:16:3: note: each undeclared identifier is reported only once for each function it appears in
gtkbuilder.c:16:16: error: 'pBuilder' undeclared (first use in this function)
gtkbuilder.c:17:3: warning: implicit declaration of function '_gtk_builder_new'
gtkbuilder.c:18:29: error: expected expression before ')' token
gtkbuilder.c: At top level:
gtkbuilder.c:24:45: error: expected ')' before '*' token
gtkbuilder.c: In function 'HB_FUN_GTK_BUILDER_ADD_FROM_FILE':
gtkbuilder.c:32:3: error: 'GtkBuilder' undeclared (first use in this function)
gtkbuilder.c:32:16: error: 'pBuilder' undeclared (first use in this function)
gtkbuilder.c:35:3: warning: implicit declaration of function '_gtk_builder_add_from_file'
gtkbuilder.c: In function 'HB_FUN_GTK_BUILDER_GET_OBJECT':
gtkbuilder.c:46:3: error: 'GtkBuilder' undeclared (first use in this function)
gtkbuilder.c:46:16: error: 'pBuilder' undeclared (first use in this function)
gtkbuilder.c:49:3: warning: implicit declaration of function 'gtk_builder_get_object'
make[1]: *** [gtkbuilder.o] Error 1
make[1]: Leaving directory `c:/tgtk/hbgtk'
make: *** [all] Error 2

En linux compila sin novedad


Offline
 Profile Send private message  
 
 Post subject: Re: Error compilado
PostPosted: Thu Oct 27, 2011 4:51 am 

Joined: Thu Dec 30, 2010 12:18 am
Posts: 91
Hola,

Has generado las librerias nuevamente? (make clean ; make )

Acabo de reinstalar una virtual con WinXP, compile y ejecute el ejemplo de gtkbuilder y caminó bien...

Ante cualquier cosa, vuelve a comentar.. :)


Offline
 Profile Send private message  
 
 Post subject: Re: Error compilado
PostPosted: Thu Oct 27, 2011 12:52 pm 

Joined: Sat Jan 29, 2011 5:07 pm
Posts: 16
Saludos !
Yo acostumbro a bajar un repositorio limpio, ( elimino el que tengo y descargo nuevamente ), el error se produce cuando se esta compilando para crear las lib,
alguna otra orientación ?

Gracias

Cruz Alfredo Oses


Offline
 Profile Send private message  
 
 Post subject: Re: Error compilado
PostPosted: Fri Oct 28, 2011 6:58 pm 

Joined: Thu Dec 30, 2010 8:46 pm
Posts: 92
Borra dicho fichero, bajatelo del repositorio y vuelva a intentar compilarlo.
Es raro, yo acabo de probarlo en Win7 64 y GNU/Linux Harbour 3.1 sin problemas

Mira te tengas estas lineas;

#include <gtk/gtk.h>
#include <hbapi.h>

static BOOL lStatus = FALSE;

El fichero en cuestión;
http://www.gtxbase.org/devel/filedetail ... kbuilder.c

Otra cuestión es ¿ De donde lo bajas ? CVS o Subversion.

El CVS todavía no está sincronizado con respecto al Subversión.


Saludos


Offline
 Profile Send private message  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

cron