• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: C++ lib link errors on project converted from CodeWarrior
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C++ lib link errors on project converted from CodeWarrior


  • Subject: Re: C++ lib link errors on project converted from CodeWarrior
  • From: Stefan Werner <email@hidden>
  • Date: Mon, 29 Aug 2005 11:18:35 +0200


Any help with the link errors below would be appreciated.  I seem to
be somehow missing C++ basic_string and new/delete functions.

Make sure everything you link is build with the same compiler and compiler version. Gcc changed the the C++ ABI from v3.3 to v4.0, and undefined C++ symbols is what you get as linker error when trying to link C++ objects build with different versions of gcc.


My understanding based on the doc I've read is that there is usually
no need to specify dynamic libraries explicitly, but I have also
tried adding libstdc++.dylib to the link and this had no effect on
the result.

You don't need to have libstc++.dylib in your project, correct. I think Apple recommends not having it in your projects.


-Stefan

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: C++ lib link errors on project converted from CodeWarrior
      • From: Kurt Bigler <email@hidden>
  • Prev by Date: Re: Linking with dynamic libraries in /usr/lib?
  • Next by Date: RE: Is Objective-C now a strict superset of C99?
  • Previous by thread: Re: C++ lib link errors on project converted from CodeWarrior
  • Next by thread: Re: C++ lib link errors on project converted from CodeWarrior
  • Index(es):
    • Date
    • Thread