[Lazarus] Units missing

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Oct 31 08:34:10 CET 2008


On Fri, 31 Oct 2008 09:08:56 +0200
"Dave Coventry" <dgcoventry at gmail.com> wrote:

>[...]
> I upgraded last night to the
> Lazarus-0.9.27-17155-fpc-2.2.2-20081030-win32.exe nightly build.

Then you must rebuild clean all your depending projects and packages.
The compiler should figure that out automatically, but in some cases it
does not.

 
> My application won't compile with the following error:
> 
> C:\Programs\lazarus\components\printers\printersdlgs.pp(27,22) Fatal:
> Can't find unit Dialogs used by PrintersDlgs

What says the project / compiler options / test?

 
> When I try to configure packages and rebuild the IDE, it stops with
> the followng error:
> 
> C:\Programs\lazarus\components\tachart\taseries.pas(37,8) Fatal: Can't
> find unit Graphics used by TASeries
> 
> So, obviously the units are not where the IDE expects them to be.
> 
> I have 3 'graphics.pas' files:
> 
> c:\Programs\lazarus\fpc\2.2.1\source\rtl\morphos\graphics.pas
> c:\Programs\lazarus\fpc\2.2.2\source\rtl\morphos\graphics.pas
> c:\Programs\lazarus\fpc\2.2.3\source\rtl\morphos\graphics.pas
> 
> Ialso have multiple instances of dialogs.pas

It does not search graphics.pas but graphics.ppu.


Mattias



More information about the Lazarus mailing list