Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-06

Trying to install a custom component get errors

7 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

GrizzlyFrancis Smit

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

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

Reply by email

Vincent Snijders
to GrizzlyFrancis Smit
Grizzly wrote
also will lazarus be able to install packages dynamically any time soon

No. Some specs are here:
http://wiki.lazarus.freepascal.org/packages#Lazarus_and_Library_packages

But so far nobody volunteered for the implementation, so installing packages dynamically won't be possible "any time soon".

Delphi & C++Builder both did it was much simpler from my user pt of view

It was easier for Delphi and C++ Builder
(http://wiki.lazarus.freepascal.org/packages#Lazarus_and_Library_packages) and commercially required because they don't offer the source of the Delphi IDE.

Vincent

Reply by email

Mattias Gaertner
to GrizzlyFrancis Smit: I've made a small component nothing much yet but it compiles at least I try to install it…
Show quoted text 16 lines
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

Reply by email

GrizzlyFrancis Smit
to Vincent Snijders: No. Some specs are here: http://wiki.lazarus.freepascal.org/packages#Lazarus_and_Library_p…
Vincent Snijders wrote 24 lines
Grizzly(Francis Smit) schreef: > also will lazarus be able to install packages dynamically any time soon > No. Some specs are here: http://wiki.lazarus.freepascal.org/packages#Lazarus_and_Library_packages But so far nobody volunteered for the implementation, so installing packages dynamically won't be possible "any time soon". > Delphi & C++Builder both did it was much simpler from my user pt of view > It was easier for Delphi and C++ Builder (http://wiki.lazarus.freepascal.org/packages#Lazarus_and_Library_packages) and commercially required because they don't offer the source of the Delphi IDE. Vincent

OK interesting I never thought of that

Reply by email

GrizzlyFrancis Smit
to Mattias Gaertner: On Mon, 01 Jun 2009 09:50:58 +1000 Probably You get this error, because you added the…
Mattias Gaertner wrote 29 lines
On Mon, 01 Jun 2009 09:50:58 +1000 "Grizzly(Francis Smit)" 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 ??

Reply by email

Mattias Gaertner
to GrizzlyFrancis Smit
Show quoted text 35 lines
Mattias Gaertner wrote: > On Mon, 01 Jun 2009 09:50:58 +1000 > "Grizzly(Francis Smit)" 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

Reply by email

GrizzlyFrancis Smit
to Mattias Gaertner
Mattias Gaertner wrote 50 lines
On Tue, 02 Jun 2009 11:30:44 +1000 "Grizzly(Francis Smit)" wrote: > Mattias Gaertner wrote: > >> On Mon, 01 Jun 2009 09:50:58 +1000 >> "Grizzly(Francis Smit)" 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 :)

Reply by email