[lazarus] Building Lazarus under win32

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Mar 31 03:57:53 EST 2003


On Sun, 30 Mar 2003 23:24:06 -0800 (PST)
Catalin Mincu <cata_mincu at yahoo.com> wrote:

> I checkout sources for Lazarus today and I've got an
> error when I try to build them. It's on the Printer
> unit. Please help me .

I made the events more compatible. But I suggest you should use a more
recent compiler not older than 21 september of 2002. 


Mattias


> 
> ----------------------------------------
> 
> 
> C:\Projects\Lazarus\lazarus>make
> make -C lcl all
> make[1]: Entering directory
> `C:/Projects/Lazarus/lazarus/lcl'
> C:/pp/bin/win32/rm.exe -f units/allunits.ppw
> C:/pp/bin/win32/ppc386.exe -gl -Fuinterfaces/abstract
> -Fu. -Fuc:/pp/units/win32/
> rtl -Fuc:/pp/units/win32/paszlib
> -Fuc:/pp/units/win32/fcl -Fuc:/pp/units/win32/m
> ysql -Fuc:/pp/units/win32/ibase -Fiinclude -FUunits
> -di386 allunits.pp
> 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 allunits.pp
> Compiling printers.pas
> Compiling postscriptprinter.pas
> postscriptprinter.pas(325,40) Hint: Parameter APEN not
> used
> postscriptprinter.pas(355,23) Error: Method (variable)
> and Procedure (variable)
> are not compatible
> postscriptprinter.pas(355,23) Error: Incompatible
> types: got "<procedure variabl
> e type of procedure(TPSPEN) of object;>" expected
> "<procedure variable type of p
> rocedure(TOBJECT) of object;>"
> postscriptprinter.pas(497,26) Hint: use DIV instead to
> get an integer result
> postscriptprinter.pas(548,37) Hint: use DIV instead to
> get an integer result
> postscriptprinter.pas(548,71) Hint: use DIV instead to
> get an integer result
> postscriptprinter.pas(815,28) Error: Method (variable)
> and Procedure (variable)
> are not compatible
> postscriptprinter.pas(815,28) Error: Incompatible
> types: got "<procedure variabl
> e type of procedure(TPSPATTERN) of object;>" expected
> "<procedure variable type
> of procedure(TOBJECT) of object;>"
> postscriptprinter.pas(1115) Fatal: There were 4 errors
> compiling module, stoppin
> g
> make[1]: *** [allunits.ppw] Error 1
> make[1]: Leaving directory
> `C:/Projects/Lazarus/lazarus/lcl'
> make: *** [lcl] Error 2
> 
> 
> =====
> Sincerely yours Catalin
> 
> Phone : 0721.333.439
>             0722.336.491
> Mail  : cata_mincu at yahoo.com
> Web : www.geocities.com/cata_mincu
>           cata76.home.ro
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
> http://platinum.yahoo.com
> 
> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com with
>                 "unsubscribe" as the Subject
>    archives at http://www.lazarus.freepascal.org/mailarchives






More information about the Lazarus mailing list