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: 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?

8

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
3

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest