简体   繁体   English

本机绑定Xamarin.Mac

[英]Native binding Xamarin.Mac

I am trying to make native binding for Webrtc.a native library on mac when I include the binding library as reference to my Xamarin.Mac project I get this error : /MMP: Error MM5109: Native linking failed with error code 1. 当我将绑定库包含为对Xamarin.Mac项目的引用时,我试图在Mac上对Webrtc.a本机库进行本机绑定。出现此错误:/ MMP:错误MM5109:本机链接失败,错误代码为1。
I followed all these steps https://developer.xamarin.com/guides/ios/advanced_topics/binding_objective-c/walkthrough/ 我遵循了所有这些步骤https://developer.xamarin.com/guides/ios/advanced_topics/binding_objective-c/walkthrough/

You'll need to dig into the build details on your project to see the specific error. 您需要深入研究项目的构建细节,以查看特定的错误。 It means we invoked clang to build the native launcher and it returned errors (very likely associated to the native library being bound). 这意味着我们调用了clang来构建本机启动器,并返回了错误(很可能与绑定的本机库相关联)。

You can find the build log via: View -> Pads -> Errors then selecting the "Build Output" button. 您可以通过以下方式找到构建日志:视图->填充->错误,然后选择“构建输出”按钮。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM