[英]F1026 File not found: 'System.Actions.dcu'
I have problem to build my project. 我有建立我的项目的问题。 I am using delphi 2010. 我正在使用delphi 2010。
when i try to build my project this error shows up. 当我尝试构建我的项目时,会出现此错误。 "F1026 File not found: 'System.Action.dcu' “找不到F1026文件:'System.Action.dcu'
I've tried to find solution for this error, but i can't find anything that really fix this. 我试图找到这个错误的解决方案,但我找不到任何真正解决这个问题的方法。
any idea? 任何想法?
First of all, I am going to assume that the error message actually refers to System.Actions.dcu
(as per the question title) rather than System.Action.dcu
(as per the question body). 首先,我将假设错误消息实际上是指System.Actions.dcu
(根据问题标题)而不是System.Action.dcu
(根据问题正文)。 It's always best to use copy/paste error messages so that they are transferred verbatim. 最好使用复制/粘贴错误消息,以便逐字传输它们。
You are using code written to target a later version of Delphi. 您正在使用编写的代码来定位更高版本的Delphi。 Not only does Delphi 2010 not have unit scope names, ie System.<unitname>
, but it does not have the Actions
unit. Delphi 2010不仅没有单元范围名称,即System.<unitname>
,而且它没有Actions
单元。 If memory serves correctly, unit scope names arrived in XE2 and the Actions
unit in XE3. 如果内存正确,则单元范围名称到达XE2和XE3中的Actions
单元。
The code you are compiling has a unit the uses System.Actions
. 您正在编译的代码有一个使用System.Actions
的单元。 Find that unit and work out where it came from. 找到那个单位并找出它来自哪里。 Then you'll need to work out how to proceed. 然后你需要弄清楚如何继续。 Can you get a version of code that supports your older Delphi version? 你能获得支持旧版Delphi版本的代码版本吗? Can you port the code to your Delphi version? 你能将代码移植到你的Delphi版本吗? Can you find an alternative library? 你能找到另一个图书馆吗? Only you can answer those questions, I'm afraid. 我担心,只有你能回答这些问题。 We cannot give advice at the moment since we do not know anything about the code that is causing you problems. 我们目前无法提供建议,因为我们对导致您出现问题的代码一无所知。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.