Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: C++ Builder XE7 [ilink32 Error] Fatal: Unable to open file .OBJ


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 1 - Last Post: Mar 5, 2018 10:45 AM Last Post By: Remy Lebeau (Te... Threads: [ Previous | Next ]
Roland Molnar

Posts: 1
Registered: 2/17/18
C++ Builder XE7 [ilink32 Error] Fatal: Unable to open file .OBJ  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 3, 2018 6:46 AM
I got an old app and I should just change the MySQL connection but I can't build it because it wrote on C++ Builder 6. I've got the C++ Builder XE7 and installed missed libraries then linked those path in project options but the IDE write this error:

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


When I remove a path of library I don't get that error then I set back this path and remove another I get again that. I'm very confused.

The full log is:
Checking project dependencies... Compiling guba2.cbproj (Debug, Win32) ilink32 command line 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:\program 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:\program 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 Error] Fatal: Unable to open file '.OBJ' Failed Elapsed time: 00:00:11.8

I don't know what missing from a here: cp32mt.lib , , guba2.res
I tried also make linked directories to remove spaces from paths but finally I cannot change the registry of base path.

Thank you for your helps
Roland
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: C++ Builder XE7 [ilink32 Error] Fatal: Unable to open file .OBJ  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 5, 2018 10:45 AM   in response to: Roland Molnar in response to: Roland Molnar
Roland Molnar wrote:

I got an old app and I should just change the MySQL connection but I
can't build it because it wrote on C++ Builder 6. I've got the C++
Builder XE7 and installed missed libraries then linked those path in
project options

Did you open the old project in the IDE and let it upgrade? If so,
don't do that. You should always make a new project fresh and add your
existing source files to it as needed.

The full log is:

I see a lot of duplicate paths in that log. You might consider editing
the .cbproj file to remove duplicates.

I don't know what missing from a here: cp32mt.lib , , guba2.res

Then I suggest you simply remove the offending extra comma so the
command is not malformed anymore.

--
Remy Lebeau (TeamB)
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02