Page 1 of 1

Installation of TChart pro 2010 & Delphi XE

Posted: Wed Nov 10, 2010 9:33 pm
by 16455600
Just installed the latest TChart Pro 2010 for "Delphi 2011" (2010.01.11004) and Delphi XE.
I have only the binary VCL (not source code).

When trying to compile old programs, I get the following message:

[DCC Fatal Error] UTrend.pas(12): F2063 Could not compile used unit 'TeeTools.pas'
Failed

Once again - I do not have the source code for the VCL - what's going on ?

Ole

Re: Installation of TChart pro 2010 & Delphi XE

Posted: Thu Nov 11, 2010 8:29 am
by narcis
Hi Ole,

This is most likely a problem with your Delphi search paths settings as discussed here.

Hope this helps!

Re: Installation of TChart pro 2010 & Delphi XE

Posted: Sun Nov 14, 2010 8:45 pm
by 16455600
I have tried to change the the relevant paths (I think) - same problem.

After doing the following:
* uninstalled TChart pro
* installed the very latest update of Delphi XE (update 1)
* installed TChart pro once more (TChart Pro 2010 for "Delphi 2011" - 2010.01.11004)

I get another message:
[DCC Fatal Error] uMain.pas(13): F2051 Unit TeeTools was compiled with a different version of Series.TCustomSeries

Any suggestion ?

Ole

Re: Installation of TChart pro 2010 & Delphi XE

Posted: Mon Nov 15, 2010 8:58 am
by 16455600
Hmm...

Tried to update the "Tools -> Options -> Environment Options -> Delphi Options -> Library - Win32 -> Library path" once more - now it seems to work !!

Ole

Re: Installation of TChart pro 2010 & Delphi XE

Posted: Tue Nov 23, 2010 11:36 am
by 10048721
I had exactly the same problem and fixed it by moving the teechart pro lib's path directory on the top of the path list in
Tools - Options - Environmeent Options - Delphi Options - Library - Libray Path.

There must have been a conflict with another path but we could not find what.
But as this fixes the problem...

Re: Installation of TChart pro 2010 & Delphi XE

Posted: Wed Nov 24, 2010 2:18 pm
by yeray
Hi,

TeeChart installer should find the packages from the Standard version shipped with the IDE and should backup them in a new folder that the IDE should not reference. However, when you get an error like "Unit A was compiled with a different version of B" usually means that the IDE has found a unit from another TeeChart version. So checking the library and search paths, and making sure that the good ones are on the top of the list, use to solve this problem.

Re: Installation of TChart pro 2010 & Delphi XE

Posted: Mon Nov 29, 2010 12:19 pm
by 16457909
Actually, I was not speaking about the "Unit A was compiled with a different version of B" problem.

I meant I fixed the original problem described in this post:
[DCC Fatal Error] UTrend.pas(12): F2063 Could not compile used unit 'TeeTools.pas' Failed

By reordering the lib path.

best Regards,
Emmanuel.

Re: Installation of TChart pro 2010 & Delphi XE

Posted: Mon Nov 29, 2010 2:44 pm
by yeray
Hi Emmanuel,

Right, excuse the confusion. Anyway, we're glad to see the problem has been solved!

Re: Installation of TChart pro 2010 & Delphi XE

Posted: Wed Dec 29, 2010 11:30 am
by 16558106
Hi,

the reason for the above conflicts are 3 dcus in the path $(BDSLIB)\$(Platform)\release

Under my Delphi XE it is: D:\Program Files (x86)\Embarcadero\RAD Studio\8.0\lib\win32\release

You will find theses "old" units in it

Chart.dcu
Series.dcu
GanttCh.dcu

I have just deleted them and everything works fine now. You do not need to change sequence of search paths for the libs anymore.
Even all problems concerning using the unit ppchrt with ReportBuilder seem to be history.

System:
Win 7 64Bit
Delphi XE (Upd. 1)
TeeChart pro 2010 (pro9)
ReportBuilder 12.03