Mattias Gaertner wrote:
On Thu, 27 Mar 2008 20:03:41 -0400
Lee Jenkins <[EMAIL PROTECTED]> wrote:

Graeme Geldenhuys wrote:
On 27/03/2008, Mattias Gärtner <[EMAIL PROTECTED]> wrote:
Maybe he copied/moved some files around?
No idea...

 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?
I remember months ago you and I went through this exercise to get
tiOPF's packages working. Since then it has worked perfectly, on
multiple systems of ours. That is why I think something is wrong in
his setup (specific to his machine).

Anyway, here is the tree structure of the Source directory and the
different paths show in the tiOPF.lpk package using the Unit Info
dialog.  The tiDefines.inc include file that he is refering to is
located in the 'Core' directory. From the information below
everything looks fine to me.

@Lee
How does your setup compare to mine, shown below?


/home/graemeg/programming/tiopf/Source
   .
   |-Compilers
   |---Delphi2005
   |---Delphi2006
   |---Delphi2007
   |---Delphi7
   |---FPC
   |-----lib
   |-Core
   |-Demos
   |-GUI
   |-Options
   |-UnitTests


Paths shown via the Unit Info dialog....

Unit Paths
--------------
/home/graemeg/programming/tiopf/Source/Core
/home/graemeg/programming/tiopf/Source/Options
/home/graemeg/programming/tiopf/Source/3rdParty/FBLib/lib/i386-linux
/opt/lazarus/packager/units/i386-linux
/home/graemeg/programming/tiopf/Source/Compilers/FPC

Hi guys,

On my XP machine I have the following:

M:\Lazarus
  |-IDE
  |-Projects
  |-3rdPartyComponents
  |---tiOPF2
  |------Compilers
  |----------Delph7
  |----------Delphi2005
  |----------Delphi2006
  |----------Delphi2007
  |----------FPC
  |------Core
  |------GUI
  |------Options


On a fresh install/update of tiOPF, I just Tortoise/SVN trunk into
that directly into the tiOPF2 director.

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?


Mattias,

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). The tiOPF.lpk file does have its xml in there however and I have attached it along with the tiOPF.pas file as well.

Thanks again,


--
Warm Regards,

Lee

"Everything I needed to learn in life, I learned selling encyclopedias door to door."
<?xml version="1.0"?>
<CONFIG>
  <Package Version="3">
    <Name Value="tiOPF"/>
    <Author Value="Graeme Geldenhuys"/>
    <CompilerOptions>
      <Version Value="5"/>
      <SearchPaths>
        <IncludeFiles Value="../../Core/"/>
        <OtherUnitFiles Value="../../Core/;../../Options/"/>
        <UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)"/>
      </SearchPaths>
      <Parsing>
        <SyntaxOptions>
          <IncludeAssertionCode Value="True"/>
          <AllowLabel Value="False"/>
        </SyntaxOptions>
      </Parsing>
      <CodeGeneration>
        <Generate Value="Faster"/>
      </CodeGeneration>
      <Other>
        <WriteFPCLogo Value="False"/>
        <CustomOptions Value="-dLINK_CSV
-dLINK_TAB
-dLINK_FBL
-dLINK_SQLDB_IBx
-dLINK_XMLLIGHT
-dLINK_ZEOS_FB15x
-dUseCThreads
"/>
        <CompilerPath Value="$(CompPath)"/>
      </Other>
    </CompilerOptions>
    <Description Value="TechInsite Object Persistent Framework
"/>
    <License Value="Mozilla Public License 1.1
