Page 1 of 1

Compile fail for XE6

Posted: Tue May 13, 2014 11:52 pm
by 16568940
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.
--------------------------------------------

Re: Compile fail for XE6

Posted: Wed May 14, 2014 1:01 am
by 16568940
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?

Re: Compile fail for XE6

Posted: Thu May 15, 2014 1:37 pm
by yeray
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.

Re: Compile fail for XE6

Posted: Thu May 15, 2014 10:05 pm
by 16568940
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.

Re: Compile fail for XE6

Posted: Thu May 15, 2014 10:19 pm
by 16568940
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

Re: Compile fail for XE6

Posted: Thu May 15, 2014 10:25 pm
by 16568940
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.
--------------------------------------------

Re: Compile fail for XE6

Posted: Thu May 15, 2014 10:40 pm
by 16568940
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).

Re: Compile fail for XE6

Posted: Thu May 15, 2014 10:57 pm
by 16568940
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 :-)

Re: Compile fail for XE6

Posted: Thu May 15, 2014 11:31 pm
by 16568940
success, yay!

Re: Compile fail for XE6

Posted: Fri May 16, 2014 6:56 am
by yeray
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.