[Lazarus] Delphi compatible XML lib

Juha Manninen (gmail) juha.manninen62 at gmail.com
Sun Sep 26 16:50:41 CEST 2010

On Sat, 25 Sep 2010 22:43:48 +0100
Frank Church <vfclists at gmail.com> wrote:

> > > I am now get the dreaded "Fatal: Can't find unit Contnrs used by xxxxx"
> > > error, yet it is located in
> >  <source_dir>/packages/fcl-base/src/contnrs.pp
> >
> > The compiler searches the ppu.
> > The error message probably means the compiler found ppu files compiled
> > with a different version. Note: The Contnrs is just the first unit the
> > compiler misses.
> > Have you compiled lazarus with the new compiler?
> >
> >
> I am sure I did, because the latest svn needs to be compiled with fpc 2.4.0.


> I think I may have deleted the .o and.ppu file for contnrs because googling
> indicated that they may be corrupted or something.

I hope yo only deleted the 2.2.4 ppus, not the 2.4.0 ppu.
Do you have the 2.4.0 contnrs.ppu?

> When I pass the mouse over the file names, I get the popups showing the file
> location correctly, except for contnrs. Does the IDE obtain the filename
> from the .o or .ppu files, or my scanning the source directory?

The fpc source directories are special.
The IDE searches the contnrs.ppu in the ppu search path of the
compiler. If it finds it, it searches the source in the FPC source

> The contnrs file is in the  <fpc_source_dir>/packages/fcl-base/src
> directory. Can the IDE locate them there?
> If I delete them can't Lazarus recompile them again?

The fpc ppu files are installed by you.


More information about the Lazarus mailing list