[Lazarus] Packages with IDE integration

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Dec 23 16:42:00 CET 2011


On Fri, 23 Dec 2011 17:27:38 +0200
Juha Manninen <juha.manninen62 at gmail.com> wrote:

> I am trying to make a package out of Bart's PO checker application.
> I want to integrate it to Tools menu like LeakView or LazSVN packages are.
> I don't know why it is so difficult.
> This new PoChecker package compiles fine but gives an error when I try
> to build Lazarus with it. I have compared every detail of it with
> LeakView package which works and I don't see problems.
> The error is:
> 
> pochecker.pas(76,12) Fatal: Can't find unit PoChecker used by Lazarus
> 
> The file contents are copied below. The error comes at RegisterPackage
> line where the parameter refers to the unit name itself.
> How can it not find a unit while it is compiling the exact same unit?
> 
> To be sure, I have renamed directories that contain files with same
> names, so they can't be found from a wrong place.
> I have done "Clean All + Build" for Lazarus.

There is already a unit "main" in the IDE itself.

Mattias




More information about the Lazarus mailing list