PDA

View Full Version : Tiger broke something..




mmmdreg
May 25, 2005, 07:28 PM
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?



Cybernanga
May 25, 2005, 09:02 PM
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.

mmmdreg
May 25, 2005, 09:14 PM
oh haha thanks! that was a quick n easy fix!

audiohhh
May 25, 2005, 09:40 PM
it's all ballbearings these days, and while you're at it, get rid of this filthy muck.

Ringo
May 25, 2005, 11:11 PM
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: