Topic locked

Linker Error with Xcode 5.1

July 2, 2014 - 3:27am #1

I am getting Linker error if I try to use Vuforia with my project.I am able to run sample project. If I import SampleApplicationSession in my app it throws linker errors. For ex - Undefined symbols for architecture armv7: "VTT for std::basic_istringstream, std::allocator >", referenced from: l10743 in libVuforia.a(libVuforia.a-armv7-master.o) l10754 in libVuforia.a(libVuforia.a-armv7-master.o) l10798 in libVuforia.a(libVuforia.a-armv7-master.o) "std::cerr", referenced from: l10744 in libVuforia.a(libVuforia.a-armv7-master.o) l14918 in libVuforia.a(libVuforia.a-armv7-master.o) "std::string::assign(std::string const&)", referenced from: l14884 in libVuforia.a(libVuforia.a-armv7-master.o) "std::ios_base::Init::~Init()", referenced from: l15185 in libVuforia.a(libVuforia.a-armv7-master.o) l15186 in libVuforia.a(libVuforia.a-armv7-master.o) l15210 in libVuforia.a(libVuforia.a-armv7-master.o) l15211 in libVuforia.a(libVuforia.a-armv7-master.o) l15214 in libVuforia.a(libVuforia.a-armv7-master.o) l15215 in libVuforia.a(libVuforia.a-armv7-master.o) l15217 in libVuforia.a(libVuforia.a-armv7-master.o) ... "std::_Rb_tree_decrement(std::_Rb_tree_node_base*)", referenced from: l14755 in libVuforia.a(libVuforia.a-armv7-master.o) l14756 in libVuforia.a(libVuforia.a-armv7-master.o) "std::_Rb_tree_insert_and_rebalance(bool, std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, std::_Rb_tree_node_base&)", referenced from: l14755 in libVuforia.a(libVuforia.a-armv7-master.o) l14756 in libVuforia.a(libVuforia.a-armv7-master.o) "std::ostream::flush()", referenced from: l10862 in libVuforia.a(libVuforia.a-armv7-master.o) l14918 in libVuforia.a(libVuforia.a-armv7-master.o) "std::basic_ios >::widen(char) const", referenced from: l10752 in libVuforia.a(libVuforia.a-armv7-master.o) l10862 in libVuforia.a(libVuforia.a-armv7-master.o) l14918 in libVuforia.a(libVuforia.a-armv7-master.o) "std::basic_istream >& std::getline, std::allocator >(std::basic_istream >&, std::basic_string, std::allocator >&, char)", referenced from: l10752 in libVuforia.a(libVuforia.a-armv7-master.o) "vtable for std::basic_streambuf >", referenced from: l10743 in libVuforia.a(libVuforia.a-armv7-master.o) l10754 in libVuforia.a(libVuforia.a-armv7-master.o) l10798 in libVuforia.a(libVuforia.a-armv7-master.o) NOTE: a missing vtable usually means the first non-inline virtual member function has no definition. "std::basic_ios >::clear(std::_Ios_Iostate)", referenced from: l10749 in libVuforia.a(libVuforia.a-armv7-master.o) "std::basic_string, std::allocator >::basic_string(std::string const&)", referenced from: l10747 in libVuforia.a(libVuforia.a-armv7-master.o) l10748 in libVuforia.a(libVuforia.a-armv7-master.o) l10752 in libVuforia.a(libVuforia.a-armv7-master.o) l14884 in libVuforia.a(libVuforia.a-armv7-master.o) "std::istream& std::istream::_M_extract(unsigned int&)", referenced from: l10748 in libVuforia.a(libVuforia.a-armv7-master.o) "std::cout", referenced from: l10862 in libVuforia.a(libVuforia.a-armv7-master.o) "std::_Rb_tree_increment(std::_Rb_tree_node_base*)", referenced from: l14755 in libVuforia.a(libVuforia.a-armv7-master.o) "std::basic_ostream >& std::__ostream_insert >(std::basic_ostream >&, char const*, int)", referenced from: l10744 in libVuforia.a(libVuforia.a-armv7-master.o) l10862 in libVuforia.a(libVuforia.a-armv7-master.o) "std::basic_istream >& std::operator>>, std::allocator >(std::basic_istream >&, std::basic_string, std::allocator >&)", referenced from: l10748 in libVuforia.a(libVuforia.a-armv7-master.o) l10749 in libVuforia.a(libVuforia.a-armv7-master.o) l10751 in libVuforia.a(libVuforia.a-armv7-master.o) "std::ios_base::Init::Init()", referenced from: l15185 in libVuforia.a(libVuforia.a-armv7-master.o) l15186 in libVuforia.a(libVuforia.a-armv7-master.o) l15210 in libVuforia.a(libVuforia.a-armv7-master.o) l15211 in libVuforia.a(libVuforia.a-armv7-master.o) l15214 in libVuforia.a(libVuforia.a-armv7-master.o) l15215 in libVuforia.a(libVuforia.a-armv7-master.o) l15217 in libVuforia.a(libVuforia.a-armv7-master.o) ... "std::string::find_first_of(char const*, unsigned long, unsigned long) const", referenced from: l10747 in libVuforia.a(libVuforia.a-armv7-master.o) "std::ostream::operator<<(int)", referenced from: l10862 in libVuforia.a(libVuforia.a-armv7-master.o) l14918 in libVuforia.a(libVuforia.a-armv7-master.o) "std::string::compare(char const*) const", referenced from: l10742 in libVuforia.a(libVuforia.a-armv7-master.o) l10748 in libVuforia.a(libVuforia.a-armv7-master.o) l10752 in libVuforia.a(libVuforia.a-armv7-master.o) "std::basic_string, std::allocator >::basic_string(std::string const&, unsigned long, unsigned long)", referenced from: l10747 in libVuforia.a(libVuforia.a-armv7-master.o) "std::ostream& std::ostream::_M_insert(unsigned long)", referenced from: l10862 in libVuforia.a(libVuforia.a-armv7-master.o) "std::string::_Rep::_M_destroy(std::allocator const&)", referenced from: l10742 in libVuforia.a(libVuforia.a-armv7-master.o) l10743 in libVuforia.a(libVuforia.a-armv7-master.o) l10747 in libVuforia.a(libVuforia.a-armv7-master.o) l10748 in libVuforia.a(libVuforia.a-armv7-master.o) l10749 in libVuforia.a(libVuforia.a-armv7-master.o) l10751 in libVuforia.a(libVuforia.a-armv7-master.o) l10752 in libVuforia.a(libVuforia.a-armv7-master.o) ... "std::string::_Rep::_S_empty_rep_storage", referenced from: l10742 in libVuforia.a(libVuforia.a-armv7-master.o) l10743 in libVuforia.a(libVuforia.a-armv7-master.o) l10747 in libVuforia.a(libVuforia.a-armv7-master.o) l10748 in libVuforia.a(libVuforia.a-armv7-master.o) l10749 in libVuforia.a(libVuforia.a-armv7-master.o) l10751 in libVuforia.a(libVuforia.a-armv7-master.o) l10752 in libVuforia.a(libVuforia.a-armv7-master.o) ... "std::locale::~locale()", referenced from: l10743 in libVuforia.a(libVuforia.a-armv7-master.o) l10754 in libVuforia.a(libVuforia.a-armv7-master.o) l10798 in libVuforia.a(libVuforia.a-armv7-master.o) "std::basic_istringstream, std::allocator >::basic_istringstream(std::string const&, std::_Ios_Openmode)", referenced from: l10743 in libVuforia.a(libVuforia.a-armv7-master.o) l10754 in libVuforia.a(libVuforia.a-armv7-master.o) l10798 in libVuforia.a(libVuforia.a-armv7-master.o) "std::__throw_length_error(char const*)", referenced from: ,>,>,>,>,>,>,>,>,>,>,>,>,>,>,>,>,>,>

Linker Error with Xcode 5.1

July 2, 2014 - 6:57am #2
Topic locked