On Saturday, March 1, 2014 12:43:02 AM UTC-5, Viserys Targaryen, The Rightful King of Westeros wrote: > > Hello, > > I've been pulling my hair out trying to link against the arm64 version of > crypto++ in iOS. > > I get roughly 14 errors of the following kind: > > Undefined symbols for architecture arm64: > "std::__1::__vector_base_common<true>::__throw_length_error() const", > referenced from: > > std::__1::enable_if<__is_forward_iterator<CryptoPP::Integer*>::value, > void>::type std::__1::vector<CryptoPP::Integer, > std::__1::allocator<CryptoPP::Integer> > >::assign<CryptoPP::Integer*>(CryptoPP::Integer*, CryptoPP::Integer*) in > libcryptopp.a(dll.o) > std::__1::vector<CryptoPP::Integer, > std::__1::allocator<CryptoPP::Integer> >::allocate(unsigned long) in > libcryptopp.a(dll.o) > void std::__1::vector<CryptoPP::BaseAndExponent<CryptoPP::Integer, > CryptoPP::Integer>, > std::__1::allocator<CryptoPP::BaseAndExponent<CryptoPP::Integer, > CryptoPP::Integer> > > >::__push_back_slow_path<CryptoPP::BaseAndExponent<CryptoPP::Integer, > CryptoPP::Integer> const>(CryptoPP::BaseAndExponent<CryptoPP::Integer, > CryptoPP::Integer> const&) in libcryptopp.a(dll.o) > void std::__1::vector<CryptoPP::Integer, > std::__1::allocator<CryptoPP::Integer> > >::__push_back_slow_path<CryptoPP::Integer const>(CryptoPP::Integer const&) > in libcryptopp.a(dll.o) > std::__1::vector<CryptoPP::Integer, > std::__1::allocator<CryptoPP::Integer> >::__append(unsigned long) in > libcryptopp.a(dll.o) > std::__1::vector<CryptoPP::Integer, > std::__1::allocator<CryptoPP::Integer> >::__append(unsigned long, > CryptoPP::Integer const&) in libcryptopp.a(dll.o) > void std::__1::vector<CryptoPP::WindowSlider, > std::__1::allocator<CryptoPP::WindowSlider> > >::__push_back_slow_path<CryptoPP::WindowSlider > const>(CryptoPP::WindowSlider const&) in libcryptopp.a(dll.o) > ... > Open Xcode, go to the project's properties, and change the runtime library. I don't recall which you need, but you are using one different from the one you compiled Crypto++ with.
Jeff -- -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to [email protected]. More information about Crypto++ and this group is available at http://www.cryptopp.com. --- You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
