Author Topic: Cant compile with borland c++  (Read 7445 times)

Offline ankit255

  • Single posting newcomer
  • *
  • Posts: 4
Cant compile with borland c++
« on: January 06, 2010, 02:19:36 pm »
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.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7594
    • My Best Post
Re: Cant compile with borland c++
« Reply #1 on: January 06, 2010, 03:37:12 pm »
Please read this thread
http://forums.codeblocks.org/index.php/topic,11294.0.html

Ask your questions in this current thread.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Cant compile with borland c++
« Reply #2 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 !

Offline ankit255

  • Single posting newcomer
  • *
  • Posts: 4
Re: Cant compile with borland c++
« Reply #3 on: January 06, 2010, 06:33:47 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.

Offline ankit255

  • Single posting newcomer
  • *
  • Posts: 4
Re: Cant compile with borland c++
« Reply #4 on: January 06, 2010, 06:35:55 pm »
Please read this thread
http://forums.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.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7594
    • My Best Post
Re: Cant compile with borland c++
« Reply #5 on: January 06, 2010, 10:33: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.

« Last Edit: January 06, 2010, 10:38:04 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline ankit255

  • Single posting newcomer
  • *
  • Posts: 4
Re: Cant compile with borland c++
« Reply #6 on: January 07, 2010, 10:57:30 am »
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....

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: Cant compile with borland c++
« Reply #7 on: January 07, 2010, 11:36:52 am »
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.