[Lazarus] Error: unit not found: Classes

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Jan 14 16:51:04 CET 2011


On Fri, 14 Jan 2011 16:37:42 +0100
Kjow <antispammoni at gmail.com> wrote:

> 2011/1/12 Kjow <antispammoni at gmail.com>:
> > Lazarus: r28973M
> > FPC 2.4.2: r16754
> >
> > Double clicking on any component (Form, Button, etc) to create the
> > relative event or pressing ctrl+space on the source editor, causes
> > this error:
> >
> > ---------------------------------------------
> > C:\Develop\lazarus\lcl\lclclasses.pp(32,10) Error: unit not found: Classes
> >
> 
> Anytime I rebuild lazarus/fpc I have this error, so I need to press
> "Environment -> Rescan FPC source directory" to make it working again
> (just press, no rebuilds).
> 
> This appens only to me?

Is this correct:
You only install a newer fpc, you do not change any paths and
settings. That means the fpc executable, the fpc.cfg, the fpc source
directory and the fpc ppu directories have still the exact same file
names.


Mattias




More information about the Lazarus mailing list