由于环境变量(HP笔记本电脑),delphi XE2无法在计算机上编译任何项目 [英] delphi XE2 can't compile any project on my computer because of environment variable (HP Laptops)

查看:172
本文介绍了由于环境变量(HP笔记本电脑),delphi XE2无法在计算机上编译任何项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一台惠普笔记本电脑,我的笔记本电脑上安装了delphi xe2,最近5个月前,我没有问题,但是现在我有这个错误信息。


$ b $ e1026文件未找到:'FMX.Filter.res'
[DCC错误] E1026找不到文件:'FMX.Platform.Win.res '

我无法编译任何项目!当我尝试编译一个项目时,我得到这个错误。



此外,我在google上搜索了该错误,我发现这在embarcadero论坛(< a href =https://forums.embarcadero.com/thread.jspa?threadID=59949 =noreferrer> https://forums.embarcadero.com/thread.jspa?threadID=59949 ) 。但在这个论坛上,答案是如此不同。他说这看起来像惠普笔记本电脑的错误,他描述了如何解决它。这是他的方式:


右键单击我的电脑,然后选择属性。在高级
选项卡中,您会找到一个环境变量按钮。点击它,
,然后在下面的列表中,从
系统变量列表中删除PLATFORM变量。关闭对话框,重新启动XE2,你应该
现在可以重新编译,而不再需要进一步的问题


我也想这样做对于我的问题,但我在环境变量中没有PLATFORM变量!



我如何摆脱这个问题?



谢谢

解决方案

检查目标平台的库路径。它应该包含一个条目,如 $(BDSLIB)\ $(Platform)\Release



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


I have a HP laptop and I have delphi xe2 installed on the hp laptop, last 5 months ago I have no problem working with the delphi but now I have this error message.

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

I can't compile any projects! When I try to compile a project, I get this error.

And after more, I did a search for that error on google, I found this in embarcadero forum (https://forums.embarcadero.com/thread.jspa?threadID=59949). But in this forum the answers are so different. He said that is look like the HP laptop's error, and he describes how to fix it. This is his way:

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

I also want to do this for my problem but I have no PLATFORM variable in the "Environment Variables"!

How can I get rid of this problem ?

Thanks

解决方案

Check your library path for the target platform. It should contain an entry like $(BDSLIB)\$(Platform)\Release.

You can also use an explicit path, e.g. C:\Program Files\Embarcadero\RAD Studio\9.0\lib\win32\release (for the Win32 target).

这篇关于由于环境变量(HP笔记本电脑),delphi XE2无法在计算机上编译任何项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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