Re: C++ lib link errors on project converted from CodeWarrior
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