[Lazarus] trouble with packages
Mattias Gaertner
nc-gaertnma at netcologne.de
Tue Dec 1 13:38:16 CET 2009
On Mon, 30 Nov 2009 16:26:56 -0800
David Emerson <dle3ab at angelbase.com> wrote:
> I have created a package called "sarala_tools" which I'm using in a
> couple projects. I've found it fun, interesting, and incredibly useful
> to create packages.
>
> All was working great for a while, but now one of my projects has
> decided that it cannot find one of the units that is part of the
> sarala_tools package.
>
> I can compile the package just fine from
> the "open loaded package" > "package sarala_tools" window.
>
> When I create a new project that uses the package I don't see such a
> problem.
Delete the ppus of the project.
Check the project search paths in the compiler options.
The project unit search paths should *not* contain any package
directory, because this is done by the IDE automatically (see the
inherited page in the compiler options).
Check for duplicate unit and include file names.
> I'm really not sure how to go about fixing my project. Any tips?
About the checksum bug:
Compile your package twice. If the second time the compiler compiles
two units again, you suffer from the bug.
Mattias
More information about the Lazarus
mailing list