Error:compiled with a different version

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
PGL
Newbie
Newbie
Posts: 5
Joined: Tue Jun 19, 2012 12:00 am

Error:compiled with a different version

Post by PGL » Sun Mar 31, 2013 12:01 pm

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

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

Re: Error:compiled with a different version

Post by Yeray » Tue Apr 02, 2013 9:02 am

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.
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

PGL
Newbie
Newbie
Posts: 5
Joined: Tue Jun 19, 2012 12:00 am

Re: Error:compiled with a different version

Post by PGL » Tue Apr 02, 2013 10:09 am

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

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

Re: Error:compiled with a different version

Post by Yeray » Tue Apr 02, 2013 11:18 am

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".
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