[fpc-pascal]GTKpas on Win32

Fernando Lozano fernando at lozano.eti.br
Fri Aug 2 19:11:40 CEST 2002


Hi there, it's me again. :-)

Anyone there had success compiling gtkpas on Win32?

I hacked the makefiles but the result is

make -C tools
make[1]: Entering directory `C:/usuarios/lozano/fpc/gtkpas-0.6/tools'
ppc386 objectwrap.pas
Free Pascal Compiler version 1.0.6 [2002/04/23] for i386
Copyright (c) 1993-2002 by Florian Klaempfl
Target OS: Win32 for i386
Compiling objectwrap.pas
Linking objectwrap.exe
224 Lines compiled, 3.8 sec
make[1]: Leaving directory `C:/usuarios/lozano/fpc/gtkpas-0.6/tools'
make -C src
make[1]: Entering directory `C:/usuarios/lozano/fpc/gtkpas-0.6/src'
type accellabel.pas | objectwrap.exe > accellabel.pas_post
... <<< snip >>> ...
ppc386 -Sm  gtkpas.pas
Free Pascal Compiler version 1.0.6 [2002/04/23] for i386
Copyright (c) 1993-2002 by Florian Klaempfl
Target OS: Win32 for i386
Compiling gtkpas.pas
menuitem.pas_post(64,13) Warning: An inherited method is hidden by
CMENUITEM.ACTIVATE
object.pas(117,37) Hint: Parameter AOBJ not used
object.pas(117,51) Hint: Parameter AKLASS not used
object.pas(308,3) Error: Identifier not found GTK_OBJECT_REMOVE_NO_NOTIFY
object.pas(308,45) Error: Illegal expression
widget.pas_post(3202,3) Error: Identifier not found
GTK_WIDGET_QUEUE_DRAW_AREA
widget.pas_post(3202,72) Error: Illegal expression
widget.pas_post(3207,3) Error: Identifier not found GTK_WIDGET_QUEUE_CLEAR
widget.pas_post(3207,48) Error: Illegal expression
widget.pas_post(3212,3) Error: Identifier not found
GTK_WIDGET_QUEUE_CLEAR_AREA
widget.pas_post(3212,73) Error: Illegal expression
widget.pas_post(3257,25) Error: Identifier not found
GTK_WIDGET_ACCELERATORS_LOCKED
widget.pas_post(3322,3) Error: Identifier not found
GTK_WIDGET_SET_APP_PAINTABLE
widget.pas_post(3322,69) Error: Illegal expression
... <<< lots of ther errors >>> ...
gtkpas.pas(288) Fatal: There were 48 errors compiling module, stopping
make[1]: Leaving directory `C:/usuarios/lozano/fpc/gtkpas-0.6/src'

I can compile and run GTK+ apps (uses glib, gdk, gtk) without any
extra compiler flag or environment variable so I guess gtkpas shoudl
also compile and not complain about missing symbols.

Any ideas?


[]s, Fernando Lozano




More information about the fpc-pascal mailing list