[Lazarus] Lazarus svn fails to compile

Michael Van Canneyt michael at freepascal.org
Mon Jun 9 09:07:29 CEST 2008



On Mon, 9 Jun 2008, Graeme Geldenhuys wrote:

> On 09/06/2008, Graeme Geldenhuys <graemeg.lists at gmail.com> wrote:
> >  environmentopts.pp(1527,57) Error: Identifier not found "GetUserDir"
> >  environmentopts.pp(2701) Fatal: There were 1 errors compiling module, stopping
> 
> Looking at that unit, the error occurs inside the InitMacros() method
> 
>   {$IFNDEF Ver2_2_0}
>   AMacroList.Add(TTransferMacro.Create('Home',GetUserDir,
>                  lisUserSHomeDirectory, nil, []));
>   {$ENDIF}
> 
> 
> I'm not sure if this code is for < FPC 2.2.0  or  > FPC 2.2.0

The code is for FPC > 2.2.0

You'll need to update FPC.

Michael.



More information about the Lazarus mailing list