Re: Undefined STL symbols in xcode...
Re: Undefined STL symbols in xcode...
- Subject: Re: Undefined STL symbols in xcode...
- From: Jonathan Wight <email@hidden>
- Date: Tue, 6 Sep 2005 13:18:28 -0400
Oops. I solved this one.
I had built boost with gcc 4.0 but was building and trying to link my
application with gcc 3.3
Rebuilding boost with 3.3 solved that problem.
Thanks.
Jon.
On Sep 6, 2005, at 12:09, Jonathan Wight wrote:
I have Xcode project that uses Cocoa and Objective-C++. It also
links to some boost libraries (built via darwinports).
When I link to the dylib version of the boost libraries everything
is fine - except of course I cannot distribute the software because
I cannot guarantee end-users have boost compiled into the correct
directory. ;-)
So I changed the project to link to the static versions of the same
libraries (after jumping through hoops because xcode/gcc really
want to link in the dylib version of libraries if all else is equal).
But when I finally link the project I get the following missing
symbols:
__ZN9__gnu_cxx18__exchange_and_addEPVii
__ZNSbIwSt11char_traitsIwESaIwEE4_Rep20_S_empty_rep_storageE
__ZNSbIwSt11char_traitsIwESaIwEE4_Rep9_S_createEmmRKS1_
__ZNSs4_Rep20_S_empty_rep_storageE
__ZNSs4_Rep9_S_createEmmRKSaIcE
__ZNSt6locale5_Impl16_M_install_facetEPKNS_2idEPKNS_5facetE
__ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base
__ZSt29_Rb_tree_insert_and_rebalancebPSt18_Rb_tree_node_baseS0_RS_
These all look to me like STL based symbols. Why would they be
missing? I am using GCC 3.3 - would that be part of the problem?
_______________________________________________
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