[Lazarus] Using Packages in Lazarus
lee at datatrakpos.com
Fri Mar 28 14:34:47 CET 2008
Mattias Gaertner wrote:
> On Thu, 27 Mar 2008 22:29:14 -0400
> Lee Jenkins <lee at datatrakpos.com> wrote:
>> [...] Mattias Gaertner wrote:
>>> The important answers are missing:
>>> Where is the .lpk file, the .pas and the .inc file (full filenames)?
>>> Open the .lpk file. A package editor should appear.
>>> Open the .pas file in the source editor, right click, file settings,
>>> unit info. What include paths are listed there?
>> The .lpk file is located in the tiOPF\Compilers\FPC directory. .pas
>> files are in the Core and Options folders, at least the ones that are
>> linked into my project.
>> Odd, right clicking on the .lpk file does in fact open lazarus but
>> with no visible files (the editor form in lazarus is blank).
> Do you only open files via the explorer?
> This will start everytime a new IDE.
> It is not yet implemented to tell the already running IDE to open a
> further file via the explorer.
> Please open files via the IDE menu items.
>> tiOPF.lpk file does have its xml in there however and I have attached
>> it along with the tiOPF.pas file as well.
> Still missing:
> Open your project (Project / Open project).
> Then open the .pas file in the source editor (Files / Open), right
> click, file settings, unit info. What include paths are listed there?
> Compare them to the ones Graeme gave.
Sorry Mattias, I don't think I understood what you wanted before. This is the
include paths for one of the .pas files that could not find the tiDefines.inc file:
For the tiOPF.pas file itself, no paths showed under the Incuded Paths tab of
UnitInfo context command.
"Everything I needed to learn in life, I learned selling encyclopedias door to
More information about the Lazarus