Page 1 of 1

Pascal Fatal Error F2051

Posted: Tue Aug 29, 2006 12:24 pm
by 9337535
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

Posted: Tue Aug 29, 2006 1:00 pm
by narcis
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.

Posted: Tue Aug 29, 2006 1:22 pm
by 9337535
Thanks NarcĂ­s

The problem is solved...

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

=:)

Jan