Fatal: Required Package 'Vcl50' Not Found
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...
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 found
despite 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?
1 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\Bpl
For 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