gpt4 book ai didi

c++ - Monotouch : Adding . 资源,gcc 错误

转载 作者:太空宇宙 更新时间:2023-11-04 14:21:31 25 4
gpt4 key购买 nike

使用这个项目:https://github.com/dalexsoto/Monotouch-AdMob-Bindings

我正在将 AdMob .a 添加到我的 MonoTouch 应用中。我不确定这些编译错误意味着什么,尽管我猜 MonoTouch dll 中的绑定(bind)不正确?:

编译标志:

-v -v -v -gcc_flags "-framework AudioToolbox -L${ProjectDir} -lGoogleAdMobAds -force_load ${ProjectDir}/libGoogleAdMobAds.a"

产生的错误:

Undefined symbols:
"__Unwind_Resume", referenced from:
-[GADIdentifierUtilities locale] in libGoogleAdMobAds.a(GADIdentifierUtilities.o)
-[GADIdentifierUtilities iTunesMetadata] in libGoogleAdMobAds.a(GADIdentifierUtilities.o)
-[GADOpener openNotification:] in libGoogleAdMobAds.a(GADOpener.o)
-[GADNotification initWithNotificationURL:] in libGoogleAdMobAds.a(GADNotification.o)
-[GADWebView initWithFrame:] in libGoogleAdMobAds.a(GADWebView.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status

最佳答案

添加 --cxx 如果足够频繁但是,由于它不起作用,您可能想尝试更具体并添加 -lgcc_s - 这次在gcc_flags,所以使用类似的东西:

-v -v -v -cxx -gcc_flags="-lgcc_s ..."

在您的“额外 mtouch 参数”中。

关于c++ - Monotouch : Adding . 资源,gcc 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7278894/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com