[Lazarus] Lazarus compilation error, rev 16862

Howard Page-Clark hdpc at talktalk.net
Fri Oct 3 22:06:59 CEST 2008


On 03/10/2008, Mattias Gaertner <nc-gaertnma at netcologne.de> wrote:
> On Fri, 3 Oct 2008 13:29:35 +0100
>
> The bug 12269 is about not clearing a cache. For example
> opening a file via find declaration, closing it, and opening the file
> again via find declaration.
> It has nothing to do with 'units not found'.

sorry, i correlated the two issues because both caused my identifier
completion to fail.

>> what i should probably explain is that these units don't get compiled,
>> since they are already built and the ppu/o files are in a directory i
>> specified under "Other Unit Files" in the compiler options.
>
> Please run the project / compiler options / test. Does it show
> warnings / errors?

no warnings (except duplicate ppu for apache units in fpc), the
project builds fine.  it's a similar situation as with fpc having its
compiled units in one place, and the source in another.  so i specify
the unit dir as /path/to/compiledunits/$(TargetCPU)-$(TargetOS), and i
specify the path to all the source so the ide can find it for
completion, etc.

it just seems to be that it doesn't find the source if it's in a
different directory to the source of the unit you are clicking on
(does that make sense?).

henry



More information about the Lazarus mailing list