[Lazarus] Using Packages in Lazarus

Lee Jenkins 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.
> 
> 
>> The
>> 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:

M:\lazarus\components\tiOPF2\Core
M:\lazarus\components\tiOPF2\Options
M:\lazarus\components\tiOPF2\3rdParty\FBLib\lib\i386-win32
M:\lazarus\IDE\packager\units\i386-win32
M:\lazarus\components\tiOPF2\Compilers\FPC
M:\lazarus\projects\POSOO\commonbo
M:\lazarus\projects\POSOO\backoffice\bo
M:\lazarus\projects\POSOO\backoffice\gui
M:\lazarus\projects\POSOO\language
M:\lazarus\components\per_layer_test
M:\lazarus\components\tiOPF2\GUI
M:\lazarus\projects\POSOO\commonbo\gui
M:\lazarus\components\tiOPF2\tiOIDMediators
M:\lazarus\components\action_executor
M:\lazarus\IDE\components\popupnotifier\lib\i386-win32
M:\lazarus\IDE\components\jpeg\lib\i386-win32
M:\lazarus\IDE\ideintf\units\i386-win32
M:\lazarus\IDE\lcl\units\i386-win32
M:\lazarus\IDE\lcl\units\i386-win32\win32
M:\lazarus\projects\POSOO\backoffice

For the tiOPF.pas file itself, no paths showed under the Incuded Paths tab of 
UnitInfo context command.


-- 
Warm Regards,

Lee

"Everything I needed to learn in life, I learned selling encyclopedias door to 
door."



More information about the Lazarus mailing list