User forums > Help

Code::Blocks/Borland Compiler 5.5/ cout << stringVar error [solved]

<< < (2/3) > >>

Joe:
Hello again Tim.

I am using the (and have been for some time) command console in Windows to compile the source file. I have used the same flags as C::B used for it's compile, and again it compiles, links and runs as expected.

It is not a compiler bug. It is either a user bug :) or perhaps I have misconfigured something in the C::B IDE Environment. Although, I must admit that I simply installed C::B, selected Borland 5.5 from the options and accepted all the defaults.

Thank you for your patience and help in this matter. It means a lot to me Tim.

 

stahta01:
If you run "bcc32 -v" on the command line with the same setup as to compile the code what do you get?

I get this.


--- Code: ---Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
Error E2266: No file names given

--- End code ---

Tim S.

Joe:
I get the same output (version) as you did Tim. [bcc32 -v]

Hey! I think I stumbled on to the solution. I finally found a place where I can work with the compiler flags and the Linker flags. /Project/Build options.../Linker settings/Add    and then by adding all of the libraries available in borland/bcc55/lib and all the libraries available in borland/bcc55/lib/psdk   like magic, the source file compiles, links and runs from the C::B IDE.

I will work my way back, through trial and error, and see if I can nail down which libraries are required for the Borland 5.5 sp2 compiler, and post that information, in case some other rookie, like me, ever runs in to the same issue.

Any idea which libraries should be included Tim?

stahta01:

--- Quote from: Joe on November 29, 2010, 02:50:07 am ---Any idea which libraries should be included Tim?

--- End quote ---

No, I just use BCC every few months to test the patches for wxWidgets works.

Tim S.

stahta01:
How to set up Borland outside of Code::Blocks; this is the way I normally use Borland with Code::Blocks.
Inside Code::Blocks, I have no search folders for Linker or Compilers.

http://cboard.cprogramming.com/faq-board/31181-faq-please-help-use-borland-compiler.html

Tim S.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version