![](/img/trans.png)
[英]in linux, mono invoke my .so lib return System.EntryPointNotFoundException
[英]System.EntryPointNotFoundException error in SWIG on mono 2.8
我問及在Mono 2.8運行痛飲例子錯誤這里 。
添加“ -arch i386”可以通過簡單的示例解決該問題,但是當我嘗試運行其他示例時,例如,使用Examples / csharp / variables時出現以下錯誤:
Unhandled Exception: System.EntryPointNotFoundException: CSharp_ivar_set at (wrapper managed-to-native) examplePINVOKE:ivar_set (int) at example.set_ivar (Int32 value) [0x00000] in :0 at runme.Main () [0x00000] in :0
讀取ivar_set似乎沒有問題。
Mono: Searching for 'CSharp_ivar_set'. Mono: Probing 'CSharp_ivar_set'. Mono: Probing 'CSharp_ivar_set'. Mono: Probing 'CSharp_ivar_setA'. Mono: Probing 'CSharp_ivar_setA'.
examplePINVOKE.cs在第191行有[DllImport(“ example”,EntryPoint =“ CSharp_ivar_set”)]。
可能是什么問題?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.