Sign in Join

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

Mailing lists / lazarus / 2008-05

3rd party components

6 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

ik

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 ?

Thanks,
Ido

Reply by email

ik
to Mattias Gärtner
Mattias G?rtner wrote 11 lines
Zitat von ik : > 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.

Show quoted text 11 lines
How do you compile the package when it works? Is this a design time or run time package? Mattias _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Ido

Reply by email

Mattias Gärtner
to ik

Zitat von ik :

Show quoted text 24 lines
On Fri, May 30, 2008 at 2:18 PM, Mattias G??rtner wrote: > Zitat von ik : > >> 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?

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

Reply by email

ik
to Mattias Gärtner
Mattias G?rtner wrote 28 lines
Zitat von ik : > On Fri, May 30, 2008 at 2:18 PM, Mattias G?rtner > wrote: > > Zitat von ik : > > > >> 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.

Show quoted text 11 lines
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 _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Ido

Reply by email

Mattias Gaertner
to ik
Show quoted text 35 lines
On Fri, May 30, 2008 at 5:37 PM, Mattias G?rtner wrote: > Zitat von ik : > >> On Fri, May 30, 2008 at 2:18 PM, Mattias G?rtner >> wrote: >> > Zitat von ik : >> > >> >> 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

Reply by email