On Fri, 13 Jul 2007 12:49:42 +0200
Luca Olivetti <[EMAIL PROTECTED]> wrote:

> En/na Luca Olivetti ha escrit:
> > En/na Mattias Gaertner ha escrit:
> >> On Tue, 10 Jul 2007 12:56:09 +0200
> >> Luca Olivetti <[EMAIL PROTECTED]> wrote:
> >>
> >>> En/na [EMAIL PROTECTED] ha escrit:
> >>>> ----- Original Message -----
> >>>> From: Luca Olivetti <[EMAIL PROTECTED]>
> >>> [...]
> >>>>> Error: unit not found: contnrs
> >>>>>
> >>>>>
> >>>>> The unit builds fine.
> >>>>> I'm using rev. 11454, but this started before.
> >>>> Is your fpc source directory in the environment options correct?
> >>> yes.
> >>
> >> What fpc version do you use?
> > 
> > 2.0.4 (installed from the rpm on the sourceforge/lazarus page)
> > 
> >> What version are your fpc sources (compiler/version.pas)?
> > 
> >     const
> >        { version string }
> >        version_nr = '2';
> >        release_nr = '0';
> >        patch_nr   = '4';
> >        minorpatch = '';
> > 
> > sources installed from the fpc-src rpm (same page), they're in 
> > /usr/share/fpcsrc and that's where lazarus should look for them.
> > 
> >> Are you cross compiling?
> > 
> > No
> 
> Well, now I found that it's worse than that, the error prevents from 
> creating new events by, e.g., double clicking on a new button or from 
> the object inspector: "The component editor of class 
> "TDefaultComponentEditor" has created the error: "Unable to find
> method. Plz fix the error shown in the message windows." and the
> message window says "Error unit not found: contnrs".

Yes, that requires 'find declaration' too.

 
> To create the event I have to comment out the "not found" units, then 
> uncomment them before compiling.
> Double clicking on a button that already has an event works.

First try this:
Environment > Rescan FPC Source directory.

This will search again the FPC sources (.pp files).
Then try to reproduce the bug.

If this does not help:
Stop the IDE and remove ~/.lazarus/includelinks.xml. Then start the IDE
and try to reproduce the bug.

If this does not help:
Please stop the IDE, uninstall the fpc-src and lazarus RPMs.
Make sure, that /usr/share/fpcsrc is gone and install the RPMs again.
Then start lazarus and use Environment > Rescan FPC Source directory.


Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to