PROBLEM: with dcldac70.dpk package

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Horace
Posts: 40
Joined: Thu 11 May 2006 23:37

PROBLEM: with dcldac70.dpk package

Post by Horace » 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:

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 ?

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Mon 24 Mar 2008 08:45

We'll remove visualclx and visualdbclx packages from dcldac in the next ODAC build. We have found that these packages are not required.

Post Reply