[lazarus] Unable to build Lazarus

Brad Campbell brad at wasp.net.au
Tue Nov 12 01:42:14 EST 2002


At 11:47 PM 11/11/02 -0500, you wrote:
>well since I can only guess at what might be causing the problems. I
>would suggest trying what I told David:
>
>Try to change the problem lines(5799-5802) from :
>
>       PS_DASH:       gdk_gc_set_dashes(GC, 0, [4,4], 2);
>       PS_DOT:        gdk_gc_set_dashes(GC, 0, [2,2], 2);
>       PS_DASHDOT:    gdk_gc_set_dashes(GC, 0, [4,2,2,2,0], 4);
>       PS_DASHDOTDOT: gdk_gc_set_dashes(GC, 0, [4,2,2,2,2,2], 6);
>
>TO:
>
>       PS_DASH:       gdk_gc_set_dashes(GC, 0, [#4,#4], 2);
>       PS_DOT:        gdk_gc_set_dashes(GC, 0, [#2,#2], 2);
>       PS_DASHDOT:    gdk_gc_set_dashes(GC, 0, [#4,#2,#2,#2,#0],4);
>       PS_DASHDOTDOT: gdk_gc_set_dashes(GC, 0, [#4,#2,#2,#2,#2,#2],6);
>
>if it works.. let me know and I will see about adding a #define
>char_dashes, as a work around.

Free Pascal Compiler version 1.0.7 [2002/11/12] for i386
Copyright (c) 1993-2002 by Florian Klaempfl
Hint: Path "/usr/lib/fpc/1.0.7/units/linux/" not found
Hint: Path "/usr/lib/fpc/1.0.7/units/linux/rtl/" not found
Target OS: Linux for i386
Compiling interfaces.pp
Compiling gtkint.pp
gtkobject.inc(2161,3) Hint: Parameter LEFT not used
gtkobject.inc(2161,9) Hint: Parameter TOP not used
gtkobject.inc(2161,14) Hint: Parameter WIDTH not used
gtkobject.inc(2161,21) Hint: Parameter HEIGHT not used
gtkobject.inc(5093,39) Hint: use DIV instead to get an integer result
gtkobject.inc(5094,47) Hint: use DIV instead to get an integer result
gtkobject.inc(5095,48) Hint: use DIV instead to get an integer result
gtkobject.inc(5799,53) Error: Incompatible type for arg no. 3: Got Array Of CHAR, expected Array Of SHORTINT
gtkobject.inc(5800,53) Error: Incompatible type for arg no. 3: Got Array Of CHAR, expected Array Of SHORTINT
gtkobject.inc(5801,53) Error: Incompatible type for arg no. 3: Got Array Of CHAR, expected Array Of SHORTINT
gtkobject.inc(5802,53) Error: Incompatible type for arg no. 3: Got Array Of CHAR, expected Array Of SHORTINT
gtkwinapi.inc(3678,42) Hint: use DIV instead to get an integer result
gtkwinapi.inc(3684,42) Hint: use DIV instead to get an integer result
gtkint.pp(637) Fatal: There were 4 errors compiling module, stopping
make[3]: *** [interfaces.ppu] Error 1
make[3]: Leaving directory `/usr/src/fpc/lazarus/lcl/interfaces/gtk'
make[2]: *** [gtk_all] Error 2
make[2]: Leaving directory `/usr/src/fpc/lazarus/lcl/interfaces'
make[1]: *** [interfaces] Error 2
make[1]: Leaving directory `/usr/src/fpc/lazarus/lcl'
make: *** [lcl] Error 2








More information about the Lazarus mailing list