I tried to install a component in Delphi XE7, which includes 5 DPKs, but unfortunately I didn't succeed. I get this error message:
[dcc32 Fatal Error] XXX1.dpk(1): E2225 Never-build package 'XXX1' must be recompiled
[dcc32 Fatal Error] XXX2.dpk(34): E2202 Required package 'XXX1' not found
When I compiled XXX1 alone, it works fine !
I don't know how to build all 5 DPKs without any error.
[Edit:] Based on Remy's answer, I changed the last line in the fist dbk from {$IMPLICITBUILD OFF}
to {$IMPLICITBUILD ON}
like below, but still the same error, what's the issue now?
{$R *.res}
{$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
{$ALIGN 8}
{$ASSERTIONS ON}
{$BOOLEVAL OFF}
{$DEBUGINFO ON}
{$EXTENDEDSYNTAX ON}
{$IMPORTEDDATA ON}
{$IOCHECKS ON}
{$LOCALSYMBOLS ON}
{$LONGSTRINGS ON}
{$OPENSTRINGS ON}
{$OPTIMIZATION OFF}
{$OVERFLOWCHECKS OFF}
{$RANGECHECKS OFF}
{$REFERENCEINFO ON}
{$SAFEDIVIDE OFF}
{$STACKFRAMES ON}
{$TYPEDADDRESS OFF}
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST OFF}
{$MINENUMSIZE 1}
{$IMAGEBASE $400000}
{$DEFINE DEBUG}
{$ENDIF IMPLICITBUILDING}
{$IMPLICITBUILD ON}