Compile fail for XE6

TeeChart FireMonkey (Windows,OSX,iOS & Android) for Embarcadero RAD Studio, Delphi and C++ Builder (XE5+)
Post Reply
jed
Newbie
Newbie
Posts: 9
Joined: Wed Apr 16, 2014 12:00 am

Compile fail for XE6

Post by jed » Tue May 13, 2014 11:52 pm

Trying to build the new version for XE6 I get this error:

I downloaded the source and ran TeeCompile

================================================

FMXTee920

Cannot recompile Delphi package: FMXTee920.dpk
Embarcadero Delphi for Win32 compiler version 27.0
Copyright (c) 1983,2014 Embarcadero Technologies, Inc.
FMXTee.Chart.pas(903) Error: E2037 Declaration of 'DragOver' differs from previous declaration
FMXTee.Chart.pas(3088) Error: E2008 Incompatible types
FMXTee.Chart3D.pas(515) Fatal: F2063 Could not compile used unit 'FMXTee.Chart.pas'
EXCEPTION:
Compilation aborted.
--------------------------------------------

jed
Newbie
Newbie
Posts: 9
Joined: Wed Apr 16, 2014 12:00 am

Re: Compile fail for XE6

Post by jed » Wed May 14, 2014 1:01 am

How do I get TeeRecompile to compile in the changed unit? It is overwriting the file each time I fix it?

What is the procedure for applying changes to the source code? Do I need to install manually?

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

Re: Compile fail for XE6

Post by Yeray » Thu May 15, 2014 1:37 pm

Hello,
jed wrote:Trying to build the new version for XE6 I get this error:

I downloaded the source and ran TeeCompile

================================================

FMXTee920

Cannot recompile Delphi package: FMXTee920.dpk
Embarcadero Delphi for Win32 compiler version 27.0
Copyright (c) 1983,2014 Embarcadero Technologies, Inc.
FMXTee.Chart.pas(903) Error: E2037 Declaration of 'DragOver' differs from previous declaration
FMXTee.Chart.pas(3088) Error: E2008 Incompatible types
FMXTee.Chart3D.pas(515) Fatal: F2063 Could not compile used unit 'FMXTee.Chart.pas'
EXCEPTION:
Compilation aborted.
--------------------------------------------
From your second message I understand you modified the sources, do you get this error without modifying the sources?
jed wrote:How do I get TeeRecompile to compile in the changed unit? It is overwriting the file each time I fix it?

What is the procedure for applying changes to the source code? Do I need to install manually?
You should modify the sources in the \Sources folder, not in \Sources\VCL or \Sources\FMX. The files in these two folders are regenerated by TeeRecompile from the files in the \Sources folder.
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

jed
Newbie
Newbie
Posts: 9
Joined: Wed Apr 16, 2014 12:00 am

Re: Compile fail for XE6

Post by jed » Thu May 15, 2014 10:05 pm

I didn't modify the sources until after it failed to install.

How can I be the only one with XE6 seeing this bug. It is very obvious in the source code why it fails.


I tried to modify the source code after I got no response.

jed
Newbie
Newbie
Posts: 9
Joined: Wed Apr 16, 2014 12:00 am

Re: Compile fail for XE6

Post by jed » Thu May 15, 2014 10:19 pm

Yeray wrote: You should modify the sources in the \Sources folder, not in \Sources\VCL or \Sources\FMX. The files in these two folders are regenerated by TeeRecompile from the files in the \Sources folder.
Hi,

There is no FMXTee.Chart.pas file in the sources file. I am guess that the TeeRecompile generates this file from chart.pas?

I think it is misleading saying that full source is delivered when it must be preprocessed before it will install.

This is actually the issue I am attempting to address:

Report No: 124550 (RAID: 50945) Status: Open
[MacOS] Including FMX source when using TChart fails to build under OSX
http://qc.embarcadero.com/wc/qcmain.aspx?d=124550


This is using the TChart Lite or whatever came with Delphi XE6 and I bought the full source PRO version just to address this issue. Because there are about 100 bugs in FMX that need to be fixed with source patches for it to be usable.

I will make the change in the chart.pas unit see if teerecompile then works. At least this way I can distribute the fixed version of the source to my team for use.

thanks,
Jeremy

jed
Newbie
Newbie
Posts: 9
Joined: Wed Apr 16, 2014 12:00 am

Re: Compile fail for XE6

Post by jed » Thu May 15, 2014 10:25 pm

I fixed that issue and now I get this, investigating...


FMXTeePro920

Cannot recompile Delphi package: FMXTeePro920.dpk
Embarcadero Delphi for Win32 compiler version 27.0
Copyright (c) 1983,2014 Embarcadero Technologies, Inc.
FMXTee.Tools.SubChart.pas(369) Error: E2033 Types of actual and formal var parameters must be identical
FMXTee.Tools.GalleryDemos.pas(605) Fatal: F2063 Could not compile used unit 'FMXTee.Tools.SubChart.pas'
EXCEPTION:
Compilation aborted.
--------------------------------------------

jed
Newbie
Newbie
Posts: 9
Joined: Wed Apr 16, 2014 12:00 am

Re: Compile fail for XE6

Post by jed » Thu May 15, 2014 10:40 pm

Well since that unit doesn't have a line 369, I cannot spend anymore time on this.

What is your suggestion for getting this working in XE6.

All I did was download the source version, extract it to my folder location and ran TeeCompile.

I will extract the source again into a different folder and see if something is different (between the two locations).

jed
Newbie
Newbie
Posts: 9
Joined: Wed Apr 16, 2014 12:00 am

Re: Compile fail for XE6

Post by jed » Thu May 15, 2014 10:57 pm

I have just downloaded the source setup again and the contents (once installed) is quite different to what was in my system.

I am a little concerned by this (I have kept all of the downloaded installers). Running the TeeRecompile now with my fingers and toes crossed :-)

jed
Newbie
Newbie
Posts: 9
Joined: Wed Apr 16, 2014 12:00 am

Re: Compile fail for XE6

Post by jed » Thu May 15, 2014 11:31 pm

success, yay!

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

Re: Compile fail for XE6

Post by Yeray » Fri May 16, 2014 6:56 am

Hello,

I'm sorry to hear you found troubles to install TeeChart SourceCode version. But I'm glad to hear you finally could do it!
Maybe it was a corrupt download or a previous beta version with some bug later corrected.
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