cmake generate IOS project : Undefined symbols for architecture arm64

cmake generate IOS project : Undefined symbols for architecture arm64

cmake generate IOS project : Undefined symbols for architecture arm64

Undefined symbols for architecture arm64:
“_pcre2_match_16”, referenced from:
safe_pcre2_match_16(pcre2_real_code_16 const*, unsigned short const*, int, int, int, pcre2_real_match_data_16*, pcre2_real_match_context_16*) in libQt5Core_debug.a(qregularexpression.o)
“_pcre2_match_context_create_16”, referenced from:
QRegularExpressionPrivate::doMatch(QString const&, int, int, int, QRegularExpression::MatchType, QFlagsQRegularExpression::MatchOption, QRegularExpressionPrivate::CheckSubjectStringOption, QRegularExpressionMatchPrivate const*) const in libQt5Core_debug.a(qregularexpression.o)
“_pcre2_jit_stack_assign_16”, referenced from:
QRegularExpressionPrivate::doMatch(QString const&, int, int, int, QRegularExpression::MatchType, QFlagsQRegularExpression::MatchOption, QRegularExpressionPrivate::CheckSubjectStringOption, QRegularExpressionMatchPrivate const*) const in libQt5Core_debug.a(qregularexpression.o)
“_pcre2_jit_stack_create_16”, referenced from:
QPcreJitStackPointer::QPcreJitStackPointer() in libQt5Core_debug.a(qregularexpression.o)
“_pcre2_match_data_create_from_pattern_16”, referenced from:
QRegularExpressionPrivate::doMatch(QString const&, int, int, int, QRegularExpression::MatchType, QFlagsQRegularExpression::MatchOption, QRegularExpressionPrivate::CheckSubjectStringOption, QRegularExpressionMatchPrivate const*) const in libQt5Core_debug.a(qregularexpression.o)
“_pcre2_jit_stack_free_16”, referenced from:
QPcreJitStackPointer::~QPcreJitStackPointer() in libQt5Core_debug.a(qregularexpression.o)
“_pcre2_get_ovector_pointer_16”, referenced from:
QRegularExpressionPrivate::doMatch(QString const&, int, int, int, QRegularExpression::MatchType, QFlagsQRegularExpression::MatchOption, QRegularExpressionPrivate::CheckSubjectStringOption, QRegularExpressionMatchPrivate const*) const in libQt5Core_debug.a(qregularexpression.o)
“_pcre2_match_data_free_16”, referenced from:
QRegularExpressionPrivate::doMatch(QString const&, int, int, int, QRegularExpression::MatchType, QFlagsQRegularExpression::MatchOption, QRegularExpressionPrivate::CheckSubjectStringOption, QRegularExpressionMatchPrivate const*) const in libQt5Core_debug.a(qregularexpression.o)
“_pcre2_jit_compile_16”, referenced from:
QRegularExpressionPrivate::optimizePattern(QRegularExpressionPrivate::OptimizePatternOption) in libQt5Core_debug.a(qregularexpression.o)
“_pcre2_config_16”, referenced from:
QRegularExpressionPrivate::getPatternInfo() in libQt5Core_debug.a(qregularexpression.o)
“_pcre2_pattern_info_16”, referenced from:
QRegularExpressionPrivate::getPatternInfo() in libQt5Core_debug.a(qregularexpression.o)
QRegularExpressionPrivate::doMatch(QString const&, int, int, int, QRegularExpression::MatchType, QFlagsQRegularExpression::MatchOption, QRegularExpressionPrivate::CheckSubjectStringOption, QRegularExpressionMatchPrivate const*) const in libQt5Core_debug.a(qregularexpression.o)
“_pcre2_code_free_16”, referenced from:
QRegularExpressionPrivate::cleanCompiledPattern() in libQt5Core_debug.a(qregularexpression.o)
“_kUTTagClassFilenameExtension”, referenced from:
isPackage(QFileSystemMetaData const&, QFileSystemEntry const&) in libQt5Core_debug.a(qfilesystemengine_unix.o)
“_UTTypeConformsTo”, referenced from:
isPackage(QFileSystemMetaData const&, QFileSystemEntry const&) in libQt5Core_debug.a(qfilesystemengine_unix.o)
“_pcre2_match_context_free_16”, referenced from:
QRegularExpressionPrivate::doMatch(QString const&, int, int, int, QRegularExpression::MatchType, QFlagsQRegularExpression::MatchOption, QRegularExpressionPrivate::CheckSubjectStringOption, QRegularExpressionMatchPrivate const*) const in libQt5Core_debug.a(qregularexpression.o)
“_pcre2_compile_16”, referenced from:
QRegularExpressionPrivate::compilePattern() in libQt5Core_debug.a(qregularexpression.o)
“_kUTTypeBundle”, referenced from:
isPackage(QFileSystemMetaData const&, QFileSystemEntry const&) in libQt5Core_debug.a(qfilesystemengine_unix.o)
“_UTTypeCreatePreferredIdentifierForTag”, referenced from:
isPackage(QFileSystemMetaData const&, QFileSystemEntry const&) in libQt5Core_debug.a(qfilesystemengine_unix.o)
“_uncompress”, referenced from:
qUncompress(unsigned char const*, int) in libQt5Core_debug.a(qbytearray.o)
(maybe you meant: _z_uncompress)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值