compile error: Unit XXX was compiled with a different....

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
setecg
Newbie
Newbie
Posts: 2
Joined: Tue Dec 21, 2010 12:00 am

compile error: Unit XXX was compiled with a different....

Post by setecg » Thu Jan 27, 2011 12:17 pm

Hi!

I'm having problems trying to compile some projects, depending on the TeeSeries included in the project.
With a TChart and a normal Series type it works fine, but If I add a TeeDonut, TeeGauges, TeeMap... Serie, I can't compile the project.

For example, after adding a Gauge Serie at design time, I get the following error when compiling:

Unit TeeGauges was compiled with a different version of TeCanvas.TChartPen

What can I do?

Thanks!

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: compile error: Unit XXX was compiled with a different....

Post by Sandra » Thu Jan 27, 2011 3:00 pm

Hello setecg,

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.


I hope will helps.

Thanks,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

setecg
Newbie
Newbie
Posts: 2
Joined: Tue Dec 21, 2010 12:00 am

Re: compile error: Unit XXX was compiled with a different....

Post by setecg » Mon Jan 31, 2011 10:49 am

Yes, it was the solution.

Post Reply