Using TeeChart Pro v2012/16 VCL with sources. Quickreport V6. Win10. Delphi 10.1 Berlin Arcitect, update2.
When trying to compile a project using TeeChart, and Quickreport i get a bunch of errors (Win32):
TeCanvas.pas(5692): E2010 Incompatible types: 'VCLTee.TeCanvas.TTeeCanvas' and 'TeCanvas.TTeeCanvas'
TeCanvas.pas(8497): E2010 Incompatible types: 'TTeeCanvas' and 'TTeeCanvas3D'
.... and the list continues
Please help
Incompatible types: 'VCLTee.TeCanvas.TTeeCanvas' and 'TeCanv
Re: Incompatible types: 'VCLTee.TeCanvas.TTeeCanvas' and 'TeCanv
Hello,
Check the paths and the unit scope names.
If you still find problems with it, please try to reproduce the problem in a new simple project without QuickReport.
Check the paths and the unit scope names.
If you still find problems with it, please try to reproduce the problem in a new simple project without QuickReport.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Incompatible types: 'VCLTee.TeCanvas.TTeeCanvas' and 'TeCanv
Hi,
we have the same problem here. We installed the latest version of TeeChartVCLFMXSOURCE-2016.19.exe, using Delphi XE2. After installation (including the TeeRecompile) we can use TChart without any problems in a new project. BUT if we exclude these paths
C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2016.19\Compiled\Delphi16.win32\Lib
C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2016.19\TeeTree\Compiled\Delphi16.win32\Lib
and exchange them with this paths:
C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2016.19\Source
C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2016.19\Source\VCL
from the Delphi / options/ Library / Library Path we get the following error:
[DCC Error] VCLTee.TeCanvas.pas(5692): E2010 Incompatible types: 'TeCanvas.TTeeCanvas' and 'VCLTee.TeCanvas.TTeeCanvas'
[DCC Error] VCLTee.TeCanvas.pas(8496): E2010 Incompatible types: 'TTeeCanvas' and 'TTeeCanvas3D'
[DCC Fatal Error] TeeFilters.pas(618): F2063 Could not compile used unit 'VCLTee.TeCanvas.pas'
Failed
Our test project is simply a new VCL application with just one TChart component on the form.
We would like to use the Sources for some small modifications, but we can't really use them.
You said something about paths and unit scope names. Could you explain this a litte more in detail? Anything else we can do to get compilation from sources running?
Any help appreciated.
Greetings
Christian
we have the same problem here. We installed the latest version of TeeChartVCLFMXSOURCE-2016.19.exe, using Delphi XE2. After installation (including the TeeRecompile) we can use TChart without any problems in a new project. BUT if we exclude these paths
C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2016.19\Compiled\Delphi16.win32\Lib
C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2016.19\TeeTree\Compiled\Delphi16.win32\Lib
and exchange them with this paths:
C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2016.19\Source
C:\Program Files (x86)\Steema Software\Steema TeeChart Pro VCL FMX Source Code 2016.19\Source\VCL
from the Delphi / options/ Library / Library Path we get the following error:
[DCC Error] VCLTee.TeCanvas.pas(5692): E2010 Incompatible types: 'TeCanvas.TTeeCanvas' and 'VCLTee.TeCanvas.TTeeCanvas'
[DCC Error] VCLTee.TeCanvas.pas(8496): E2010 Incompatible types: 'TTeeCanvas' and 'TTeeCanvas3D'
[DCC Fatal Error] TeeFilters.pas(618): F2063 Could not compile used unit 'VCLTee.TeCanvas.pas'
Failed
Our test project is simply a new VCL application with just one TChart component on the form.
We would like to use the Sources for some small modifications, but we can't really use them.
You said something about paths and unit scope names. Could you explain this a litte more in detail? Anything else we can do to get compilation from sources running?
Any help appreciated.
Greetings
Christian
Re: Incompatible types: 'VCLTee.TeCanvas.TTeeCanvas' and 'TeCanv
Hello,
Regarding the paths, take a look at the post here:
http://www.teechart.net/support/viewtop ... =3&t=15512
Regarding the unit scope names, just make sure the "VCLTee" prefix ("FMXTee" for FireMonkey projects) is present at "Project/Options/Delphi Compiler/Unit Scope Names".
Regarding the paths, take a look at the post here:
http://www.teechart.net/support/viewtop ... =3&t=15512
Regarding the unit scope names, just make sure the "VCLTee" prefix ("FMXTee" for FireMonkey projects) is present at "Project/Options/Delphi Compiler/Unit Scope Names".
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Incompatible types: 'VCLTee.TeCanvas.TTeeCanvas' and 'TeCanv
Thanks a lot. It works perfect now.