Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

c0w32.obj

Status
Not open for further replies.

ScaredRabbit

Technical User
Joined
Oct 19, 2001
Messages
2
Location
US
I get an error when I compile programs in borland 5.5... it says it cannot find file c0w32.obj ...but then it produces an obj file for me. when I link the obj file the program doesn't work. I was able to compile the program just fine under borland 3. I may just not be typing something in correctly on the command line, because in borland 3 I didn't compile from the command line. Any help would be appreciated.
 
You should write the cfg files: bcc32.cfg & ilink32.cfg, so:

bcc32.cfg
---------
-I"PATH1_OF_INCLUDE_DIRECTORY"
-I"PATH2_OF_INCLUDE_DIRECTORY"
...
-I"PATHn_OF_INCLUDE_DIRECTORY"
-L"PATH_OF_LIBRARIES_DIRECTORY"

ilink32.cfg
-----------
-L"PATH_OF_LIBRARIES_DIRECTORY"

...and then:

bcc32 code.c

or

bcc32 code.c [path\name_of_library.lib]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top