News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Cant compile with borland c++

Started by ankit255, January 06, 2010, 02:19:36 PM

Previous topic - Next topic

ankit255

Hi. I cant compile any source with borland c++ 5.5 compiler. I already had borland 5.5 installed with default settings and then installed code blocks as turbo doesn't work. How should i configure the compiler in codeblocks?
I need this for school.

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Jenna

And of course, search the forum or the web for a solution, before asking anywhere, otherwise your topic might get locked or silently deleted !

ankit255

Quote from: jens on January 06, 2010, 03:43:09 PM
And of course, search the forum or the web for a solution, before asking anywhere, otherwise your topic might get locked or silently deleted !

That sounds funny since I've searched Google but didn't quite find an answer to "How to configure CodeBlocks to use borland as compiler?".
Nevertheless, thank you for presenting to us your suggestion.

ankit255

Quote from: stahta01 on January 06, 2010, 03:37:12 PM
Please read this thread
http://forums.next.codeblocks.org/index.php/topic,11294.0.html

Ask your questions in this current thread.

Tim S.
Hi, i checked the topic but it doesn't deal with my question. I don't even get an error.Unless "failed" stands for one...
EDIT: Sorry for double post. I don't know how to quote two people in a single thread.

stahta01

#5
Quote from: ankit255 on January 06, 2010, 06:35:55 PM
Hi, i checked the topic but it doesn't deal with my question. I don't even get an error.Unless "failed" stands for one...
1. set the path to the executable!
http://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler#Borland_C.2B.2B_Compiler_5.5
a. Settings -> Compiler and Debugger
b. select compiler "Borland"
c. Set it as default
d. Tab "Tool Chain Exe.."
d2 Enter path to the Borland Bin Folder



2. Turn on full compiler logging!
http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F

3. Cut and paste the build log here; include all error messages.

Tim S.

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

ankit255

Quote from: stahta01 on January 06, 2010, 10:33:55 PM
Quote from: ankit255 on January 06, 2010, 06:35:55 PM
Hi, i checked the topic but it doesn't deal with my question. I don't even get an error.Unless "failed" stands for one...
1. set the path to the executable!
http://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler#Borland_C.2B.2B_Compiler_5.5
a. Settings -> Compiler and Debugger
b. select compiler "Borland"
c. Set it as default
d. Tab "Tool Chain Exe.."
d2 Enter path to the Borland Bin Folder



2. Turn on full compiler logging!
http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F

3. Cut and paste the build log here; include all error messages.

Tim S.



Thanks. That didn't work but then i checked installation instructions and it compiled with a failure "unresolved external blah blah blah from C0X32.OBJ". This is being covered in another thread....

Biplab

Did you use any of our project wizard? If not please try them.

Most likely cause (a guess, as you didn't provide much information) is that C:\Borland\BCC55\Lib needs to be added to linker command line.
Be a part of the solution, not a part of the problem.