简体   繁体   English

缺少.bpl文件

[英]Missing .bpl files

After compiling a FireMonkey project and executing the app on another PC I've encountered an error - "rtl190.bpl is missing". 编译FireMonkey项目并在另一台PC上执行该应用程序后,我遇到了一个错误-“缺少rtl190.bpl”。
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...". 它说我应该取消选中“与Dynamic RTL链接”和“与Delphi运行时...链接”。
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. 我必须手动将“ rtl190.bpl”和“ fmx190.bpl”复制到exe目录中,以使其正常运行。
How can I fix this problem? 我该如何解决这个问题?

You should also uncheck Build with runtime packages under: 您还应该在以下位置取消选中“ Build with runtime packages

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

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'). 确保取消选中您正在使用的构建配置(“发行版” /“调试”)下的三个项目(“与运行时程序包链接”,“与动态RTL链接”和“与Delphi运行时库链接”)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM