构建项目包C + + Builder [英] Build project package C++ Builder

查看:189
本文介绍了构建项目包C + + Builder的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在C ++ Builder中编写了一个GUI窗体应用程序,并希望能在另一台计算机上运行.exe。



我遇到了一些.bpl错误当尝试在另一台计算机上运行.exe时。



如何将所有必需的文件合并到一个包,以便.exe可以在计算机上运行没有所需的文件?



我做了Project-> Deployment,并出现了一个文件列表,包括.bpl文件。

解决方案

您的.exe具有对尚未分发到其他计算机的外部.bpl文件的依赖性。如果您希望.exe是自包含的,所以您不需要分发这些文件,进入项目选项,并禁用使用动态RTL和构建与运行时包选项。


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

解决方案

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.

这篇关于构建项目包C + + Builder的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