Page 1 of 1

XE2 - Compiler Fatal Error

Posted: Sun Nov 06, 2011 10:45 pm
by 16460503
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

Re: XE2 - Compiler Fatal Error

Posted: Sun Nov 06, 2011 10:50 pm
by 16460503
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

Re: XE2 - Compiler Fatal Error

Posted: Mon Nov 07, 2011 9:47 am
by yeray
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.

Re: XE2 - Compiler Fatal Error

Posted: Mon Nov 07, 2011 12:52 pm
by 16460503
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

Re: XE2 - Compiler Fatal Error - Fixed

Posted: Mon Nov 07, 2011 2:49 pm
by 16460503
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

Re: XE2 - Compiler Fatal Error

Posted: Mon Nov 07, 2011 3:52 pm
by yeray
Hi Gregg,

No worries. I'm glad to hear you solved it!