我需要支持希腊字符(非ascii),所以我明白我必须在我的sqlite版本上启用ICU。相信我,我尝试了我在互联网上找到的每一种方法,但每次都有一些问题。
实际上,我使用this library来编译SQLite的自定义版本,并使用this one来获得ICU框架。
在一个完全空白的项目中,以下是我得到的错误列表:
Undefined symbol: std::__1::__call_once(unsigned long volatile&, void*, void (*)(void*))
Undefined symbol: std::__1::condition_variable::notify_all()
Undefined symbol: std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)
Undefined symbol: std::__1::condition_variable::~condition_variable()
Undefined symbol: std::__1::mutex::lock()
Undefined symbol: std::__1::mutex::unlock()
Undefined symbol: std::__1::mutex::~mutex()
Undefined symbol: std::terminate()
Undefined symbol: vtable for __cxxabiv1::__class_type_info
Undefined symbol: vtable for __cxxabiv1::__si_class_type_info
Undefined symbol: vtable for __cxxabiv1::__vmi_class_type_info
Undefined symbol: operator delete(void*)
Undefined symbol: ___cxa_bad_typeid
Undefined symbol: ___cxa_begin_catch
Undefined symbol: ___cxa_pure_virtual
Undefined symbol: ___dynamic_cast
Undefined symbol: ___gxx_personality_v0
Linker command failed with exit code 1 (use -v to see invocation)
字符串
有没有更简单的方法来支持非ascii字符?
我试图在我的sqlite版本中支持ICU。我有很多编译错误。
1条答案
按热度按时间aiqt4smr1#
好吧,我错过了-lc++标志:(Flag