I am using Borland Delphi 5 on Windows 7.
When compiling some deplhi code using dcc32.exe from the command line, I am getting the following error:
Fatal: Required package 'Vcl50' not founddespite the fact that Vcl50.bpl is in C:\Windows\System32 which is in my PATH. I tried putting Vcl50.bpl in the project directory. It still does not get picked up.
Any ideas?
81 Answer
On my system it turned out the Library path was wrong in Environment Options.
tools -> Environment Options -> Library
Then Library path:
$(DELPHI)\Lib
$(DELPHI)\Bin
$(DELPHI)\Imports
$(DELPHI)\Projects\BplFor reference, default values for the rest of the Library tab:
- BPL output directory:
$(DELPHI)\Projects\Bpl - DCP Output Directory:
$(DELPHI)\Projects\Bpl
And finally Browsing Path:
$(DELPHI)\source\vcl
$(DELPHI)\source\rtl\Sys
$(DELPHI)\source\rtl\Win
$(DELPHI)\source\Internet 3