第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問(wèn)題,去搜搜看,總會(huì)有你想問(wèn)的

Qt5 上的 Go 靜態(tài)庫(kù):架構(gòu) x86_64 的未定義符號(hào):

Qt5 上的 Go 靜態(tài)庫(kù):架構(gòu) x86_64 的未定義符號(hào):

Go
慕勒3428872 2023-07-31 15:12:37
我在 Qt5 中使用 go build 靜態(tài)庫(kù),我.pro通過(guò)以下方式將其添加到文件中:LIBS += /Users/xxxx/Desktop/xxxxxx/framework/xxxx.a當(dāng)我編譯時(shí),它給了我這個(gè)錯(cuò)誤:Undefined symbols for architecture x86_64:  "_SecCertificateCopyNormalizedIssuerContent", referenced from:      _isRootCertificate in xxxx.a(000021.o)  "_SecCertificateCopyNormalizedSubjectContent", referenced from:      _isRootCertificate in xxxx.a(000021.o)  "_SecCertificateCopyShortDescription", referenced from:      _CopyPEMRoots in xxxx.a(000021.o)  "_SecItemExport", referenced from:      _CopyPEMRoots in xxxx.a(000021.o)  "_SecPolicyCopyProperties", referenced from:      _isSSLPolicy in xxxx.a(000021.o)  "_SecTrustSettingsCopyCertificates", referenced from:      _CopyPEMRoots in xxxx.a(000021.o)  "_SecTrustSettingsCopyTrustSettings", referenced from:      _sslTrustSettingsResult in xxxx.a(000021.o)  "_kSecPolicyAppleSSL", referenced from:      _isSSLPolicy in xxxx.a(000021.o)  "_kSecPolicyOid", referenced from:      _isSSLPolicy in xxxx.a(000021.o)ld: symbol(s) not found for architecture x86_64clang: error: linker command failed with exit code 1 (use -v to see invocation)make: *** [xxxx.app/Contents/MacOS/xxxx] Error 109:27:27: The process "/usr/bin/make" exited with code 2.Error while building/deploying project xxxx (kit: Desktop Qt 5.13.1 clang 64bit)When executing step "Make"它出什么問(wèn)題了?如何解決這個(gè)問(wèn)題呢?我已經(jīng)嘗試過(guò)clean并運(yùn)行qmake。然而它沒(méi)有用。我也嘗試重新編譯靜態(tài)庫(kù),不幸的是,它也不起作用。
查看完整描述

1 回答

?
蝴蝶刀刀

TA貢獻(xiàn)1801條經(jīng)驗(yàn) 獲得超8個(gè)贊

上面提到的所有符號(hào)都在Apple的Security框架中。
我通過(guò)在我的文件中添加以下代碼片段解決了這個(gè)問(wèn)題.pro。

macx?{
????LIBS?+=?-framework?Security
}

清理所有,運(yùn)行 qmake 并運(yùn)行它?,F(xiàn)在錯(cuò)誤應(yīng)該消失了。


查看完整回答
反對(duì) 回復(fù) 2023-07-31
  • 1 回答
  • 0 關(guān)注
  • 162 瀏覽
慕課專欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)