本文介绍了缺少.bpl文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在编译FireMonkey项目并在另一台电脑上执行该应用程序之后,我遇到了一个错误 - rtl190.bpl缺少。

所以我搜索了google,我找到了

它说我应该取消选中链接动态RTL和链接到Delphi运行时...。

实际上编译后,可执行文件是更大,但仍然遇到完全相同的错误。

我必须手动将rtl190.bpl和fmx190.bpl复制到exe的目录才能使其工作。

我如何解决这个问题?

After compiling a FireMonkey project and executing the app on another PC I've encountered an error - "rtl190.bpl is missing".
So I searched google and I found the "solution" which didn't work for me.
It said that I should uncheck "Link with Dynamic RTL" and "Link with Delphi runtime...".
Indeed after compiling, the executable is bigger, but still I'm encountering the exact same error.
I must copy "rtl190.bpl" and "fmx190.bpl" manually to exe's directory in order to make it work.
How can I fix this problem?

推荐答案

您还应该取消选中 code> under:

You should also uncheck Build with runtime packages under:

Project-> Options-> Packages-> Runtime Packages-> Link with runtime packages

确保取消选中三个项目(链接到运行时包,链接使用动态RTL和与Delphi运行库链接)在您正在使用的构建配置下('release'/'debug')。

Make sure to uncheck the three items ("Link with runtime packages", "Link with Dynamic RTL" and "Link with Delphi Runtime Library") under the build configuration you are using ('release' / 'debug').

这篇关于缺少.bpl文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-11 21:12