RB 12.05 & TeeChart 2011
Is the RB 12.05 compatible with TeeChart Professional 2011 (Delphi XE)?
When I compile a project I received the error message:
[DCC Fatal Error] Unit1.pas(10): F2051 Unit ppChrt was compiled with a
different version of TeEngine.TCustomAxisPanel.DoOnAfterDraw
I executed RBTeePackageBuilder.EXE but the problem persists.
Below is the log of RBTeePackageBuilder.EXE:
Building ReportBuilder TeeChart Binaries...
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart>set PACKSUFFIX="1215"
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart>set DCC="C:\Delphi XE\RAD
Studio\8.0\Bin\Dcc32.exe"
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart>set
SYSTEMDIR="C:\Windows\system32"
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart>cd "C:\Delphi XE\RAD
Studio\8.0\RBuilder\TeeChart\TeePro900"
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>C:
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>REM Building
dcu's...
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>Copy
..\..\Source\ppIfDef.pas . /y
1 arquivo(s) copiado(s).
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>"C:\Delphi
XE\RAD Studio\8.0\Bin\Dcc32.exe" BuildTee.dpr -B
Embarcadero Delphi for Win32 compiler version 22.0
Copyright (c) 1983,2010 Embarcadero Technologies, Inc.
4130 lines, 2.66 seconds, 4259464 bytes code, 68268 bytes data.
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>REM Building
packages...
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>"C:\Delphi
XE\RAD Studio\8.0\Bin\Dcc32.exe" rbTC"1215".dpk
Embarcadero Delphi for Win32 compiler version 22.0
Copyright (c) 1983,2010 Embarcadero Technologies, Inc.
39 lines, 0.52 seconds, 37176 bytes code, 104 bytes data.
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>"C:\Delphi
XE\RAD Studio\8.0\Bin\Dcc32.exe" rbTCUI"1215".dpk
Embarcadero Delphi for Win32 compiler version 22.0
Copyright (c) 1983,2010 Embarcadero Technologies, Inc.
44 lines, 0.59 seconds, 18668 bytes code, 108 bytes data.
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>"C:\Delphi
XE\RAD Studio\8.0\Bin\Dcc32.exe" rbTDBC"1215".dpk
Embarcadero Delphi for Win32 compiler version 22.0
Copyright (c) 1983,2010 Embarcadero Technologies, Inc.
38 lines, 0.67 seconds, 17012 bytes code, 88 bytes data.
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>"C:\Delphi
XE\RAD Studio\8.0\Bin\Dcc32.exe" dclRBC"1215".dpk
Embarcadero Delphi for Win32 compiler version 22.0
Copyright (c) 1983,2010 Embarcadero Technologies, Inc.
40 lines, 0.66 seconds, 10040 bytes code, 88 bytes data.
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>REM Copy
packages and source
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>Copy *.pas
..\..\Source /y
ppChDPEd.pas
ppChDPEdDlg.pas
ppChReg.pas
ppChrt.pas
ppChrtDB.pas
ppChrtDP.pas
ppChrtUI.pas
ppIfDef.pas
ppIfDefTee.pas
9 arquivo(s) copiado(s).
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>Copy *.dpk
..\..\Source /y
dclRBC1215.dpk
rbTC1215.dpk
rbTCUI1215.dpk
rbTDBC1215.dpk
4 arquivo(s) copiado(s).
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>Copy *.dfm
..\..\Source /y
ppChDPEdDlg.dfm
1 arquivo(s) copiado(s).
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>Copy *.dcu
..\..\Lib /y
dclRBC1215.dcu
ppChDPEdDlg.dcu
ppChReg.dcu
ppChrt.dcu
ppChrtDB.dcu
ppChrtDP.dcu
ppChrtUI.dcu
rbTC1215.dcu
rbTCUI1215.dcu
rbTDBC1215.dcu
10 arquivo(s) copiado(s).
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>Copy *.dcp
..\..\Lib /y
dclRBC1215.dcp
rbTC1215.dcp
rbTCUI1215.dcp
rbTDBC1215.dcp
4 arquivo(s) copiado(s).
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>Copy *.dfm
..\..\Lib /y
ppChDPEdDlg.dfm
1 arquivo(s) copiado(s).
C:\Delphi XE\RAD
When I compile a project I received the error message:
[DCC Fatal Error] Unit1.pas(10): F2051 Unit ppChrt was compiled with a
different version of TeEngine.TCustomAxisPanel.DoOnAfterDraw
I executed RBTeePackageBuilder.EXE but the problem persists.
Below is the log of RBTeePackageBuilder.EXE:
Building ReportBuilder TeeChart Binaries...
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart>set PACKSUFFIX="1215"
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart>set DCC="C:\Delphi XE\RAD
Studio\8.0\Bin\Dcc32.exe"
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart>set
SYSTEMDIR="C:\Windows\system32"
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart>cd "C:\Delphi XE\RAD
Studio\8.0\RBuilder\TeeChart\TeePro900"
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>C:
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>REM Building
dcu's...
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>Copy
..\..\Source\ppIfDef.pas . /y
1 arquivo(s) copiado(s).
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>"C:\Delphi
XE\RAD Studio\8.0\Bin\Dcc32.exe" BuildTee.dpr -B
Embarcadero Delphi for Win32 compiler version 22.0
Copyright (c) 1983,2010 Embarcadero Technologies, Inc.
4130 lines, 2.66 seconds, 4259464 bytes code, 68268 bytes data.
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>REM Building
packages...
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>"C:\Delphi
XE\RAD Studio\8.0\Bin\Dcc32.exe" rbTC"1215".dpk
Embarcadero Delphi for Win32 compiler version 22.0
Copyright (c) 1983,2010 Embarcadero Technologies, Inc.
39 lines, 0.52 seconds, 37176 bytes code, 104 bytes data.
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>"C:\Delphi
XE\RAD Studio\8.0\Bin\Dcc32.exe" rbTCUI"1215".dpk
Embarcadero Delphi for Win32 compiler version 22.0
Copyright (c) 1983,2010 Embarcadero Technologies, Inc.
44 lines, 0.59 seconds, 18668 bytes code, 108 bytes data.
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>"C:\Delphi
XE\RAD Studio\8.0\Bin\Dcc32.exe" rbTDBC"1215".dpk
Embarcadero Delphi for Win32 compiler version 22.0
Copyright (c) 1983,2010 Embarcadero Technologies, Inc.
38 lines, 0.67 seconds, 17012 bytes code, 88 bytes data.
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>"C:\Delphi
XE\RAD Studio\8.0\Bin\Dcc32.exe" dclRBC"1215".dpk
Embarcadero Delphi for Win32 compiler version 22.0
Copyright (c) 1983,2010 Embarcadero Technologies, Inc.
40 lines, 0.66 seconds, 10040 bytes code, 88 bytes data.
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>REM Copy
packages and source
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>Copy *.pas
..\..\Source /y
ppChDPEd.pas
ppChDPEdDlg.pas
ppChReg.pas
ppChrt.pas
ppChrtDB.pas
ppChrtDP.pas
ppChrtUI.pas
ppIfDef.pas
ppIfDefTee.pas
9 arquivo(s) copiado(s).
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>Copy *.dpk
..\..\Source /y
dclRBC1215.dpk
rbTC1215.dpk
rbTCUI1215.dpk
rbTDBC1215.dpk
4 arquivo(s) copiado(s).
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>Copy *.dfm
..\..\Source /y
ppChDPEdDlg.dfm
1 arquivo(s) copiado(s).
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>Copy *.dcu
..\..\Lib /y
dclRBC1215.dcu
ppChDPEdDlg.dcu
ppChReg.dcu
ppChrt.dcu
ppChrtDB.dcu
ppChrtDP.dcu
ppChrtUI.dcu
rbTC1215.dcu
rbTCUI1215.dcu
rbTDBC1215.dcu
10 arquivo(s) copiado(s).
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>Copy *.dcp
..\..\Lib /y
dclRBC1215.dcp
rbTC1215.dcp
rbTCUI1215.dcp
rbTDBC1215.dcp
4 arquivo(s) copiado(s).
C:\Delphi XE\RAD Studio\8.0\RBuilder\TeeChart\TeePro900>Copy *.dfm
..\..\Lib /y
ppChDPEdDlg.dfm
1 arquivo(s) copiado(s).
C:\Delphi XE\RAD
This discussion has been closed.
Comments
packages are being build and installed correctly.
This is likely a library path issue or there is an old dcu file on your
machine still being used in your app. Try moving the TeeChart Lib
directory in your Delphi library path to the top of the list and see if
that helps.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I solved this placing:
..\RAD Studio\8.0\RBuilder\TeeChart\TeePro900
and
..\RAD Studio\8.0\RBuilder\TeeChart
In Delphi Lib path.
Thank you
Em 03/01/2012 12:15, Nico Cizik (Digital Metaphors) escreveu: