GIDForums  

Go Back   GIDForums > Computer Programming Forums > C++ Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 26-Mar-2004, 01:12
Mjkramer21's Avatar
Mjkramer21 Mjkramer21 is offline
Awaiting Email Confirmation
 
Join Date: Mar 2004
Location: Orem, Ut
Posts: 36
Mjkramer21 is on a distinguished road

help with borland compiler


Hello, I just installed borlands c++ compiler but can't get it to compile a simple script. Im getting this error: Fatal: Unable to open file 'C0X32.OBJ'.
Please help, thank you.
  #2  
Old 26-Mar-2004, 01:32
Mjkramer21's Avatar
Mjkramer21 Mjkramer21 is offline
Awaiting Email Confirmation
 
Join Date: Mar 2004
Location: Orem, Ut
Posts: 36
Mjkramer21 is on a distinguished road
Quote:
Originally Posted by Mjkramer21
Hello, I just installed borlands c++ compiler but can't get it to compile a simple script. Im getting this error: Fatal: Unable to open file 'C0X32.OBJ'.
Please help, thank you.

Nevermind, I found the problem. I didnt have the : in my ilink lib path. It should have been C:\, but I just had c\
  #3  
Old 08-Jul-2005, 20:53
jleslie48 jleslie48 is offline
New Member
 
Join Date: Jul 2005
Posts: 2
jleslie48 is on a distinguished road
Quote:
Originally Posted by Mjkramer21
Nevermind, I found the problem. I didnt have the : in my ilink lib path. It should have been C:\, but I just had c\

/rant on
Would it have been so hard to write down the solution so someone else with the same problem could of followed the same path to the solution??? /rant off

anyway, the solution to this problem lies in the fact that the borland compiler does not know where to find the standard obj, they are there, and there are config files that tell the compiler and linker where to find them.

Here's what to do:

The linker couldn't find C0X32.OBJ.

You should have bcc32.cfg and ilink32.cfg in "C:\Borland\Bcc55\bin" if you installed the compiler to "C:\Borland\Bcc55".

bcc32.cfg
CODE
-I"C:\Borland\Bcc55\include"
-L"C:\Borland\Bcc55\lib"


ilink32.cfg
CODE
-L"C:\Borland\Bcc55\lib"



these two config files (create them with an ascii editor, ie, notepad) will also allow the compiler to find the standard libraries
eg, " #INCLUDE <stdio.h> " without having to jump through all kinds of hoops.
Last edited by jleslie48 : 08-Jul-2005 at 21:04. Reason: further clarification
 
 

Recent GIDBlogOnce again, no time for hobbies by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 21:16.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.