C ++ Builder XE7 [ilink32错误]致命:无法打开文件.OBJ

时间:2018-02-15 12:05:51

标签: windows c++builder

我有一个旧的应用程序,我应该只是更改MySQL连接,但我无法构建它因为它在C ++ Builder 6上编写。 我有C ++ Builder XE7并安装了错过的库,然后在项目选项中链接了这些路径,但IDE写了这个错误:

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

当我删除库的路径时,我没有得到该错误,然后我设置回这条路径并删除另一个我再次得到它。我很困惑。

完整的日志是:

  

检查项目依赖关系......   编译guba2.cbproj(Debug,Win32)   ilink32命令行     c:\ program files(x86)\ embarcadero \ studio \ 15.0 \ bin \ ilink32.exe -G8 -LDebug_Build;“C:\ Program Files(x86)\ QuickReport \ QR6-RAD-XE7 \ win32 \ release”;     “C:\ Program Files(x86)\ Devart \ MyDAC for RAD Studio XE7 \ Lib \ Win32”;“c:\ program files(x86)\ embarcadero \ studio \ 15.0 \ lib \ win32 \ release”;     “C:\ Users \Én\ Downloads \ Indy10C21 \ Win32 \ C21”;“c:\ program files(x86)\ embarcadero \ studio \ 15.0 \ lib \ debug”; cxmlfile;“c:\ program files     (x86)\ embarcadero \ studio \ 15.0 \ Projects \ Lib“; xmlparser;”c:\ Program Files \ Borland \ CBuilder6 \ Projects“;”c:\ program files     (x86)\ embarcadero \ studio \ 15.0 \ lib \ obj“;”c:\ program files(x86)\ embarcadero \ studio \ 15.0 \ lib“;”c:\ Program Files \ Borland \ CBuilder6 \ MyDac \ Lib“;     “c:\ program files(x86)\ embarcadero \ studio \ 15.0 \ lib \ psdk”; cxmlfile;“c:\ program files(x86)\ embarcadero \ studio \ 15.0 \ Projects \ Lib”; xmlparser;     “c:\ Program Files \ Borland \ CBuilder6 \ Projects”;“c:\ program files(x86)\ embarcadero \ studio \ 15.0 \ lib \ obj”;“c:\ program files     (x86)\ embarcadero \ studio \ 15.0 \ lib“;”c:\ Program Files \ Borland \ CBuilder6 \ MyDac \ Lib“;”c:\ program files(x86)\ embarcadero \ studio \ 15.0 \ lib \ psdk“;     “C:\ Program Files(x86)\ Devart \ MyDAC for RAD Studio XE7 \ Lib \ Win32”;“c:\ program files(x86)\ embarcadero \ studio \ 15.0 \ lib \ win32 \ release”;“c:\程序     files(x86)\ embarcadero \ studio \ 15.0 \ lib \ win32 \ release \ psdk“;”C:\ Program Files(x86)\ FastReports \ LibD21“;”C:\ Program Files     (x86)\ Raize \ CS5 \ Lib \ RS-XE7 \ Win32“;”C:\ Program Files(x86)\ Devart \ MyDAC for RAD Studio XE7 \ Lib \ Win32“;”C:\ Program Files     (x86)\ QuickReport \ QR6-RAD-XE7 \ win32 \ release“;”C:\ Program Files(x86)\ QuickReport \ QR6-RAD-XE7 \ win32 \ debug“;     C:\ Users \ Public \ Documents \ Embarcadero \ Studio \ 15.0 \ DCP -jDebug_Build;“C:\ Program Files(x86)\ QuickReport \ QR6-RAD-XE7 \ win32 \ release”;“C:\ Program Files     (x86)\ Devart \ MyDAC for RAD Studio XE7 \ Lib \ Win32“;”c:\ program files(x86)\ embarcadero \ studio \ 15.0 \ lib \ win32 \ release“;     “C:\ Users \Én\ Downloads \ Indy10C21 \ Win32 \ C21”;“c:\ program files(x86)\ embarcadero \ studio \ 15.0 \ lib \ debug”; cxmlfile;“c:\ program files     (x86)\ embarcadero \ studio \ 15.0 \ Projects \ Lib“; xmlparser;”c:\ Program Files \ Borland \ CBuilder6 \ Projects“;”c:\ program files     (x86)\ embarcadero \ studio \ 15.0 \ lib \ obj“;”c:\ program files(x86)\ embarcadero \ studio \ 15.0 \ lib“;”c:\ Program Files \ Borland \ CBuilder6 \ MyDac \ Lib“;     “c:\ program files(x86)\ embarcadero \ studio \ 15.0 \ lib \ psdk”; cxmlfile;“c:\ program files(x86)\ embarcadero \ studio \ 15.0 \ Projects \ Lib”; xmlparser;     “c:\ Program Files \ Borland \ CBuilder6 \ Projects”;“c:\ program files(x86)\ embarcadero \ studio \ 15.0 \ lib \ obj”;“c:\ program files     (x86)\ embarcadero \ studio \ 15.0 \ lib“;”c:\ Program Files \ Borland \ CBuilder6 \ MyDac \ Lib“;”c:\ program files(x86)\ embarcadero \ studio \ 15.0 \ lib \ psdk“;     “C:\ Program Files(x86)\ Devart \ MyDAC for RAD Studio XE7 \ Lib \ Win32”;“c:\ program files(x86)\ embarcadero \ studio \ 15.0 \ lib \ win32 \ release”;“c:\程序     files(x86)\ embarcadero \ studio \ 15.0 \ lib \ win32 \ release \ psdk“;”C:\ Program Files(x86)\ FastReports \ LibD21“;”C:\ Program Files     (x86)\ Raize \ CS5 \ Lib \ RS-XE7 \ Win32“;”C:\ Program Files(x86)\ Devart \ MyDAC for RAD Studio XE7 \ Lib \ Win32“;”C:\ Program Files     (x86)\ QuickReport \ QR6-RAD-XE7 \ win32 \ release“;”C:\ Program Files(x86)\ QuickReport \ QR6-RAD-XE7 \ win32 \ debug“;     C:\ Users \ Public \ Documents \ Embarcadero \ Studio \ 15.0 \ DCP -l。 -v -Gn     -GA“C:\ Users \ N7409~1 \ AppData \ Local \ Temp \ vfs15D2.tmp”=“C:\ Users \Én\ Documents \ Embarcadero \ Studio \ Projects \ makosguba kiszallitas 2 \ Unit1.dfm”-aa - V5.0     -Tpe c0w32 memmgr.lib sysinit.obj Debug_Build \ guba2.obj Debug_Build \ kaja_classes.obj Debug_Build \ md5.obj Debug_Build \ online_orders.obj     Debug_Build \ order_classes.obj Debug_Build \ Unit1.obj Debug_Build \ user_classes.obj,。\ guba2.exe,。\ guba2.map,vcl.lib rtl.lib vclx.lib bdertl.lib     dbrtl.lib dac60.lib mydac60.lib vcldb.lib indycore.lib indysystem.lib bcbsmp.lib IndyProtocols.lib dac210.lib mydac210.lib vclimg.lib xmlrtl.lib     vclactnband.lib QRWRunDXE7w64.lib import32.lib cp32mt.lib ,, guba2.res   [ilink32错误]致命:无法打开文件'.OBJ'   失败   经过时间:00:00:11.8

1 个答案:

答案 0 :(得分:0)

删除指令#pragma link "XXX.Obj"