简体   繁体   English

找不到F1026文件:'System.Actions.dcu'

[英]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.

相关问题 错误:F1026找不到文件:命令行编译器&#39;System.Actions.dcu&#39; - Error: F1026 File not found: 'System.Actions.dcu' by Command Line Compiler 错误:找不到F1026文件:&#39;System.Actions.dcu&#39;从XE3切换回Delphi XE2 - Error: F1026 File not found: 'System.Actions.dcu' switching back to Delphi XE2 from XE3 我该如何解决? 找不到f1026文件&#39;crt.dcu&#39; - How to I fix this? f1026 file not found 'crt.dcu' Delphi XE3:[dcc32致命错误] Unit5.pas(7):F1026找不到文件:“ RzEdit.dcu” - Delphi XE3: [dcc32 Fatal Error] Unit5.pas(7): F1026 File not found: 'RzEdit.dcu' 在RAD Studio命令提示符F1026文件中找不到使用MSBuild的Delphi 2009 - Delphi 2009 using MSBuild in RAD Studio Command Prompt F1026 File not found 找不到Dcu文件 - Dcu file not found Delphi XE-严重:F1027找不到单位:&#39;System.pas&#39;或等效的二进制文件(.dcu) - Delphi XE - Fatal: F1027 Unit not found: 'System.pas' or binary equivalents (.dcu) 找不到文件xxxxx.dcu - File not found xxxxx.dcu 找不到.pas文件,但.dcu在那里,这还不够吗? - .pas file not found but the .dcu is there, is that not enough? 未找到Delphi XE-F1027单元:激活试用版时的&#39;System.pas&#39;或二进制等效(.dcu) - Delphi XE - F1027 Unit not found: 'System.pas' or binary equivalents (.dcu) upon Activation of trial version
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM