iOS compilation error

TeeChart FireMonkey (Windows,OSX,iOS & Android) for Embarcadero RAD Studio, Delphi and C++ Builder (XE5+)
Post Reply
X-Ray
Newbie
Newbie
Posts: 49
Joined: Fri Jan 27, 2012 12:00 am

iOS compilation error

Post by X-Ray » Tue Jun 19, 2012 11:47 am

Hello,

I just downloaded and Installed the latest TChart version (TeeChart 2012.06.120613 VCL/FMX release).
Then I copied the content of the FMI folder to the fmi folder on my MAC, overwritting the previous TChart sources (which were working).
After that I tried to compile my prohject again and I get the following compilation errors (starting just before the first error):

FMX_ListBox.pas(1468,3) Note: Local variable "Allow" not used
FMX_ListBox.pas(244,5) Note: Private field "TCustomComboBox.FPlacement" is never used
Assembling (pipe) /Users/thomasdegen/Library/Developer/Xcode/DerivedData/iHighScore-grimquailgfpngeacooqsyxudquv/Build/Products/Release-iphonesimulator/iHighScore.app/FMX_ListBox.s
FMXTee_Canvas.pas(626,21) Error: Identifier not found "TAlphaColor"
FMXTee_Canvas.pas(626,21) Error: Error in type definition
FMXTee_Canvas.pas(656,30) Error: Type "TColor" is not completely defined
FMXTee_Canvas.pas(658,43) Error: Type "TColor" is not completely defined
FMXTee_Canvas.pas(670,29) Error: Type "TColor" is not completely defined
FMXTee_Canvas.pas(670,29) Error: This kind of property can't be published
FMXTee_Canvas.pas(670,66) Error: Property can't have a default value
FMXTee_Canvas.pas(670,78) Error: Identifier not found "TAlphaColors"
FMXTee_Canvas.pas(682,30) Error: Illegal expression
FMXTee_Canvas.pas(805,23) Error: This kind of property can't be published
FMXTee_Canvas.pas(805,43) Error: Property can't have a default value
FMXTee_Canvas.pas(805,55) Error: Identifier not found "TAlphaColors"
FMXTee_Canvas.pas(813,23) Error: This kind of property can't be published
FMXTee_Canvas.pas(813,43) Error: Property can't have a default value
FMXTee_Canvas.pas(822,23) Error: This kind of property can't be published
FMXTee_Canvas.pas(822,43) Error: Property can't have a default value
FMXTee_Canvas.pas(822,55) Error: Identifier not found "TAlphaColors"
FMXTee_Canvas.pas(830,21) Error: Illegal expression
FMXTee_Canvas.pas(836,49) Error: Type "TColor" is not completely defined
FMXTee_Canvas.pas(869,34) Error: Type "TColor" is not completely defined
FMXTee_Canvas.pas(869,34) Error: This kind of property can't be published
FMXTee_Canvas.pas(869,77) Error: Property can't have a default value
FMXTee_Canvas.pas(870,40) Error: Identifier not found "clDefault"
FMXTee_Canvas.pas(870,40) Error: The default value of a property must be constant
FMXTee_Canvas.pas(1008,24) Error: Illegal expression
FMXTee_Canvas.pas(1035,39) Error: Type "TColor" is not completely defined
FMXTee_Canvas.pas(1050,25) Error: Illegal expression
FMXTee_Canvas.pas(1055,60) Error: Type "TColor" is not completely defined
FMXTee_Canvas.pas(1071,30) Error: Type "TColor" is not completely defined
FMXTee_Canvas.pas(1071,30) Error: This kind of property can't be published
FMXTee_Canvas.pas(1104,22) Error: Illegal expression
FMXTee_Canvas.pas(1105,22) Error: Illegal expression
FMXTee_Canvas.pas(1108,22) Error: Illegal expression
FMXTee_Canvas.pas(1122,35) Error: Type "TColor" is not completely defined
FMXTee_Canvas.pas(1139,54) Error: Type "TColor" is not completely defined
FMXTee_Canvas.pas(1139,74) Error: Type "TColor" is not completely defined
FMXTee_Canvas.pas(1141,42) Error: Type "TColor" is not completely defined
FMXTee_Canvas.pas(1143,42) Error: Type "TColor" is not completely defined
FMXTee_Canvas.pas(1146,44) Error: Type "TColor" is not completely defined
FMXTee_Canvas.pas(1156,24) Error: Illegal expression
FMXTee_Canvas.pas(1157,24) Error: Illegal expression
FMXTee_Canvas.pas(1158,24) Error: Illegal expression
FMXTee_Canvas.pas(1185,33) Error: Type "TColor" is not completely defined
FMXTee_Canvas.pas(1186,33) Error: Type "TColor" is not completely defined
FMXTee_Canvas.pas(1189,35) Error: Type "TColor" is not completely defined
FMXTee_Canvas.pas(1202,25) Error: This kind of property can't be published
FMXTee_Canvas.pas(1203,25) Error: This kind of property can't be published
FMXTee_Canvas.pas(1206,27) Error: This kind of property can't be published
FMXTee_Canvas.pas(1217,25) Error: This kind of property can't be published
FMXTee_Canvas.pas(1218,25) Error: This kind of property can't be published
FMXTee_Canvas.pas(1218,25) Fatal: There were 50 errors compiling module, stopping

