by w2m » April 1st, 2009, 12:00 pm
if a dcu can not be found either Delphi can not find the path to it or more likely, it has not been compiled yet.
What is the components name?
How many dpk's are there?
You have to figure out which dpk must be compiled first, then move on to the 2nd or 3rd depending on how many dpk's there are. then finally when all run time dpks are compiled, compile then install the design time dpk.
If a dpk uses another dpk the dpk it uses must be compiled first.
In the IDE you can tell this by looking at the requires node of the file tree which shows the contents of the dpk when you open it.
If a dependent dpk is needed it will say something like:
requires
rtl.dcp < - i am a standard vcl dpk
vcl.dcp < - i am a standard vcl dpk
vclimg.dcp < - i am a standard vcl dpk
ImageTypes120.dcp <- compile me first
LowLevel120.dcp <- compile me first
All of these required dpks must be compiled first.
w2m