[Lazarus] [Ubuntu 12.04 x64] Can't build Lazarus

Kjow antispammoni at gmail.com
Wed Aug 8 16:25:13 CEST 2012


2012/8/8 Martin <lazarus at mfriebe.de>:
>> /usr/share/lazarus/1.0RC1/components/synedit/synedithighlighterfoldbase.pas(1,1)
>> Fatal: There were 2 errors compiling module, stopping
>
>
> Looks like an error in FPC.
>
> And there already is a workaround in the lazarus source. But it is
> conditional
>
> And it looks there is a typo. Open the unit and find:
>
> {$IFDEF CPU64}
> {$IF (FPC_FULLVERSION = 2060) or (FPC_FULLVERSION = 20501)}
>   {$DEFINE ISSUE_20850 }
> {$ENDIF}
> {$ENDIF}
>
>
> replace  2060 with 20600

It worked, but now:

Unable to find file "registersqldb.pas".
If it belongs to your project, check search path in
Project -> Compiler Options -> Search Paths -> Other Unit Files. If
this file belongs to a package, check the appropriate package compiler
options. If this file belongs to lazarus, make sure compiling clean.
If the file belongs to FPC then check fpc.cfg. If unsure, check
Project -> CompilerOptions -> Test

Thank you,
Kjow




More information about the Lazarus mailing list