10.05 teechart problem
I can not create a simple package after RB 10.05 installation for Delphi
2006.
I have created a simple package package, wich have one simple unit with this
uses class:
uses
raCodMod, ppDBPipe, ppDB,
ppClass, ppReport, ppBands, ppCTMain, ppEndUsr, ppProd, ppComm, ppCache,
ppPrnabl, ppRelatv, ppDrwCmd, ppTypes, ppDsgner, ppEngine, ppJpeg,
ppChrt, ppChrtDP, ppChrtUI, ppWWRiched;
After I try to compile this package it complains
"Never-build package 'rbCT1010' must be recompiled"
I recompiled rbCT1010, but it doesn't help.
2006.
I have created a simple package package, wich have one simple unit with this
uses class:
uses
raCodMod, ppDBPipe, ppDB,
ppClass, ppReport, ppBands, ppCTMain, ppEndUsr, ppProd, ppComm, ppCache,
ppPrnabl, ppRelatv, ppDrwCmd, ppTypes, ppDsgner, ppEngine, ppJpeg,
ppChrt, ppChrtDP, ppChrtUI, ppWWRiched;
After I try to compile this package it complains
"Never-build package 'rbCT1010' must be recompiled"
I recompiled rbCT1010, but it doesn't help.
This discussion has been closed.
Comments
Check your library path to be sure you are not building with an old runtime
package. You might search your hard drive for other copies of the package
that is giving you issues and replace it with your newly rebuilt one.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
There is my library path
$(TEELIBPATH)
C:\Program Files\Borland\BDS\4.0\RBuilder\TeeChart\Tee700
C:\Program Files\Borland\BDS\4.0\RBuilder\Lib
I checked that rbCT1010.bpl is not in the
C:\Program Files\Borland\BDS\4.0\RBuilder\Lib
C:\WINDOWS\System32
rbCT1010.bpl is only in the BPL folder.
I tried to recompile it and put to the C:\WINDOWS\System32, but it didn't
help.
Before installing RB 10.05 I cleaned up the previous RB 10.04 installation
(I deleted all RB packages from the computer)
I expected 10.05 will fix the problem with the Teechart packages.
I installed RB 10.05 then I run RBTeePackageBuilder.exe.
I didn't do anything else after that and tried to compile the simple package
I described above.
Please try my example and tell me exactly which package should be placed in
which folder.
Thanks,
Misha.
Try changing your C:\Program Files\Borland\BDS\4.0\RBuilder\Lib entry to
C:\Program Files\Borland\BDS\4.0\RBuilder\Source and see if that fixes the
issue.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
C:\Program Files\Borland\BDS\4.0\RBuilder\Lib entry to
to
C:\Program Files\Borland\BDS\4.0\RBuilder\Source
as you adviced.
When tried to compile my package Delphi show me erros and opens the
following packages to recompile one by one:
C:\Program Files\Borland\BDS\4.0\RBuilder\Source\rbBDE1010.bdsproj
C:\Program Files\Borland\BDS\4.0\RBuilder\Source\rbCT1010.bdsproj
C:\Program Files\Borland\BDS\4.0\RBuilder\Source\rbCIDE1010.bdsproj
C:\Program Files\Borland\BDS\4.0\RBuilder\Source\dclRBE1010.bdsproj
I compiled each of them and then when I tried to recompile my package I've
got the error:
[Pascal Fatal Error] TestBpl.dpk(42): E2202 Required package 'rbRAP1010'
not found
I am sure you can easily reproduce the same problem in your environment.
In meanwhile I want to recompile all Report Builder packages from Source
folder and the try to compile TeeChart packages.
Do you have any document, which explains how to compile Source folder
packages?
I remember I did it in Delphi5, but cannot do it in Delphi 2006.
Thank you.
Sorry, for the delay.
Since we do not provide the source code to RAP, you will need to compile
with the runtime dcp's when including RAP in your package. The
rbRAP1010.dcp is located in the \RBuilder\Lib\... directory.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
It is impossible to turn "Build with runtime packages" flag on for a
package.
This flag can be turned on for an application only.
The issue is I cannot compile a package.
Nico, I ask you to repeat my simple example and you will see the problem
clearly.
Thanks,
Misha.
The problem is not in the TeeChart packages, but in the rbCT1010.dcp
The test is very simple:
1.Create a new application
2.Add ppCTMain to the uses class of Unit1
3.Run. It will be ok because it uses ppCTMain.dcu
4.Turn "Build with runtime packages" flag on.
5.Run. It will be an error
[Pascal Fatal Error] Unit1.pas(7): E2225 Never-build package 'rbCT1010'
must be recompiled
This error happens because rbCT1010.dcp was compiled with some different
file versions.
Misha.
ReportBuilder 10.05 for Delphi 2006 uses the new TeeChartBuilder application
when installing RB on your system. This app, automatically builds all the
RB/TeeChart packages during the install process so the problem you
experienced should only occur if you installed TeeChart after you installed
ReportBuilder (or you have multiple versions of TeeChart on your machine).
Please see the Readme.doc file in the \RBuilder\TeeChart... directory for
instructions on using the RBTeeChartBuilder app manually and recompiling
your packages.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I reinstalled 10.05 about 10 times and I used TeeChartBuilder.
Teechart was installed before ReportBuilder installation.
The problem I described is not related to the Teechart at all.
I did this test without running TeeChartBuilder, so RB teechart packages
were not installed.
Originally the problem is in the Crosstab Reports package, please read my
previous message one more time.
Regards,
Misha.
Sorry, I misread your post.
In my quick testing with RB 10.05 and Delphi 2006, the rbCT1010.dcp package
compiled correctly with the .dcu files included with the installation. I'm
unsure why yours is not compiling however I can assure you that the dcp's
included with the installation of ReportBuilder are the same files we use to
build the product originally.
Since all the source is included, it should not be a problem to rebuild the
crosstab packages.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com