Delphi Error – E2225 Never-build package ‘%s’ must be recompiled

Delphi Compiler Error

E2225 Never-build package ‘%s’ must be recompiled

Reason for the Error & Solution

This occurs in two cases:

  • The package referenced in the message was compiled as a never-build package, but it requires another package to which interface changes have been made. The named package cannot be used without recompiling because it was linked with a different interface of the required package.
  • Another dependent package is using a version of the mentioned package with a different version of the source.

The only solution to this error is to manually recompile the offending package. Be sure to specify the never-build switch, if it is still desired.

See Also

Share:

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

Delphi Compiler Error E2313 Attribute – Known attribute cannot specify properties Reason for the Error & Solution No further information...
Delphi Compiler Error E2379 Virtual methods not allowed in record types Reason for the Error & Solution No further information...
Rodrigo , one of the long time Delphi Developer has been working on one of his personal project “Delphi IDE...