Fatal error when compiling after installing patches
I'm trying to install three patches I received to version 12.03.
I've followed the instructions in the e-mails to copy the files into the
Source and Lib directories and remove the associated DCU files from the Lib
directory.
When I compile our project, though, I receive the following error:
C:\Program Files\CodeGear\RAD Studio\5.0\RBuilder\Lib\ppProd.pas(987,26):
Fatal Error error 2051: F2051 Unit ppClass was compiled with a different
version of ppProd.TppProducer.
Based upon a newsgroup post discussing a similar error, I uninstalled
ReportBuilder and followed the directions on rbWiki to completely remove any
remnants of ReportBuilder. Once that was done, I reinstalled ReportBuilder
and copied the files again, only to see the same error.
I'm using Delphi 2007, with ReportBuilder 12.03 and am experiencing this on
two computers - one with Windows Vista and the other with Windows 7.
Any advice on where to proceed from here?
Thanks,
A.J. van de Ven
I've followed the instructions in the e-mails to copy the files into the
Source and Lib directories and remove the associated DCU files from the Lib
directory.
When I compile our project, though, I receive the following error:
C:\Program Files\CodeGear\RAD Studio\5.0\RBuilder\Lib\ppProd.pas(987,26):
Fatal Error error 2051: F2051 Unit ppClass was compiled with a different
version of ppProd.TppProducer.
Based upon a newsgroup post discussing a similar error, I uninstalled
ReportBuilder and followed the directions on rbWiki to completely remove any
remnants of ReportBuilder. Once that was done, I reinstalled ReportBuilder
and copied the files again, only to see the same error.
I'm using Delphi 2007, with ReportBuilder 12.03 and am experiencing this on
two computers - one with Windows Vista and the other with Windows 7.
Any advice on where to proceed from here?
Thanks,
A.J. van de Ven
This discussion has been closed.
Comments
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
The patches I'm trying to install are the following:
ppCtrls & ppFilDev to fix an XLS issue
ppProd to fix an issue with OnPrintDialogCreate when sending e-mail
I received them from a colleague who received them from your support
department.
A.J.
Try copying the patch files to RBuilder\Source. Add RBuilder\Source to the
Delphi library path - position the entry ahead of RBuilder\Lib. Then build
your project. In my testing here that worked. (I do not know why
RBuilder\Lib causes the compile error. Appears to be an issue with the RB
Enterprise 12.03 for D2007 build)
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
After implementing your suggestion, the compilation moves past the files
that were causing an issue. Unfortunately, now I'm getting the following
error:
(10): F2051 Unit raParser was compiled with a different version of
ppRTTI.TraRTTIClassRegistry.
The referenced file is a unit that belongs to a packaged used by the
application. The line is the end of the uses clause which references the
raCodMod unit. The package compiles and installs fine, but the main
application is struggling with the compilation.
I've done some research on your Wiki and learned that raParser is part of
the RAP code. I haven't worked with RAP before, so I'm unsure whether this
issue is something with ReportBuilder or our unit.
Any advice?
Thanks,
A.J.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
I assume that means we must be doing something wrong in our code.
I'll start looking into that particular package and it's integration into
the main application to see where the issue is occuring.
Thanks for your assistance.
[DCC Error] rpMain.pas(34): F2051 Unit raIDE was compiled with a different
version of ppDsgner.TppDesignerWindow
Rodger Van Kirk
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com