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 X2421 Imported identifier ‘%s’ conflicts with ‘%s’ in ‘%s’ Reason for the Error & Solution This occurs...
Delphi Compiler Error X2367 Case of property accessor method %s.%s should be %s.%s Reason for the Error & Solution No...
Delphi Compiler Error X2269 Overriding virtual method ‘%s.%s’ has lower visibility (%s) than base class ‘%s’ (%s) Reason for the...