Code::Blocks Forums

User forums => Help => Topic started by: arty_a on December 09, 2010, 02:29:58 pm

Title: Coding and compiling
Post by: arty_a on December 09, 2010, 02:29:58 pm
I don't know if it's the right forum to post this message, so if it's not please move it.

I'v been using Code::Blocks for the programming, but now I'v been requested to use Borland (because of some compilation differences, as in *.eof() and some other functions). I know that I can use different compilers in Code::Blocks. I'v installed free Borland 5.5 compiler, but when I tried to compile programs with it throught Code::Blocks I get |Unable to open file 'C.OBJ'| error.
Anyone knows how to solve this problem?
Title: Re: Coding and compiling
Post by: Joe on December 13, 2010, 05:49:25 pm
Good Morning,

Open Code::Blocks
- On main menu select: [Settings] / [Compiler and debugger ...]
- Under 'Selected compiler' drop down box, make sure [Borland C++ Compiler] is selected.
- There are 6 tabs under the 'Selected compiler' group box. Select the [Toolchain executables] tab. Select the [Program Files] tab. See if they are set up like this: [C compiler: bcc32.exe], [C++ compiler: bcc32.exe], [Linker for dynamic libs: ilink32.exe], [Linker for static libs: tlib.exe], [Resource compiler: brcc32.exe], [Make program: make.exe]. Note: I do not have a debugger, so I do not have anything listed under debugger.