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

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
PRM
Newbie
Newbie
Posts: 2
Joined: Fri Aug 03, 2012 12:00 am

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

Post by PRM » Mon Dec 17, 2012 8:40 am

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

Yeray
Site Admin
Site Admin
Posts: 9602
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

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

Post by Yeray » Mon Dec 17, 2012 3:20 pm

Hi,

Check your IDE doesn't have references to old TeeChart installations in the packages list or in the library and search path lists.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

PRM
Newbie
Newbie
Posts: 2
Joined: Fri Aug 03, 2012 12:00 am

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

Post by PRM » Mon Dec 17, 2012 10:25 pm

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.

Post Reply