gpt4 book ai didi

由于环境变量(HP笔记本电脑),delphi XE2无法在我的计算机上编译任何项目

转载 作者:行者123 更新时间:2023-12-03 14:45:33 27 4
gpt4 key购买 nike

我有一台 HP 笔记本电脑,并且在 HP 笔记本电脑上安装了 delphi xe2,过去 5 个月前我使用 delphi 没有问题,但现在我收到此错误消息。

[DCC Error] E1026 File not found: 'FMX.Filter.res'
[DCC Error] E1026 File not found: 'FMX.Platform.Win.res'

我无法编译任何项目!当我尝试编译项目时,出现此错误。

之后,我在谷歌上搜索了该错误,我在 embarcadero 论坛 ( https://forums.embarcadero.com/thread.jspa?threadID=59949 ) 中找到了这个错误。但在这个论坛上,答案却截然不同。他说这看起来像是惠普笔记本电脑的错误,并描述了如何修复它。这就是他的方式:

Right click on "My Computer" and select Properties. In the Advanced tab, you will find a button for "Environment Variables". Click on it, and in the list that follows, delete the PLATFORM variable from the list of System variables. Close the dialog, restart XE2, you should now be able to recompile without further problems

我也想为我的问题这样做,但我在“环境变量”中没有平台变量!

如何解决这个问题?

谢谢

最佳答案

检查目标平台的库路径。它应包含类似 $(BDSLIB)\$(Platform)\Release 的条目。

您还可以使用显式路径,例如C:\Program Files\Embarcadero\RAD Studio\9.0\lib\win32\release(对于 Win32 目标)。

关于由于环境变量(HP笔记本电脑),delphi XE2无法在我的计算机上编译任何项目,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8444064/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com