ld: warning: could not create compact unwind for _ffi_call_unix64: does not use RBP or RSP based frame
Undefined symbols for architecture x86_64:
"_uchardet_new", referenced from:
+[ZXStringUtils uchardetGuessEncoding:hints:autoDecodeCharset:charset:] in libDCUniZXing.a(ZXStringUtils.o)
"_uchardet_handle_data", referenced from:
+[ZXStringUtils uchardetGuessEncoding:hints:autoDecodeCharset:charset:] in libDCUniZXing.a(ZXStringUtils.o)
"_uchardet_data_end", referenced from:
+[ZXStringUtils uchardetGuessEncoding:hints:autoDecodeCharset:charset:] in libDCUniZXing.a(ZXStringUtils.o)
"_uchardet_get_charset", referenced from:
+[ZXStringUtils uchardetGuessEncoding:hints:autoDecodeCharset:charset:] in libDCUniZXing.a(ZXStringUtils.o)
"_uchardet_delete", referenced from:
+[ZXStringUtils uchardetGuessEncoding:hints:autoDecodeCharset:charset:] in libDCUniZXing.a(ZXStringUtils.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Undefined symbol: _uchardet_new
Undefined symbol: _uchardet_handle_data
Undefined symbol: _uchardet_data_end
Undefined symbol: _uchardet_get_charset
Undefined symbol: _uchardet_delete
更新3.8.1版本后报错,请问知道是什么原因吗?
1 个回复
CLP
去离线sdk包里找到Libs文件夹,然后找到libuchardet.a这个库,把这个库引入工程