Search code examples
delphidelphi-7

F1026 File not found: 'Ucommon.dcu'


i create simple delphi program i use
MTable when make debug this error appear to me
and flag for m_table in

[DCC Error] Data.pas(7): F1026 File not found: 'Ucommon.dcu'


Solution

  • The error message is telling you that the unit named Data uses another unit named Ucommon and that the compiler cannot locate either a .pas source file, or a .dcu compiled unit for Ucommon.

    You need to make sure that the compiler has access to Ucommon. Typically that means either:

    1. Adding Ucommon.pas to the project, or
    2. Adding the directory containing Ucommon.pas to the project's search path.