On Wednesday, November 27, 2013 5:07:33 AM UTC-5, Jozef Matúš wrote: > > Hello I'm trying to import crypto library into xcode project for ios7. I > have downloaded library for ios7 from github. I have linkded header files > and checked C++ dialects, the only difference is c++ standard library I > need to have libc++ because I'm using other third party library that needs > that. I'm getting : > Undefined symbols for architecture armv7: "std::basic_string<char, > std::char_traits<char>, std::allocator<char> >::basic_string(char const*, > std::allocator<char> const&)", referenced from: __GLOBAL__I_a in > libcryptopp.a(cryptlib.o) "std::basic_string<char, std::char_traits<char>, > std::allocator<char> >::~basic_string()", referenced from: __GLOBAL__I_a in > libcryptopp.a(cryptlib.o) "std::ios_base::Init::~Init()", referenced from: > __GLOBAL__I_a in libcryptopp.a(dll.o) __GLOBAL__I_a in > libcryptopp.a(integer.o) __GLOBAL__I_a in libcryptopp.a(gf2n.o) > "std::ios_base::Init::Init()", referenced from: __GLOBAL__I_a in > libcryptopp.a(dll.o) __GLOBAL__I_a in libcryptopp.a(integer.o) > __GLOBAL__I_a in libcryptopp.a(gf2n.o) > "std::string::_Rep::_S_empty_rep_storage", referenced from: > Is there a way how to get rid of this please? >
Recompile and use either -std=libc++ or -std=libstdc++. You should modify the makefile's CXXFLAGS to ensure you get what you want. See http://www.cryptopp.com/wiki/IOS_(Command_Line). -- -- 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/groups/opt_out.
