Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Fatal error when compiling after installing patches

edited December 2010 in General
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

Comments

  • edited December 2010
    What RB Edition are you using? What patches are trying to apply?


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited December 2010
    I'm using 12.03 Enterprise.

    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.

  • edited December 2010

    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
  • edited December 2010
    Thanks for the quick response.

    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.

  • edited December 2010
    Try compiling the Demos\RAP\Rap.dpr that is installed with the product.



    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited December 2010
    The demo compiled and built without any issue.

    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.

  • edited January 2011
    When I tried recompiling this project I get the following error:
    [DCC Error] rpMain.pas(34): F2051 Unit raIDE was compiled with a different
    version of ppDsgner.TppDesignerWindow


    Rodger Van Kirk


  • edited January 2011
    Did you read all the posts to this thread? I don't know what else to say.


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.