[Lazarus] ERROR compiling Lazarus for first time on Windows 7 Ultimate OS. Fatal: Can't find unit system used by AllLCLUnits

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Jan 25 13:59:40 CET 2011


On Tue, 25 Jan 2011 23:00:22 +1100
Peter Williams <pewilliams2010 at live.com> wrote:

>[...]
> > > Fatal: Can't find unit system used by AllLCLUnits
>[...]
> > How did you install fpc 2.5.1?

Well?


> > Use
> > make clean all OPT="-glw2 -vut"
> > 
> > and find out what fpc.cfg is used. Then see if the unit search paths
> > are pointing to the correct directory. The system.ppu of your fpc 2.5.1.

[...]
# searchpath for units and other system dependent things
-FuC:\freepascal\fpc\2.4.3/units/$FPCTARGET/
-FuC:\freepascal\fpc\2.4.3/units/$FPCTARGET/*
-FuC:\freepascal\fpc\2.4.3/units/$FPCTARGET/rtl
[...]

Fix the paths.

Mattias




More information about the Lazarus mailing list