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

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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.

You Might Also Like