Page 1 of 1

RAD Studio 10.1 Berlin

Posted: Mon Nov 07, 2016 8:23 am
by 16579445
Hi

New computer - I have installed TeeChartVCLFMXSOURCE-2016.19 into RAD Studio 10.1 Berlin and everything has been working OK all day.

I changed a form which does not have any references to TeeChart and then re compiled and was surprised to get the following error

Code: Select all

[dcc32 Warning] Opencal.pas(46): W1005 Unit 'Vcl.FileCtrl' is specific to a platform
[dcc32 Error] TeCanvas.pas(5672): E2010 Incompatible types: 'VCLTee.TeCanvas.TTeeCanvas' and 'TeCanvas.TTeeCanvas'
[dcc32 Error] TeCanvas.pas(8468): E2010 Incompatible types: 'TTeeCanvas' and 'TTeeCanvas3D'
[dcc32 Fatal Error] TeeProcs.pas(662): F2063 Could not compile used unit 'TeCanvas.pas'
TeCanvas opened up at the appropriate line (5672) but I noticed other errors on line 148 which indicated that the unit $IFDEF D16 TRectF=System.Types.TRectF; was being seen rather than the ELSE

Code: Select all

{$IFDEF D16}
  TRectF=System.Types.TRectF;
{$ELSE}
  TRectF=record
    Left,
    Top,
    Right,
    Bottom : Single;
  end;
{$ENDIF}
Assistance gratefully appreciated to resolve this

Many Thanks

Philip L Jackson

Re: RAD Studio 10.1 Berlin

Posted: Tue Nov 08, 2016 9:39 am
by yeray
Hello,
philipljackson wrote:I changed a form which does not have any references to TeeChart and then re compiled and was surprised to get the following error

Code: Select all

    [dcc32 Warning] Opencal.pas(46): W1005 Unit 'Vcl.FileCtrl' is specific to a platform
    [dcc32 Error] TeCanvas.pas(5672): E2010 Incompatible types: 'VCLTee.TeCanvas.TTeeCanvas' and 'TeCanvas.TTeeCanvas'
    [dcc32 Error] TeCanvas.pas(8468): E2010 Incompatible types: 'TTeeCanvas' and 'TTeeCanvas3D'
    [dcc32 Fatal Error] TeeProcs.pas(662): F2063 Could not compile used unit 'TeCanvas.pas'
Sounds as if the compiler found the non-prefixed (ie TeCanvas.pas) units before finding the prefixed units (ie VCLTee.TeCanvas.pas).
Please check:
- The "VCLTee" prefix is present in the "unit scope names".
- The correct references are present in the Library paths.
philipljackson wrote:TeCanvas opened up at the appropriate line (5672) but I noticed other errors on line 148 which indicated that the unit $IFDEF D16 TRectF=System.Types.TRectF; was being seen rather than the ELSE
This is normal. "D16" means "for RAD XE2 and above".

Re: RAD Studio 10.1 Berlin

Posted: Sun Nov 13, 2016 4:02 am
by 16579445
Hi

Besides the regular path statement, for some reason there were 2 additional entries in the library path

$(TEELIBPATH)
$(TEESRCPATH)

Removing the source path appears to have resolved the issue.

Thanks for your advice.

Philip L Jackson

Re: RAD Studio 10.1 Berlin

Posted: Mon Nov 14, 2016 9:29 am
by yeray
Hello,
philipljackson wrote:Removing the source path appears to have resolved the issue.
Thanks for clarifying. We'll check it.