奇怪的C ++ Builder链接器错误DATA.BIND.OBJECTSCOPE.OBJ [英] Strange C++ Builder Linker error DATA.BIND.OBJECTSCOPE.OBJ
问题描述
所以我重新编译了一个可以正常工作的项目,突然我得到的只是这个链接器错误:
So I recompiled a perfectly fine and working project and suddenly all I get is this linker error:
[ilink32 Error] Fatal: Unable to open file 'DATA.BIND.OBJECTSCOPE.OBJ'
该项目是C ++控制台启用了VCL的应用程序,我不知道 DATA.BIND.OBJECTSCOPE.OBJ
的来源。
The project is a C++ console application with VCL enabled and I have no idea where the DATA.BIND.OBJECTSCOPE.OBJ
comes from.
这些是我正在使用的标题。
These are the headers I'm using.
#include <windows.h>
#include <tchar.h>
#include <stdio.h>
#include <vector>
#include <vcl.h>
#include <System.hpp>
#include <System.IOUtils.hpp>
#include <System.Zip.hpp>
#include <System.Classes.hpp>
#include <System.IniFiles.hpp>
我试图进行完整的磁盘清洁,删除所有临时文件,等等。 。
该项目昨天编译良好。
I tried to do a complete disc clean, removing all temp files etc... No change... This project was compiling fine yesterday.
推荐答案
我在Embarcadero错误跟踪器上找到了此解决方案:
I found this solution on Embarcadero bug tracker:
将followind添加到您的一个源文件中
Add the followind to one of your source files
#if defined(_WIN32) && !defined(_WIN64)
#pragma link "Data.Bind.ObjectScope.obj"
#endif
此处提供了原始解决方案。
https://plus.google.com/103589122222763968447/posts/gSwPfUZLPEH
The original solution ha been provided here. https://plus.google.com/103589122222763968447/posts/gSwPfUZLPEH
这篇关于奇怪的C ++ Builder链接器错误DATA.BIND.OBJECTSCOPE.OBJ的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!