Delphi. Can't find bpl even though directory is in path

Rodbach used Ask the Experts™
I have built two Delphi packages (a run time and a design time).
 I put the directory containing both of them in the library paths.
When I try and add the Design time I get the error message that it can't find the run time package.
Can anyone offer an explanation for this one?
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Hmm... which version of Delphi? Which "library paths" did you put the directory in? (Library, BPL output, DCP output, or Browsing Path, or Directories/Conditionals in Project Options - I'm referring to Delphi 7 btw)

Here's some text from the help that might be worth going over.

Library path: Specifies search paths where compiler can find the source files for the package. The compiler can find only those files listed in the library path. If you try to build your package with a file not on the library path, you will receive a compiler error.

BPL output directory: Where the compiler should put compiled packages (.bpl) files.

DCP output directory: Specifies a separate directory to contain the .dcp files.

Browsing path: Specifies directories where the Project Browser looks for unit files when it cannot find an identifier on the project search path or source path. The directories listed here are appended to the end of the debug source path (which is set using the Directories/Conditionals page of the Project Options dialog box).
Thanks for the quick response. I had placed the directory containing the run and design time packages in Delphi's Tools|Options Library path. As that didn't work I also place it in the machine's environment PATH. However that didn't work at first. Then literally 5 minutes ago rebooted the machine. Now I can install the design time package.
Obviously rebooting after adding it to the environment path and then rebooting was the answer.
Sorry if this wasted your time.
Glad you got it working.
Success in ‘20 With a Profitable Pricing Strategy

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Geert GOracle dba
Top Expert 2009

not rebooting ... , just restarting delphi would have been enough

open a command box
type "set" enter
> this displays all environment variables

add a variable to the environment variables via my computer/properties/advanced ... etc

in the earlier opened command box,
type "set" enter again
> the newly added variable is not visible

open a new command box and type "set" enter again
> the new variable is visible
Geert GOracle dba
Top Expert 2009

first create a runtime package and build it
this will create/copy a bpl to the bpl output path ($delphi)\projects\bpl

next add this runtime package to a design package (requires entry)
then compile the design time package

runtime package will be the compiled sources used by customers

designtime packages are editors/enhancement for the delphi IDE
like components, wizards, etc which customers never see as they don't have delphi


I found the answer myself accidentally.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial