Page 1 of 1

Compiling strikes

Posted: Wed Mar 29, 2017 4:00 pm
by 17579957
Hi,

since a couple of days my compiler can not compile any projects with charts.

OS: Win 8.1 Compiler: Delphi XE5 Enterprise; Tee Version EXE TeeChartVCLFMXStandardSOURCE-2017.20.exe

Message is: [dcc32 Fehler] TeCanvas.pas(5692): E2010 Inkompatible Typen: 'VCLTee.TeCanvas.TTeeCanvas' und 'TeCanvas.TTeeCanvas'

Code: Select all

Procedure TTeeCanvas.TextOut(const X,Y:TCoordinate; const Text:String; AllowHtml:Boolean);
begin
  if AllowHtml then
     HtmlTextOut(Self,{$IFDEF FMX}Round{$ENDIF}(X),{$IFDEF FMX}Round{$ENDIF}(Y),Text)
  else
     TextOut(X,Y,Text);
end;
The solution "Sounds as a problem with the prefixes. Have you tried adding "VCLTee" to the "unit scope names"?" did not work...

Please Help!

Frank

Re: Compiling strikes

Posted: Thu Mar 30, 2017 9:57 am
by yeray
Hello Frank,
FHI wrote:The solution "Sounds as a problem with the prefixes. Have you tried adding "VCLTee" to the "unit scope names"?" did not work...
Check the paths are correctly set.

Re: Compiling strikes

Posted: Thu Mar 30, 2017 10:16 am
by 17579957
Hi,

the path settings are OK.

In the meantime I have tested something. The problem only occurs when I enter QRTee under units or use the QRChart component. If I only use the TChart component, the error does not occur.

Greetings from Germany,

Frank

Re: Compiling strikes

Posted: Fri Mar 31, 2017 8:58 am
by yeray
Hi Frank,
FHI wrote:the path settings are OK.

In the meantime I have tested something. The problem only occurs when I enter QRTee under units or use the QRChart component. If I only use the TChart component, the error does not occur.
Then the path where you have QRTee.dcu should also be in the "Library path".
I still suspect there must be something wrong in the project/IDE paths.

Re: Compiling strikes

Posted: Fri Mar 31, 2017 10:34 am
by 17579957
Hello,

After I had set in the unit QRTee.pas in the uses section VCLTee, everything works well.

The question for me is now: Why is not the standard, which is thus delivered with.

With kind regards form Germany

Frank

Re: Compiling strikes

Posted: Mon Apr 03, 2017 8:03 am
by yeray
Hi Frank,

So adding VCLTee to the "unit scope names" should also work fine.
Anyway, I'm glad to hear you found how to solve it.