[Lazarus] Trying to install a custom component get errors

Mattias Gaertner nc-gaertnma at netcologne.de
Mon Jun 1 09:27:12 CEST 2009


On Mon, 01 Jun 2009 09:50:58 +1000
"Grizzly(Francis Smit)" <grizzly at smit.id.au> wrote:

> I've made a small component nothing much yet but it compiles at least
> I try to install it by hiting the install button in the  package
> manager thing it then wants to recompile the whole of lazarus, but I
> cannot get it to compile; instead I get the following error message:
> 
> "Compiling package pkggzzcmdline 0.0" completed
> Recompiling RTTICtrls, checksum changed for LResources
> rttictrls.pas(77,12) Fatal: Can't find unit RTTICtrls used by
> RunTimeTypeInfoControls
> 
> what does this mean I've put the path to rttictrls.pas, in the
> compiler options in the package management tool and in the
> "project->compiler options...->Paths->Other Unit Files" but I still
> get this error, I'm using ubuntu linux 9.04 with lazarus packages
> from deb http://www.hu.freepascal.org/lazarus/ lazarus-stable
> universe  

Probably You get this error, because you added the path to the "Other
Unit Files".
This probably created duplicate ppu files.
Remove them and use the project inspector to add the packages
requirements to the project.

 
> also will lazarus be able to install packages dynamically any time
> soon Delphi & C++Builder both did it was much simpler from my user pt
> of view

Mattias




More information about the Lazarus mailing list