Recent

Author Topic: tiOPF Error while try to compile  (Read 7809 times)

fredycc

  • Sr. Member
  • ****
  • Posts: 264
tiOPF Error while try to compile
« on: December 15, 2009, 09:49:27 pm »
Today I download via Tortoise tiOPF from http://sourceforge.net/project/showfiles.php?group_id=62469 without problems :), buy when I try to compile tiOPF.lpk from folder FPC I obtain the next error: tiRTTi.pas not found...  %); I check into core folder  :o, the file is there and I open this(not corrupted).

Lazarus 0.9.28.2
FPC 2.2.4

Thanks.

fredycc

  • Sr. Member
  • ****
  • Posts: 264
Re: tiOPF Error while try to compile
« Reply #1 on: December 16, 2009, 12:42:05 am »
This is the message when I try to compile: :o

Free Pascal Compiler version 2.2.4 [2009/10/25] for i386
Copyright (c) 1993-2008 by Florian Klaempfl
tiUtils.pas(2658,18) Hint: Local variable "LRHPChar" does not seem to be initialized
tiUtils.pas(2663,17) Hint: Converting the operands to "Int64" before doing the add could prevent overflow errors.
tiUtils.pas(2919,3) Hint: Local const "subdomain_chars" is not used
tiUtils.pas(3619,34) Hint: Local variable "TZI" does not seem to be initialized
tiUtils.pas(270,40) Hint: Parameter "AAppDataSubDir" not used
tiUtils.pas(271,43) Hint: Parameter "AAppDataSubDir" not used
tiUtils.pas(4036,18) Hint: Parameter "Item1" not used
tiUtils.pas(13,3) Hint: Unit "types" not used in tiUtils
tiUtils.pas(628,3) Hint: Unit "process" not used in tiUtils
tiStreams.pas(391,27) Hint: Conversion between ordinals and pointers is not portable
tiStreams.pas(411,26) Hint: Conversion between ordinals and pointers is not portable
tiStreams.pas(433,44) Hint: Local variable "InputBuffer" does not seem to be initialized
tiStreams.pas(458,45) Hint: Local variable "InputBuffer" does not seem to be initialized
tiStreams.pas(545,37) Hint: Conversion between ordinals and pointers is not portable
tiStreams.pas(583,14) Hint: Conversion between ordinals and pointers is not portable
tiStreams.pas(583,34) Hint: Conversion between ordinals and pointers is not portable
tiRTTI.pas(464,14) Error: Identifier not found "tkUString"
tiRTTI.pas(464,14) Error: Constant Expression expected
tiRTTI.pas(465,12) Error: Identifier not found "tkUChar"
tiRTTI.pas(465,12) Error: Constant Expression expected
tiRTTI.pas(465,12) Error: duplicate case label
tiRTTI.pas(552) Fatal: There were 5 errors compiling module, stopping

fredycc

  • Sr. Member
  • ****
  • Posts: 264
Re: tiOPF Error while try to compile
« Reply #2 on: December 16, 2009, 05:10:33 pm »
I found the error, in the tiRTTI.pas file; you need to comment tle line 464 & 465 to compile the lpk file.  :)

    //    {$IF FPC_FULLVERSION>=20301}  // > FPC 2.3.1 only
-> //    tkUString,
-> //    tkUChar,
    //    {$ENDIF} 

Rogerther

  • Newbie
  • Posts: 6
Re: tiOPF Error while try to compile
« Reply #3 on: May 15, 2010, 09:06:56 pm »
Hello all.

I'm new to pascal and lazarus. I'm trying to compile tiOPF with this tutorial: http://wiki.lazarus.freepascal.org/tiOPF

At this line it state:
Open the package tiOPF.lpk with Component/Open package file (.lpk) located in the Source\Compilers\FPC directory . I go to the menu Package/Open package file and select tiOPF.lpk file. I select the compile button and receive the following error:Unable to find file tiRTTI.pas. I have downloaded from the repository twice. Also reinstalled Lazarus and even installed on a fresh computer. Always the same error.

I'm using windows (XP) version 0.9.28.2beta and FPC 2.2.4

Thanks all for any help.

tiUtils.pas(2665,18) Hint: Local variable "LRHPChar" does not seem to be initialized
tiUtils.pas(2670,17) Hint: Converting the operands to "Int64" before doing the add could prevent overflow errors.
tiUtils.pas(2926,3) Hint: Local const "subdomain_chars" is not used
tiUtils.pas(3626,34) Hint: Local variable "TZI" does not seem to be initialized
tiUtils.pas(272,40) Hint: Parameter "AAppDataSubDir" not used
tiUtils.pas(273,43) Hint: Parameter "AAppDataSubDir" not used
tiUtils.pas(4043,18) Hint: Parameter "Item1" not used
tiUtils.pas(13,3) Hint: Unit "types" not used in tiUtils
tiUtils.pas(630,3) Hint: Unit "process" not used in tiUtils
tiCompress.pas(103,45) Hint: Function result variable does not seem to be initialized
tiCompress.pas(115,47) Hint: Function result variable does not seem to be initialized
tiStreams.pas(391,27) Hint: Conversion between ordinals and pointers is not portable
tiStreams.pas(411,26) Hint: Conversion between ordinals and pointers is not portable
tiStreams.pas(433,44) Hint: Local variable "InputBuffer" does not seem to be initialized
tiStreams.pas(458,45) Hint: Local variable "InputBuffer" does not seem to be initialized
tiStreams.pas(545,37) Hint: Conversion between ordinals and pointers is not portable
tiStreams.pas(583,14) Hint: Conversion between ordinals and pointers is not portable
tiStreams.pas(583,34) Hint: Conversion between ordinals and pointers is not portable
tiRTTI.pas(33,27) Error: Identifier not found "tkUChar"
tiRTTI.pas(39,49) Error: Identifier not found "tkUString"
tiRTTI.pas(99,1) Fatal: There were 2 errors compiling module, stopping

Rogerther

  • Newbie
  • Posts: 6
Re: tiOPF Error while try to compile
« Reply #4 on: May 16, 2010, 12:17:52 pm »
Can anyone try to compile this just to see if it is my problem or a generic problem.

Thanks in advance.

Rogerther

  • Newbie
  • Posts: 6
Re: tiOPF Error while try to compile
« Reply #5 on: May 16, 2010, 02:05:24 pm »
Installed fpc 2.4.0 and it's working now : )

 

TinyPortal © 2005-2018