Page 1 of 1

How do I compile the TeeChart packages with Delphi Seattle?

Posted: Fri Nov 06, 2015 9:01 am
by 9337467
Hello,

we have bought the latest TeeChart version with source code and we are going to use it with Delphi 10 Seattle. After installing I've run TeeRecompile.exe, which compiles all TeeChart Delphi 10 Seattle packages successfully.
However, we want to compile all TeeChart Delphi 10 Seattle packages ourselves, but we can't. When I try to compile the first package, Tee923.dpk, I get the following eror:
[dcc32 Fatal Error] Tee923.dpk(56): F2613 Unit 'VCLTee.TeeConst.pas' not found.

By adding 'Vcl' to the search path of the package I can prevent this error, but now I get the following error:

[dcc32 Error] TeCanvas.pas(5539): E2010 Incompatible types: 'VCLTee.TeCanvas.TTeeCanvas' and 'TeCanvas.TTeeCanvas'
[dcc32 Error] TeCanvas.pas(8243): E2010 Incompatible types: 'TTeeCanvas' and 'TTeeCanvas3D'
[dcc32 Fatal Error] VCLTee.TeeProcs.pas(633): F2063 Could not compile used unit 'TeCanvas.pas'

I don't know how to correct this error, can you help?

Re: How do I compile the TeeChart packages with Delphi Seattle?

Posted: Fri Nov 06, 2015 11:22 am
by yeray
Hello,

Note the references between units are without prefixes. It seems your command isn't using VCLTee unit scope name / prefix.

Re: How do I compile the TeeChart packages with Delphi Seattle?

Posted: Fri Nov 06, 2015 4:35 pm
by 9337467
Thanks for the fast answer. I can compile now I've added 'VclTee' to the 'Unit scope names' property of the packages.