So the first compilation error is: FMXTee_Canvas.pas(626,21) Error: Identifier not found "TAlphaColor"

Did nobody test this before the release or do I miss something?
What should I do to get this compiled?

best regards,

X-Ray

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: iOS compilation error

Post by Sandra » Fri Jun 22, 2012 9:20 am

Hello X-Ray,

Ok. You are right. We find in top of page of TeCanvas.pas(FMXTee_Canvas.pas) there is an error that breaks the code and do it doesn't complie when you use FreePascal in Mac + FMI:

Code: Select all

{$IFDEF D17}
     System.UIConsts,
     {$ENDIF}
Lines need change to next:

Code: Select all

     {$IFDEF D16}
     System.UIConsts,
     {$ENDIF}
We will fix it to upcoming maintenace release of TeeChartVCL.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

X-Ray
Newbie
Newbie
Posts: 49
Joined: Fri Jan 27, 2012 12:00 am

Re: iOS compilation error

Post by X-Ray » Mon Jun 25, 2012 7:02 am

Hello Sandra,

I just changed the sources in unit "FMXTee_Canvas.pas", starting at line number 81 from:

{$IFDEF D17}
{System.}UIConsts,
{$ENDIF}

to

{$IFDEF D16}
{System.}UIConsts,
{$ENDIF}

But I still get the same compilation errors.
How to get this compiled, are there more changes?

best regards,

X-Ray

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: iOS compilation error

Post by Sandra » Mon Jun 25, 2012 11:20 am

Hello X-Ray,

Thanks for information. We are investigating to find a solution for this problem and we will try to fix it asap.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

X-Ray
Newbie
Newbie
Posts: 49
Joined: Fri Jan 27, 2012 12:00 am

Re: iOS compilation error

Post by X-Ray » Mon Jul 02, 2012 1:24 pm

Hello Sandra,

do you have any news concerning a working/compiling version for iOS?

best regards,

X-Ray

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: iOS compilation error

Post by Sandra » Thu Jul 05, 2012 7:55 am

Hello X-Ray,

Sorry for the delay. We have made for you, an installer, where the problem is fixed. I have sent you an email with information.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

rlebbar
Newbie
Newbie
Posts: 18
Joined: Fri Mar 02, 2012 12:00 am

Re: iOS compilation error

Post by rlebbar » Mon Jul 23, 2012 5:05 pm

Hi Sandra

I just updated delphi xe2 (4) to (4H1)
and Installed for the first time the latest version of TeeChart Pro.
Project that used to work do not work any more with the same error as above.
Please how can i get this installer where the problem is fixed ?
it is urgent ! Thanks.
Best regards
rlebbar

Yeray
Site Admin
Site Admin
Posts: 9622
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: iOS compilation error

Post by Yeray » Thu Jul 26, 2012 12:18 pm

Hi rlebbar,

I've just sent it to the mail account you have registered in this forum.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply