Page 1 of 1

Cannot build a VCL project for a 64-bit Windows Target

Posted: Mon Dec 17, 2012 8:40 am
by 16463156
I cannot build a VCL project using TeeChart for a 64-bit Windows Target. 32-bit Windows Target compilation is OK.

To simplify the problem, if I create a new VCL Forms application using Delphi XE3, add TChart and TeeCommander objects to Unit 1 and then build this project for a 64-bit Windows target I get the following error message:

[dcc64 Fatal Error] Unit1.pas(8): F2051 Unit VCLTee.TeeComma was compiled with a different version of VCLTee.Chart.TCustomChart

My 64-bit Windows Library path includes:

C:\Program Files (x86)\Steema Software\TeeChart 2012 for RAD XE3\Delphi17.win64\Lib

Re: Cannot build a VCL project for a 64-bit Windows Target

Posted: Mon Dec 17, 2012 3:20 pm
by yeray
Hi,

Check your IDE doesn't have references to old TeeChart installations in the packages list or in the library and search path lists.

Re: Cannot build a VCL project for a 64-bit Windows Target

Posted: Mon Dec 17, 2012 10:25 pm
by 16463156
Greetings Yeray,

Thank you for your reply. On further investigation I found that the win64 TeeChart FMX and VCL files provided with RAD Studio had not been moved to the Backup_TeeChart folder. The win32 files had been moved to backup. Once I removed these files from the RAD Studio\lib\win64 I could compile the program correctly for a 64-bit Windows Target.

Best regards,

Peter.