or Connect
AppleInsider › Forums › General › Genius Bar › cout doesn't work!
New Posts  All Forums:Forum Nav:

cout doesn't work!

post #1 of 3
Thread Starter 
I'm trying to compile some very simple programs on the UNIX command line in Mac OS X, and it acts like cout doesn't exist.

These programs worked a week ago, and I think they may have been broken by the security update or something, but now when I try to re-compile them, I get errors like this:

[rvr057-80:~/programs/tests/calculus1] rogue% cc calc3.cc -o calc3
/usr/bin/ld: Undefined symbols:
ostream: :o perator<<(char const *)
ostream: :o perator<<(ostream &(*)(ostream &))
ostream: :o perator<<(double)
_cout
endl(ostream &)


I'm not happy about that, and this should work. I'm sorry if this is not the right place to ask a question like this, but if it's not, do you know where I should ask a question like this?
Prosecutors will be violated
Reply
Prosecutors will be violated
Reply
post #2 of 3
I had a similar problem and had to relink the objects under root.

Omnigroup developer archives have a wealth of info.
<a href="http://www.omnigroup.com" target="_blank">www.omnigroup.com</a>
This is where you are more likely to get a more qualified response (than from me).

Dobby
post #3 of 3
Thread Starter 
Thanks, I'll take a look, but do you remember how you did it?
Prosecutors will be violated
Reply
Prosecutors will be violated
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Genius Bar
AppleInsider › Forums › General › Genius Bar › cout doesn't work!