Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mmmdreg

macrumors 65816
Original poster
Apr 14, 2002
1,393
0
Sydney, Australia
I wrote a program in C++ using XCode in 10.3 and it was fine. Now, when I try to compile I get error:
Tool:0: Command /usr/bin/gcc-4.0 failed with exit code 1
Tool:0: powerpc-apple-darwin8-gcc-4.0.0: /usr/lib/libstdc++.a: No such file or directory
.

The funny thing is that other things compile no problemo. Can I fix this error?
 
You could try this...

I believe you no longer need to link to libstdc++ with the latest version of g++ for darwin. Try removing references to it from your project.

To do this, just delete the "file" in your project called "libstdc++.a". It's probably in a "directory" called "External Frameworks and Libraries". When prompted say you want to delete just the reference, not the reference and the file.

Hope it works! If not, it's easy enough to include the framework again.
 
come on guys

it's all ballbearings these days, and while you're at it, get rid of this filthy muck.
 
audiohhh said:
it's all ballbearings these days, and while you're at it, get rid of this filthy muck.

i dont see how this post is suppose to be constructive....
:confused:
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.