[Lazarus] Where to set project search paths in lazarus?

Bo Berglund bo.berglund at gmail.com
Wed Sep 29 23:18:40 CEST 2010

> Check character cases and check that the file is not under a
> subdirectory.

That was the cause! The files are named Class_xxx.pas but in
the uses clause they were listed as class_xxx!
I set the case in the uses list the same as the file name and
then it worked!

But only partly because now the compiler stops with a very strange 
It says that I have duplicate identifiers, when in fact I have not!

Here is an example from a class definition section:

  property Xmin: double read GetXmin;
  function Scale(Xmin, Xmax, Ymin, Ymax: Double; bSame: boolean): boolean;

I get an error because of a duplicate identifier on the function 
line because the property is named the same as the argument to 
the function! This makes no sense at all to me. Why would this
be an error??? This unit compiles fine in Delphi7.

What is going on?

Bo B

More information about the Lazarus mailing list