[lazarus] Error when compiling CVS

Marc Weustink marc at dommelstein.net
Mon Oct 20 18:05:45 EDT 2003


At 12:48 19-10-2003, spiri wrote:
>Hi,
>I trying to buil lazarus from the sources in CVS, but the compiler gives 
>this error:
>
>Compiling forms.pp
>forms.pp(50,3) Fatal: Can't find unit CUSTAPP
>make[1]: *** [allunits.ppu] Error 1
>make[1]: Leaving directory `/home/toto/lazarus/src/lazarus/lcl'
>make: *** [lcl] Error 2

Today I hit the same error while I was accidently compiling Lazarus on an 
older Linux box with a version 1.0.7 compiler.

The current version of TApplication is derived from TCustomApplication.
TCustomApplication is defined in the FCL. So in your case you need a newer 
FCL (my 1.0.10 version has it).

While I'm at this now, I think it doen't make sense anymore to control this 
by the UseCustApp define, since if you undefine it, you get errors of base 
members not found.
Is there any reason to keep this define ?

Marc






More information about the Lazarus mailing list