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

Error when build ReportBuilder in RAD Studio 12.3 Win64 platform

With the latest RAD Studio 12.3 release, I try to build ReportBuilder on Win64 platform and encounter this error:
Embarcadero Delphi for Win64 compiler version 36.0
Copyright (c) 1983,2025 Embarcadero Technologies, Inc.
ppPDFXRef.pas(25) Fatal: F2048 Bad unit format: 'ppPDFActionManager.dcu' - Expected version: 36.0, Windows Unicode(x64) Found version: 36.0, Windows Unicode(x86)

Comments

  • Hi Chee,

    Compilation works against RBuilder\Lib\Win64 but with RBuilder\Source the compiler raises the error.

    The issue is that unit ppPDFActionManager.pas is missing from the RB 23.0 installation.

    I emailed you the missing unit. RB developers with an active license can email support@ and request the missing unit.

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • I get the same, but for unit raCodMod.dcu:
    [dcc64 Fatal Error] URpStmt.pas(14): F2048 Bad unit format: '...\RBuilder\Source\raCodMod.dcu' - Expected version: 36.0, Windows Unicode(x64) Found version: 36.0, Windows Unicode(x86)

    For Win32 build everything works fine.
  • The RAP .dcu files installed into the \RBuilder\Source\ directory are compiled in x86. Solve the issue by either changing your library path to \RBuilder\Lib\Win64\ or copying the x64 RAP .dcu files from \Lib\Win64 to \Source.
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • I added the \RBuilder\Source path initially because I had the daDataDictionaryBuilder.dcu in \RBuilder\Lib\Win64 somehow corrupt with size 0 (same as daDataDictionaryBuilder.dfm and by the way why would dfm files be duplicated in the \Lib directory). This recompiled it since the source is present in \RBuilder\Source. But then it was hitting the error with the raCodMod.dcu (no source for this one). I just changed the order of the two paths, I put \RBuilder\Lin\Win64 first and \RBuilder\Source after it and now everything works. What's worrying is why the daDataDictionaryBuilder.dcu was corrupt, is it getting built during installation or did the installer not copy it correctly?
Sign In or Register to comment.