Mac Ios compilation

TeeChart FireMonkey (Windows,OSX,iOS & Android) for Embarcadero RAD Studio, Delphi and C++ Builder (XE5+)
rlebbar
Newbie
Newbie
Posts: 18
Joined: Fri Mar 02, 2012 12:00 am

Mac Ios compilation

Post by rlebbar » Tue Mar 06, 2012 11:37 am

Hello,
I am a new user of "TeeChart Pro 2011" (Full Source Code).
I did not find the fmxtee_*.pas files to compile my project for Iphone
I installed TeeChart using the binary file.
I did not recompile the source files
Thanks for your help

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Mac Ios compilation

Post by Narcís » Wed Mar 07, 2012 2:19 pm

Hi rlebbar,

You need to compile the full sources for using TeeChart 2011 for iOS. You can use the Recompile tool provided with the source code installer. It will generate necessary units.
Best Regards,
Narcís Calvet / 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: Mac Ios compilation

Post by rlebbar » Thu Mar 08, 2012 5:37 pm

Hi Narcis,
I used the Recompile tool provided with the source code installer, and it generated the fmxtee_*.* files (FMI folder).
But once in the Mac the build process failed with a Fatal: Internal error 200602041.

Here are the last 10 lines generated in the build process.
FMXTee_Canvas.pas(8985,5) Note: Local variable "Center" is assigned but never used
FMXTee_Canvas.pas(8986,5) Note: Local variable "Radius" is assigned but never used
FMXTee_Canvas.pas(10807,7) Note: Local variable "P0" is assigned but never used
FMXTee_Canvas.pas(2654,16) Hint: Local type "PPoints" is not used
FMXTee_Canvas.pas(13469,3) Note: Local variable "AlphaBlendChecked" not used
FMXTee_Canvas.pas(13470,3) Note: Local variable "CanUseWinAlphaBlend" not used
FMXTee_Canvas.pas(14328,15) Hint: Local type "PColorRGB" is not used
FMXTee_Canvas.pas(14333,14) Hint: Local type "PRGBList" is not used
FMXTee_Canvas.pas(15200,5) Note: Private field "TFilerAccess.FRootAncestor" is never used
FMXTee_Canvas.pas(16044,1) Fatal: Internal error 200602041
Fatal: Compilation aborted

Can i have a copy of your FMI folder so that i can finally generate my first example on Iphone ?
Thank you

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

Re: Mac Ios compilation

Post by rlebbar » Mon Mar 12, 2012 11:07 am

Hi Narcis,

12 Days after ordering the TeeChart Pro v2011 components (with source code)
my first IPhone test example does not even compile !

I was expecting at least ONE working IPhone example that can be easily compiled and tested on the real device.
Is it possible to ask for a very basic sample with all the necessary source files ?

Please Help, it is urgent !
Thanks

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Mac Ios compilation

Post by Narcís » Mon Mar 12, 2012 11:31 am

Hi rlebbar,

Apologies for the long delay. I just send you an email with my FMI folder, our current TeeChart sources and some additional instructions. Could you please check if this solves the problem at your end? In the meantime I also asked my colleagues to arrange an iOS example for you.

Thanks in advance.
Best Regards,
Narcís Calvet / 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: Mac Ios compilation

Post by rlebbar » Mon Mar 12, 2012 3:04 pm

Hi Nircis,
I just downloaded your FMI folder and updated mine "/Developer/Embarcadero/fmi"
Then i started a new ios project with zero line of code, just a Tchart component
and generated the xcode project successfully.
Once in the Mac I tried to build the project using your fmi files.
This is what i get (The last 10 Lines);
.....
FMXTee_Canvas.pas(9020,5) Note: Local variable "Center" is assigned but never used
FMXTee_Canvas.pas(9021,5) Note: Local variable "Radius" is assigned but never used
FMXTee_Canvas.pas(10844,7) Note: Local variable "P0" is assigned but never used
FMXTee_Canvas.pas(2666,16) Hint: Local type "PPoints" is not used
FMXTee_Canvas.pas(13506,3) Note: Local variable "AlphaBlendChecked" not used
FMXTee_Canvas.pas(13507,3) Note: Local variable "CanUseWinAlphaBlend" not used
FMXTee_Canvas.pas(14379,15) Hint: Local type "PColorRGB" is not used
FMXTee_Canvas.pas(14384,14) Hint: Local type "PRGBList" is not used
FMXTee_Canvas.pas(15251,5) Note: Private field "TFilerAccess.FRootAncestor" is never used
FMXTee_Canvas.pas(16095,1) Fatal: Internal error 200602041
Fatal: Compilation aborted
You will notice that i have the same internal error as before even if the FMXTee_Canvas.pas file has heavily changed
Please do your best to get me out of a real problem with a late due work !

