[fpc-pascal]GTKpas on Win32

Johann Glaser Johann.Glaser at gmx.at
Fri Aug 2 17:25:26 CEST 2002


Hi!

> Anyone there had success compiling gtkpas on Win32?

I only used gtkpas on Linux until now. But I would be happy to see it on
Windows (despite I don't like Windows :-) ).

> I hacked the makefiles but the result is

I think it is better to install the programs like "cat", ... instead of
modifying the Makefile.

> 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.

Hmm, interesting. Could you please mail me all the .pas_post files? I'll
try to compare them with mine.

Bye
  Hansi

-- 
Johann Glaser   <Johann.Glaser at gmx.at>
   Vienna University of Technology
       Electrical Engineering 
____ http://www.johann-glaser.at/ ____





More information about the fpc-pascal mailing list