XE2 - Compiler Fatal Error

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Gregg
Newbie
Newbie
Posts: 11
Joined: Thu Oct 20, 2011 12:00 am
Location: Whatton-in-the-Vale, Nottinghamshire, UK

XE2 - Compiler Fatal Error

Post by Gregg » Sun Nov 06, 2011 10:45 pm

I receiving the following error:
'[DCC Fatal Error] pc_map.pas(28): F2051 Unit VCLTee.TeeSurfa was compiled with a different version of VCLTee.Chart.TCustomChart'

I thought it may have had something to do with FastReport, as I had a problem earlier with c:\windows\system32\frxTee16.bpl . However, I have now recompiled FastReport against TeeChart Pro 9 so that shouldn't be the problem.

Any ideas.

Kind regards


Gregg

Gregg
Newbie
Newbie
Posts: 11
Joined: Thu Oct 20, 2011 12:00 am
Location: Whatton-in-the-Vale, Nottinghamshire, UK

Re: XE2 - Compiler Fatal Error

Post by Gregg » Sun Nov 06, 2011 10:50 pm

Re: The previous post.
The problem only occurs when compiling 64 bit, so the problem may be related to FastReports as I didn't recompile the 64 bit version.

Sorry about that.

Regards

Gregg

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

Re: XE2 - Compiler Fatal Error

Post by Yeray » Mon Nov 07, 2011 9:47 am

Hello Gregg,
Gregg wrote:The problem only occurs when compiling 64 bit, so the problem may be related to FastReports as I didn't recompile the 64 bit version.
It would be great if you could confirm the cause of the problem was it, if possible.

Check also the library paths for all the platforms.
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

Gregg
Newbie
Newbie
Posts: 11
Joined: Thu Oct 20, 2011 12:00 am
Location: Whatton-in-the-Vale, Nottinghamshire, UK

Re: XE2 - Compiler Fatal Error

Post by Gregg » Mon Nov 07, 2011 12:52 pm

Hi Yeray,
I tried to compile the TeeMaps example. 32 bit no problem!

Compiling the 64 bit version produces the following error:
[DCC Fatal Error] UnitTestSHP.pas(22): F2051 Unit VCLTee.TeeSurfa was compiled with a different version of VCLTee.Chart.TCustomChart

I've disabled the FastReport packages - no difference.
The other third party packages I have installed are:
Devart - dbFusion (MySQL)
Devart - MySQL components
Raize Components Version 6
TMSSoftware Component Pack
DBISAM
ElevateDB
as far as I am aware none of the above use TeeChart.

Hope this helps

Kind regards


Gregg

Gregg
Newbie
Newbie
Posts: 11
Joined: Thu Oct 20, 2011 12:00 am
Location: Whatton-in-the-Vale, Nottinghamshire, UK

Re: XE2 - Compiler Fatal Error - Fixed

Post by Gregg » Mon Nov 07, 2011 2:49 pm

Hi,
It appears the error was related to FastReport. I moved the steema path ahead of the fastreport path in the Library paths and that appeared to solve the problem.

So it's fixed now, sorry to have bothered you.

Kind regards


Gregg

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

Re: XE2 - Compiler Fatal Error

Post by Yeray » Mon Nov 07, 2011 3:52 pm

Hi Gregg,

No worries. I'm glad to hear you solved it!
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

Post Reply