Thanks

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Mac Ios compilation

Post by Narcís » Mon Mar 12, 2012 4:30 pm

Hello,

Just sent you an example project which works fine for me here with the iOS emulator. Can you please check if it works fine for you? You may need to change search paths to fit your TeeChart installation.

Thanks in advance.
Best Regards,
Narcís Calvet / 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: Mac Ios compilation

Post by rlebbar » Mon Mar 12, 2012 5:32 pm

Hi Narcis,

Sorry to insist, but i did not receive the project example yet.

Thanks
r.lebbar

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Mac Ios compilation

Post by Narcís » Mon Mar 12, 2012 7:01 pm

Hello,

I used the same email with which you are registered in this forum board and I used to send you the FMI folder before. I resent the email again. Did you receive it now? Actually, it's quite small, I attach it here as well.

Thanks in advance.
Attachments
iOS_Demo.zip
(320.19 KiB) Downloaded 1763 times
Best Regards,
Narcís Calvet / 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: Mac Ios compilation

Post by rlebbar » Mon Mar 12, 2012 7:16 pm

Hi Narcis,

Sorry but i did not receive it.
Yes you may send it to rlebbar@gmail.com

Thank you

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

Re: Mac Ios compilation

Post by rlebbar » Mon Mar 12, 2012 7:44 pm

Hi Narcis,

I downloaded ios_demo.zip
I will test it and i will get back to you in a moment.

Thanks

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Mac Ios compilation

Post by Narcís » Mon Mar 12, 2012 7:47 pm

Hello,

Ok, I sent it to the gmail address now. I also had edited my previous reply and attached it to my previous answer. Hope you get it now.
Best Regards,
Narcís Calvet / 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: Mac Ios compilation

Post by X-Ray » Tue Mar 13, 2012 7:21 am

Hello,

could please somebody share the knowledge where to put the FMI folder with the TChart PRO iOS sources on the MAC to get this example project compiling
under Xcode?

best regards,

X-Ray

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

Re: Mac Ios compilation

Post by rlebbar » Tue Mar 13, 2012 2:43 pm

Hi Narcis,

Finally i have a simple workaround, and it works !
I started with your XCode and FMI 2012. It did not compile for me and generated a different error from what i had.
Then i compiled it in Delphi XE2 U3 generated the XCode and got the same error as before (Internal error 200602041)
Then i changed the target from Iphone to ios-device Here it compiled and generated the application.
Then i went back to your XCode (Probably generated by Delphi XE2 U4) and compiled it with FMI 2011.
It did compile correctly for both targets.

My first impressions :
Great but a little slow !. I am trying to find the best way to load data.
Does BeginUpdate .. EndUpdate improve the load time ?

Thank you Narcis.

PS. : X-RAY, You should put your files in "/Developer/Embarcadero/fmi"

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Mac Ios compilation

Post by Narcís » Tue Mar 13, 2012 3:25 pm

Hi rlebbar,
Finally i have a simple workaround, and it works !
Excellent, thanks for your feedback!
My first impressions :
Great but a little slow !. I am trying to find the best way to load data.
Does BeginUpdate .. EndUpdate improve the load time ?
No, here you can find how BeginUpdate works. For optimizing TeeChart performance I recommend you to read the Real-time Charting article here.
Thank you Narcis.
You're very welcome!
Best Regards,
Narcís Calvet / 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

Post Reply