IBM Support

Borland free compiler error: Fatal: Unable to open file 'C0X32.OBJ'.

Question & Answer


Question

Borland free compiler error: Fatal: Unable to open file 'C0X32.OBJ'.

Answer

I am receiving the following error:
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Fatal: Unable to open file 'C0X32.OBJ'
The system cannot find the file specified.
Build Done

to resolve this you need to modify the CPP_CG::Borland::MakefileContent property. Look for the following section:
 
########################## Linking instructions ###############################
###############################################################################
$(TARGET_NAME)$(EXE_EXT): $(BCCCFG) $(ALL_OBJS) $OMFileObjPath $OMMakefileName
@Echo Linking $<
$(BCC32) -LC:\Progra~1\Borland\BCC55\lib $(TARGET_MAIN)$(OBJ_EXT) $(OBJS) $(ADDITIONAL_OBJS) $(LIBS) $(INST_LIBS) $(OXF_LIBS)
@move $(TARGET_MAIN)$(EXE_EXT) $(TARGET_NAME)$(EXE_EXT)
 
Notice the insertion above.
Make sure to rebuild the framework, so the libs get created. Otherwise, the link will fail.
Use the following at a command prompt in the \share\langcpp directory
..\etc\bc5make.bat bc5build.mak
336 AnswerProduct versionPartner ContentInternal ContentCategoryReference IDAuthor

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

10245

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21323567