Tiger broke something..

Discussion in 'Mac Programming' started by mmmdreg, May 25, 2005.

  1. mmmdreg macrumors 65816

    mmmdreg

    Joined:
    Apr 14, 2002
    Location:
    Sydney, Australia
    #1
    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?
     
  2. Cybernanga macrumors regular

    Joined:
    Oct 27, 2004
    Location:
    Essex, United Kingdom
    #2
    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.
     
  3. mmmdreg thread starter macrumors 65816

    mmmdreg

    Joined:
    Apr 14, 2002
    Location:
    Sydney, Australia
  4. audiohhh macrumors newbie

    Joined:
    Oct 20, 2003
    #4
    come on guys

    it's all ballbearings these days, and while you're at it, get rid of this filthy muck.
     
  5. Ringo macrumors regular

    Ringo

    Joined:
    Mar 30, 2004
    Location:
    Quebec
    #5
    i dont see how this post is suppose to be constructive....
    :confused:
     

Share This Page