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 ?