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

error F2063: F2063 Could not compile used unit 'raCodMod'

edited January 2023 in General
Hello,

A few weeks ago I updated to the most recent version.
Now, when I open an old project, I get the message :

error F2063: F2063 Could not compile used unit 'raCodMod'

I have another project that usese the same unit (raCodMod), and that project does compile without any problems.

The difference is that the old program was build for Windows64bit, the other for 32bit.
Is there something I should check before compiling to 64 bit?

kind regards,

Dirk Janssens

Comments

  • Hi Dirk,

    The error usually indicates that you have an older .dcu or source file present in your library path. Since we do not provide the source for RAP, it is important to be sure the versions match up. Check your project folder for old RB files or any custom source files you may be using.
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • Hi Nico,

    Thank you for your reply. That was helpful.
    I found some diffences in the Library Paths between 32 and 64 bit.

    In the 64bit configuration, I see the path

    C:\Program Files (x86)\Embarcadero\Studio\22.0\RBuilder\Source

    But I use Studio\21.0, so changing it to

    C:\Program Files (x86)\Embarcadero\Studio\21.0\RBuilder\Source

    solves my problem.


    However, I do not understand why the 32bit configuration does not need an reference to the source path at all. There is no C:\Program Files (x86)\Embarcadero\Studio\21.0\RBuilder\Source in 32bit.

    But, If I remove that path from the 64bit configuration, I get an error:

    Unit 'ppDBBDE' not found

    Do you know why there is a difference in the browsing-paths, and what causes the error?

    kind regards,

    Dirk Janssens.

  • edited January 2023
    Hi Dirk,

    The Source directory is not automatically added by the RB installer so this is something you must have done yourself.

    The directories added to the Delphi library path by RB are:

    32 bit: ...\RBuilder\Lib\Win32\
    64 bit: ...\RBuilder\Lib\Win64\

    The Source directory is provided for reference and recompilation of packages or .dcu files in special cases.

    ppDBBDE is a legacy unit that is only included for backward compatibility (32 bit). It is likely a remnant of an older project and can be removed from your uses clause.
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
Sign In or Register to comment.