链接失败[ilink32错误]致命:无法打开文件'TYPES.OBJ' [英] Linking fails [ilink32 Error] Fatal: Unable to open file 'TYPES.OBJ'

查看:385
本文介绍了链接失败[ilink32错误]致命:无法打开文件'TYPES.OBJ'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用 C ++ Builder 2010 更新旧版本项目的代码,以与 C ++ Builder 10 Seattle 进行编译.我主要不得不更改路径,将许多dupIgnore更改为TDuplicates::dupIgnore,重新导入一些组件,例如 MSXML MSMQ 等.

I have been updating code fomr an old legacy project build using C++ Builder 2010 to compile with C++ Builder 10 Seattle. I have mostly had to change paths, a lot of dupIgnore to TDuplicates::dupIgnore, reimport some components like MSXML and MSMQ etc.

首先是主项目以bpl和dll形式使用的一堆子项目,最后是主项目的代码被编译.

First for a bunch of subprojects that the main project uses in the form of bpl's and dll's and finally the code of the main project compiles.

但是...它无法链接:P

But... it fails a linking :P

[ilink32 Error] Fatal: Unable to open file 'TYPES.OBJ'

我试图查找有关潜在问题的信息,很多人提到要确保在 Delphi编译器设置下的单元范围中提供了System.但这已经存在于该项目中.还有什么可能导致这种情况?

I have tried to find info about potential issues and many mention making sure System is supplied in the Unit Scope under the Delphi Compiler settings. But that is already present for this project. What else could be causing this?

有关信息.现在使用经典" bcc32编译器进行编译.

For information. Compiled using "classic" bcc32 compiler for now.

包含路径:

$(BDSINCLUDE)\windows\vcl;$(BDSINCLUDE)\dinkumware;

库路径:

$(BDSLIB)\$(PLATFORM)\$(Config);$(BDSLIB)\$(PLATFORM)\Release\psdk;

推荐答案

我认为,在需要从找到的文件中删除此字符串之后,应该在项目中的所有文件中找到字符串TYPES.OBJ.在此之前,请不要忘记创建备份项目目录.

I think you should find string TYPES.OBJ in all files in your project, after you need remove this string from found files. Before this do not forget to make a backup project directory.

当我将旧项目从BCB5转换为BCB 6时,我遇到了类似的问题.当我从扩展名为".bpr"的项目文件中删除文件名为".obj"的字符串时,我的问题就解决了.

I had a similar problem when I convert old project from BCB5 to BCB 6. When I deleted the string with ".obj" filename from project file with ".bpr" extension my problem was solved.

这篇关于链接失败[ilink32错误]致命:无法打开文件'TYPES.OBJ'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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