"/>
    <Version Major="2" Release="4"/>
    <Files Count="49">
      <Item1>
        <Filename Value="../../Core/tiBaseObject.pas"/>
        <UnitName Value="tiBaseObject"/>
      </Item1>
      <Item2>
        <Filename Value="../../Core/tiCommandLineParams.pas"/>
        <UnitName Value="tiCommandLineParams"/>
      </Item2>
      <Item3>
        <Filename Value="../../Core/tiCompress.pas"/>
        <UnitName Value="tiCompress"/>
      </Item3>
      <Item4>
        <Filename Value="../../Core/tiConstants.pas"/>
        <UnitName Value="tiConstants"/>
      </Item4>
      <Item5>
        <Filename Value="../../Core/tiDBConnectionPool.pas"/>
        <UnitName Value="tiDBConnectionPool"/>
      </Item5>
      <Item6>
        <Filename Value="../../Core/tiEncrypt.pas"/>
        <UnitName Value="tiEncrypt"/>
      </Item6>
      <Item7>
        <Filename Value="../../Core/tiExcept.pas"/>
        <UnitName Value="tiExcept"/>
      </Item7>
      <Item8>
        <Filename Value="../../Core/tiLog.pas"/>
        <UnitName Value="tiLog"/>
      </Item8>
      <Item9>
        <Filename Value="../../Core/tiObject.pas"/>
        <UnitName Value="tiObject"/>
      </Item9>
      <Item10>
        <Filename Value="../../Core/tiOID.pas"/>
        <UnitName Value="tiOID"/>
      </Item10>
      <Item11>
        <Filename Value="../../Core/tiOPFManager.pas"/>
        <UnitName Value="tiOPFManager"/>
      </Item11>
      <Item12>
        <Filename Value="../../Core/tiPool.pas"/>
        <UnitName Value="tiPool"/>
      </Item12>
      <Item13>
        <Filename Value="../../Core/tiQuery.pas"/>
        <UnitName Value="tiQuery"/>
      </Item13>
      <Item14>
        <Filename Value="../../Core/tiStreams.pas"/>
        <UnitName Value="tiStreams"/>
      </Item14>
      <Item15>
        <Filename Value="../../Core/tiSyncObjs.pas"/>
        <UnitName Value="tiSyncObjs"/>
      </Item15>
      <Item16>
        <Filename Value="../../Core/tiThread.pas"/>
        <UnitName Value="tiThread"/>
      </Item16>
      <Item17>
        <Filename Value="../../Core/tiUtils.pas"/>
        <UnitName Value="tiUtils"/>
      </Item17>
      <Item18>
        <Filename Value="../../Core/tiVisitor.pas"/>
        <UnitName Value="tiVisitor"/>
      </Item18>
      <Item19>
        <Filename Value="../../Core/tiVisitorDB.pas"/>
        <UnitName Value="tiVisitorDB"/>
      </Item19>
      <Item20>
        <Filename Value="../../Core/tiDefines.inc"/>
        <Type Value="Include"/>
      </Item20>
      <Item21>
        <Filename Value="../../Core/tiOIDGUID.pas"/>
        <UnitName Value="tiOIDGUID"/>
      </Item21>
      <Item22>
        <Filename Value="../../Options/tiQueryFBL.pas"/>
        <UnitName Value="tiQueryFBL"/>
      </Item22>
      <Item23>
        <Filename Value="../../Options/tiOIDInteger.pas"/>
        <UnitName Value="tiOIDInteger"/>
      </Item23>
      <Item24>
        <Filename Value="../../Options/tiCompressNone.pas"/>
        <UnitName Value="tiCompressNone"/>
      </Item24>
      <Item25>
        <Filename Value="../../Options/tiCompressZLib.pas"/>
        <UnitName Value="tiCompressZLib"/>
      </Item25>
      <Item26>
        <Filename Value="../../Options/tiEncryptSimple.pas"/>
        <UnitName Value="tiEncryptSimple"/>
      </Item26>
      <Item27>
        <Filename Value="../../Options/tiEncryptNone.pas"/>
        <UnitName Value="tiEncryptNone"/>
      </Item27>
      <Item28>
        <Filename Value="../../Options/tiEncryptDES.pas"/>
        <UnitName Value="tiEncryptDES"/>
      </Item28>
      <Item29>
        <Filename Value="../../Options/tiEncryptBlowfish.pas"/>
        <UnitName Value="tiEncryptBlowfish"/>
      </Item29>
      <Item30>
        <Filename Value="../../Options/tiOIDString.pas"/>
        <UnitName Value="tiOIDString"/>
      </Item30>
      <Item31>
        <Filename Value="../../Options/tiDataBuffer_Cli.pas"/>
        <UnitName Value="tiDataBuffer_Cli"/>
      </Item31>
      <Item32>
        <Filename Value="../../Options/tiDataBuffer_BOM.pas"/>
        <UnitName Value="tiDataBuffer_BOM"/>
      </Item32>
      <Item33>
        <Filename Value="../../Options/tiQueryTXTAbs.pas"/>
        <UnitName Value="tiQueryTXTAbs"/>
      </Item33>
      <Item34>
        <Filename Value="../../Options/tiTextParser.pas"/>
        <UnitName Value="tiTextParser"/>
      </Item34>
      <Item35>
        <Filename Value="../../Options/tiLogToConsole.pas"/>
        <UnitName Value="tiLogToConsole"/>
      </Item35>
      <Item36>
        <Filename Value="../../Options/tiXML.pas"/>
        <UnitName Value="tiXML"/>
      </Item36>
      <Item37>
        <Filename Value="../../Options/tiQueryCSV.pas"/>
        <UnitName Value="tiQueryCSV"/>
      </Item37>
      <Item38>
        <Filename Value="../../Options/tiQueryTAB.pas"/>
        <UnitName Value="tiQueryTAB"/>
      </Item38>
      <Item39>
        <Filename Value="../../Core/tiLogToFile.pas"/>
        <UnitName Value="tiLogToFile"/>
      </Item39>
      <Item40>
        <Filename Value="../../Core/tiCriteria.pas"/>
        <UnitName Value="tiCriteria"/>
      </Item40>
      <Item41>
        <Filename Value="../../Core/tiVisitorCriteria.pas"/>
        <UnitName Value="tiVisitorCriteria"/>
      </Item41>
      <Item42>
        <Filename Value="../../Options/tiXMLToTIDataset.pas"/>
        <UnitName Value="tiXMLToTIDataSet"/>
      </Item42>
      <Item43>
        <Filename Value="../../Options/tiQueryXMLLight.pas"/>
        <UnitName Value="tiQueryXMLLight"/>
      </Item43>
      <Item44>
        <Filename Value="../../Core/tiRTTI.pas"/>
        <UnitName Value="tiRTTI"/>
      </Item44>
      <Item45>
        <Filename Value="../../Core/tiTokenLibrary.pas"/>
        <UnitName Value="tiTokenLibrary"/>
      </Item45>
      <Item46>
        <Filename Value="../../Core/tiINI.pas"/>
        <UnitName Value="tiINI"/>
      </Item46>
      <Item47>
        <Filename Value="../../Options/tiQueue.pas"/>
        <UnitName Value="tiQueue"/>
      </Item47>
      <Item48>
        <Filename Value="../../Core/tiAutoMap.pas"/>
        <UnitName Value="tiAutoMap"/>
      </Item48>
      <Item49>
        <Filename Value="../../Core/tiVisitorDBAutoGen.pas"/>
        <UnitName Value="tiVisitorDBAutoGen"/>
      </Item49>
    </Files>
    <LazDoc Paths="../../../Docs/xml/core/;../../../Docs/xml/options/;../../../Docs/xml/gui/"/>
    <RequiredPkgs Count="2">
      <Item1>
        <PackageName Value="fblib"/>
        <MinVersion Minor="8" Release="3" Valid="True"/>
      </Item1>
      <Item2>
        <PackageName Value="FCL"/>
        <MinVersion Major="1" Valid="True"/>
      </Item2>
    </RequiredPkgs>
    <UsageOptions>
      <UnitPath Value="$(PkgOutDir)/"/>
    </UsageOptions>
    <PublishOptions>
      <Version Value="2"/>
      <IgnoreBinaries Value="False"/>
    </PublishOptions>
  </Package>
</CONFIG>
{ This file was automatically created by Lazarus. Do not edit!
This source is only used to compile and install the package.
 }

unit tiOPF; 

interface

uses
  tiBaseObject, tiCommandLineParams, tiCompress, tiConstants, 
    tiDBConnectionPool, tiEncrypt, tiExcept, tiLog, tiObject, tiOID, 
    tiOPFManager, tiPool, tiQuery, tiStreams, tiSyncObjs, tiThread, tiUtils, 
    tiVisitor, tiVisitorDB, tiOIDGUID, tiQueryFBL, tiOIDInteger, 
    tiCompressNone, tiCompressZLib, tiEncryptSimple, tiEncryptNone, 
    tiEncryptDES, tiEncryptBlowfish, tiOIDString, tiDataBuffer_Cli, 
    tiDataBuffer_BOM, tiQueryTXTAbs, tiTextParser, tiLogToConsole, tiXML, 
    tiQueryCSV, tiQueryTAB, tiLogToFile, tiCriteria, tiVisitorCriteria, 
    tiXMLToTIDataset, tiQueryXMLLight, tiRTTI, tiTokenLibrary, tiINI, tiQueue, 
    tiAutoMap, tiVisitorDBAutoGen; 

implementation

end.
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to