[Lazarus] Trying to install a custom component get errors

Grizzly(Francis Smit) grizzly at smit.id.au
Tue Jun 2 16:34:01 CEST 2009


Mattias Gaertner wrote:
> On Tue, 02 Jun 2009 11:30:44 +1000
> "Grizzly(Francis Smit)" <grizzly at smit.id.au> wrote:
>
>   
>> Mattias Gaertner wrote:
>>     
>>> 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.
>>>
>>>  
>>>       
>> OK that worked but now I need to know how to get the picture onto my
>> component, it's a direct descendant of TLclComponet so it's invisible
>> at run time but I need to put my picture I've made on it on the
>> palate and during design time , how is this done ??
>>     
>
> Maybe this helps:
> http://wiki.lazarus.freepascal.org/Extending_the_IDE#Writing_components
>
> Mattias
>
>   
Thanks that did the trick, now I just have to make my component
something more than a toy :) 





More information about the Lazarus mailing list