Build project package C++ Builder

2019-08-08 18:55发布

问题:

I have written a GUI forms application in C++ Builder and am wanting to be able to run the .exe on another computer.

I am getting some .bpl errors when trying to run the .exe on another computer.

How can I combine all the required files into a 'package' such that the .exe can be run on computers that do not have the required files?

I have done Project->Deployment and a list of files have appeared, including the .bpl file. However, what do I do from here?

thanks

回答1:

Your .exe has dependancies on external .bpl files that you have not distributed to the other machines. If you want the .exe to be self-contained so you do not need to distribute those files, go in to the Project Options and disable both the "Use dynamic RTL" and "Build with runtime packages" options.