编译delphi-pi
下载源代码后,尝试编译代码。
第一个障碍是缺少 Jedi 组件,因此下载了 jcl-2.2.1.3817-partnerdvd
下一步是安装 ,这很好。
现在编译后,错误信息是:
[DCC 致命错误] Utils.pas(4): F2051 单元 JclCompilerUtils 已编译 与不同版本的 JclSysUtils.IJclCommandLineTool
尝试下载不同版本,但代码所有者声称它是用 2.2 编译的。
想法如何解决这个问题?
编辑:我刚刚从库路径中删除了一些对绝地武士的引用,我希望没有造成任何损害。还是不行。
编辑2:下载了0.57,而不是默认结果:
[DCC 致命错误] Utils.pas(4): F1026 找不到文件:“JclBorlandTools.dcu”
现在看来是 jcl 的一个简单版本问题,无法重新安装(再次)。
After Downloading the source, tried to compile the code.
The first bump was missing Jedi components, so downloaded jcl-2.2.1.3817-partnerdvd
Next step was installing , which was fine.
Now After Compiling , the error message is :
[DCC Fatal Error] Utils.pas(4): F2051
Unit JclCompilerUtils was compiled
with a different version of
JclSysUtils.IJclCommandLineTool
tried to download diffrenct versions, however the owner of the code claim it was compiled with 2.2.
Ideas how to resolve this?
edit: i just removed some references to the jedi from the library path, i hope didn't do any damage. still no go.
EDIT 2: downloaded the 0.57 and not the default resulted in:
[DCC Fatal Error] Utils.pas(4): F1026
File not found: 'JclBorlandTools.dcu'
now it seems as a simple version problem with jcl, ill reinstall(again).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
大多数 Delphi 错误和警告消息都非常清楚,但“使用不同版本编译”错误是少数例外之一。它的真正含义是:
Unit JclSysUtils(或其依赖项之一)中的某些内容已更改,并且依赖于 JclSysUtils 的 Unit JclCompilerUtils 现在需要重新编译,但只有它的 DCU 可用。无法找到 PAS 文件来重新编译它。
尝试确保编译器可以使用所有 JCL 单元的原始源代码。
Most Delphi error and warning messages are pretty clear, but "Compiled with a different version" errors are one of the few exceptions. What it really means is:
Something in Unit JclSysUtils (or one of its dependencies) has changed, and Unit JclCompilerUtils, which has a dependency on JclSysUtils, needs to be recompiled now, but only the DCU for it is available. Unable to locate the PAS file to recompile it.
Try making sure that the original source code for all the JCL units is available to the compiler.
我已经检查了我的设置。我使用 JCL 2.2.1.3886 编译了 delphipi 的最新版本。
我的库路径包含以下路径:
Delphipi 依赖三个外部库:JCL、dxgettext 和 Virtual Treeview,项目主页中列出了这些库的链接。我认为您应该仔细检查您的 JCL 安装和库路径。抱歉,对此我无能为力。祝你好运。
I have checked my settings. I have compiled latest revision of delphipi using JCL 2.2.1.3886.
My library path contains following paths:
Delphipi depends three external libraries which are JCL, dxgettext and Virtual Treeview and links to these libraries are listed in the homepage of the project. I think you should check double check your JCL installation and library paths. Sorry, there is nothing else I can do about this. Good luck.