[Lazarus] Codetools can't find units in 'other sources'

Joost van der Sluis joost at cnoc.nl
Wed Nov 3 11:24:55 CET 2010


On Tue, 2010-11-02 at 23:43 +0100, Mattias Gaertner wrote:
> On Tue, 02 Nov 2010 19:13:46 +0100
> Joost van der Sluis <joost at cnoc.nl> wrote:
> 
> > Hi all,
> > 
> > The Lazarus Codetools are complaining that a unit can't be found. But it
> > is available in the path I've given in the 'compiler-options' as 'Other
> > Sources'.
> > 
> > But also placing the path in 'other units /-Fu' doesn't help. Maybe
> > something to do with the new buildmodes?
> 
> What paths do you see in the 'Unit info'?

The paths added for the packages being used (ideintf, lcl and my own
Gecko package) and 'packager' (what is this?)

So, unit-info, unit paths:
/home/svn/lazarus/ideintf/units/x86_64-linux
/home/svn/lazarus/lcl/units/x86_64-linux
/home/svn/lazarus/lcl/units/x86_64-linux/gtk2
/home/svn/lazarus/packager/units/x86_64-linux
/home/joost/.fppkg/share/doc/fpc-gecko-0.9.0-1/lazaruspackage/Components

include paths:
/home/joost/.fppkg/share/doc/fpc-gecko-0.9.0-1/lazaruspackage/Components

Source paths:
/home/joost/.fppkg/share/doc/fpc-gecko-0.9.0-1/lazaruspackage/Components
/home/svn/lazarus/ideintf/units/x86_64-linux
/home/svn/lazarus/lcl/units/x86_64-linux
/home/svn/lazarus/lcl/units/x86_64-linux/gtk2
/home/svn/lazarus/packager/units/x86_64-linux
/local/svn/tiOPF2-trunk/Core
/home/svn/lazarus/ideintf
/home/svn/lazarus/lcl
/home/svn/lazarus/lcl/widgetset
/home/svn/lazarus/lcl/nonwin32
/home/svn/lazarus/lcl/interfaces/gtk2
/home/svn/lazarus/packager/registration

(I'm curious why tiopf is there, and nonwin32. I do use them but not in
this project.)

While -Fu is: (compiler options)
/home/svn/webdesign-trunk/geckoport/;/home/svn/webdesign-trunk/geckoport/each-version/

And Other Soruces: (compiler options)
/home/svn/webdesign-trunk/geckoport/;/home/svn/webdesign-trunk/geckoport/each-version/

Joost





More information about the Lazarus mailing list