Page 1 of 1

Error:compiled with a different version

Posted: Sun Mar 31, 2013 12:01 pm
by 16462769
Hello,

I have used a version of TeeChart Pro v2011/12 (upgrade) that I bought and installed in June 2012.

Downloaded the following version today:
TeeChart2012RADXE2.exe
November 06, 2012
Build 2012.07.121105
File size - 107,56 MB

TeeInstall.exe : No errors or questions

Works with 32-bit, but only in part with the 64-bit.
For example, do not work with TeeEdit, TeeOpenGL or TeeSurfa with the 64-bit version.
Error message:
[DCC Fatal Error] SigmaMain_64.pas(8): F2051 Unit VCLTee.TeeSurfa was compiled with a different version of VCLTee.Chart.TCustomChart
Failed

I've read that you recommend to run TeeRecompile.exe, but I can not find the program anywere.

Kind Regards
PerGunnar

Re: Error:compiled with a different version

Posted: Tue Apr 02, 2013 9:02 am
by yeray
Hi PerGunnar,
PGL wrote:I've read that you recommend to run TeeRecompile.exe, but I can not find the program anywere.
This is only for the SourceCode customers. TeeRecompile is a tool shipped with the sources to help customers to build and install the TeeChart sources.
PGL wrote:Error message:
[DCC Fatal Error] SigmaMain_64.pas(8): F2051 Unit VCLTee.TeeSurfa was compiled with a different version of VCLTee.Chart.TCustomChart
This error looks like a confusion in the paths. Please check them:

- At "Tools\Options...\Environment Options\Delphi Options\Selected Platform 32-bit Windows\Library path":
C:\Program Files (x86)\Steema Software\TeeChart 2012 for RAD XE2\Delphi16.win32\Lib
- At "Tools\Options...\Environment Options\Delphi Options\Selected Platform 32-bit Windows\Debug DCU path":
C:\Program Files (x86)\Steema Software\TeeChart 2012 for RAD XE2\Delphi16.win32\Lib

- At "Tools\Options...\Environment Options\Delphi Options\Selected Platform 64-bit Windows\Library path":
C:\Program Files (x86)\Steema Software\TeeChart 2012 for RAD XE2\Delphi16.win64\Lib
- At "Tools\Options...\Environment Options\Delphi Options\Selected Platform 64-bit Windows\Debug DCU path":
C:\Program Files (x86)\Steema Software\TeeChart 2012 for RAD XE2\Delphi16.win64\Lib

Check:
- The references above are on the top of the respective lists.
- There's no reference to any other TeeChart installation in these or the other lists.

Re: Error:compiled with a different version

Posted: Tue Apr 02, 2013 10:09 am
by 16462769
Hi Yeray,

Paths were OK!
- At "Tools\Options...\Environment Options\Delphi Options\Selected Platform 32-bit Windows\Library path":
were also: C:\Program Files (x86)\Steema Software\TeeChart 2012 for RAD XE2\Delphi16.win64\Lib
which I deleted ! Did not help.

Then moved the references on the top of the respective lists

Now I get the following error in all programs:
error F1027: F1027 Unit not found: 'System.pas' or binary equivalents (.dcu)
0 Warning(s)
1 Error(s)

King Regards
PerGunnar

Re: Error:compiled with a different version

Posted: Tue Apr 02, 2013 11:18 am
by yeray
Hi,
PGL wrote:error F1027: F1027 Unit not found: 'System.pas' or binary equivalents (.dcu)
This looks as if your IDE has lost some entry in the library path. Do you see anyone pointing to "C:\Program Files (x86)\Embarcadero\RAD Studio\9.0\lib\win32\release\Win32\release"?
Note my XE2 here has it in the format "$(BDSLib)\win32\release".