On Fri, 08 Jul 2011 23:30:47 +0200 John Landmesser <[email protected]> wrote:
> Am 08.07.2011 22:30, schrieb Mattias Gaertner: > > On Fri, 08 Jul 2011 22:11:37 +0200 > > John Landmesser<[email protected]> wrote: > > > >> [...] > >>>> I can add findfile1 to the uses clause of a project and then i can > >>>> TFileFind.Create ...use it ... no probs. > >>>> > >>>> But if i put findfile1.pas to a new or existing package i can compile > >>>> the package but i cannot install it to lazarus IDE. > >> [...] > >> > >> "use unit" and "register unit" is checked in package settings and i can > >> compile the package! > > And then you click 'Install'. And what happens? > > > > Mattias > > > > -- > > _______________________________________________ > > Lazarus mailing list > > [email protected] > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > > > i get this german error message: > > Kann die Datei "findfile1.pas" nicht finden. > Falls sie zum Projekt gehört, prüfen Sie den Suchpfad in der Startseite von > Projekt->Compilereinstellungen ... unter Andere Unit-Dateien. Wenn die > Datei zu einem Package gehört, müssen dessen Einstellungen geprüft > werden. Falls die Datei zu Lazarus gehört, muß sichergestellt sein, daß > die IDE sauber kompiliert ist. Gehört die Datei zu FPC muß die fpc.cfg > überprüft werden. Bei Unklarheiten hilft der Button Test unter Projekt > -> Compilereinstellungen ... -> Test > > In Package settings, other units: > $(PkgOutDir);findfile The dependent packages/projects only need the $(PkgOutDir). Change the compiler paths of the package instead. > > findfile is the directory if findfile1.pas Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
