PROBLEM: with dcldac70.dpk package
Posted: Sat 22 Mar 2008 12:57
When compiling the latest sources v6.25.2.14 for Delphi 7 using the makefile, I get the the error that Source\Delphi7\dcldac70.dpk package cannot find visualclx & visualdbclx.
Of course it cannot find visualclx & visualdbclx, because I am compiling on MS-Windows and I do not have any of the Linux CLX packages installed.
Why bloat the code ?
So in order to be able to compile your sources, I had to manualy modify the "requires" clause of the dcldac70.dpk file like this:
Also, please note that some slimmed down versions of Delphi do not come with the CLX packages.
For example Delphi v7.2.
Regards,
Horace
P.S.
Alternatively maybe {$IFDEF CLX} would be better ?
Of course it cannot find visualclx & visualdbclx, because I am compiling on MS-Windows and I do not have any of the Linux CLX packages installed.
Why bloat the code ?
So in order to be able to compile your sources, I had to manualy modify the "requires" clause of the dcldac70.dpk file like this:
Code: Select all
requires
rtl,
dac70,
dcldb,
dacvcl70,
vcl,
dbrtl,
{$IFDEF LINUX}
visualclx,
{$ENDIF}
vcldb,
{$IFDEF LINUX}
visualdbclx,
{$ENDIF}
designide,
vclactnband,
vcldesigner,
designdgm,
dclstd;Also, please note that some slimmed down versions of Delphi do not come with the CLX packages.
For example Delphi v7.2.
Regards,
Horace
P.S.
Alternatively maybe {$IFDEF CLX} would be better ?