[Lazarus] 3rd party components

Mattias Gaertner nc-gaertnma at netcologne.de
Fri May 30 18:21:08 CEST 2008


On Fri, 30 May 2008 17:54:29 +0300
ik <idokan at gmail.com> wrote:

> On Fri, May 30, 2008 at 5:37 PM, Mattias Gärtner
> <nc-gaertnma at netcologne.de> wrote:
> > Zitat von ik <idokan at gmail.com>:
> >
> >> On Fri, May 30, 2008 at 2:18 PM, Mattias Gärtner
> >> <nc-gaertnma at netcologne.de> wrote:
> >> > Zitat von ik <idokan at gmail.com>:
> >> >
> >> >> Hello,
> >> >>
> >> >> After compiling a 3rd party components, lazarus always claims
> >> >> that i can't find the files of the new components, however it
> >> >> does not happen on the components that arrive with lazarus
> >> >> itself. Any idea what should I do in order to make sure that
> >> >> the file location stored in Lazarus settings as well ?
> >> >
> >> > Has the 3rd party components a package file (.lpk) and do you
> >> > use it?
> >>
> >> Yes, they all have a lpk files for runtime.
> >> I use "Compile" and "Install", then it recompiles Lazarus, and
> >> restart it with a new version containing the new component(s).
> >>
> >> > What files can not be found? The .lpk or some units?
> >>
> >> Usually units and include files.
> >>
> >> > How do you compile the package when it works?
> >> > Is this a design time or run time package?
> >
> > How did you test, that the units can not be found?
> 
> I either try to use the component on a form, recompile Lazarus, or
> install another component (using a package).
> Then Lazarus tells me in a dialog box that a file "x" was not found.

Is there an icon for your component in the component palette?
Right click on it.
What package and path do you see in the menu items?
Try both menu items: 'Open package name' and 'Open Unit filename'.

Open the package.
Right click on a package file and do 'Fix File case'.

 
> > A new project will not use all installed IDE packages.
> > You must put a component on a form or manually add the dependency
> > to the project.


Mattias




More information about the Lazarus mailing list