Pascal Fatal Error F2051

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
janbp
Newbie
Newbie
Posts: 2
Joined: Tue May 18, 2004 4:00 am

Pascal Fatal Error F2051

Post by janbp » Tue Aug 29, 2006 12:24 pm

Hi All

I'm completely stumped, and I'm looking for troubleshooting advice.

Having installed TeeChart Pro 7.06 under Delphi 2006 SP2 gives a fatal compile error when trying to build our project:

[Pascal Fatal Error] Data_Init.pas(7): F2051 Unit Chart was compiled with a different version of TeeConst.TeeMsg_DepthTopAxis

I have reinstalled the package a number of times and I have compiled and deployed the TeeChart source code... no matter what I do compilation stops with this message.

Any help would be greatly appreciated.

Jan

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Aug 29, 2006 1:00 pm

Hi Jan,

It's most likely that your Delphi 2006 is still referencing old TeeChart packages. Please read this message on how to solve it.
Best Regards,
Narcís Calvet / 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

janbp
Newbie
Newbie
Posts: 2
Joined: Tue May 18, 2004 4:00 am

Post by janbp » Tue Aug 29, 2006 1:22 pm

Thanks Narcís

The problem is solved...

The Project\Options\Directories/Conditionals\Search_Path part did the trick.

=:)

Jan

Post Reply