[英]System.EntryPointNotFoundException error in SWIG on mono 2.8
I asked about an error for running Swig examples on mono 2.8 here . 我问及在Mono 2.8运行痛饮例子错误这里 。
Adding "-arch i386" solved the issue with simple example, but when I tried to run the other examples, I got the following error, for example, with Examples/csharp/variables : 添加“ -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
There seems to be no problem in reading ivar_set. 读取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 has the [DllImport("example", EntryPoint="CSharp_ivar_set")] at line 191. examplePINVOKE.cs在第191行有[DllImport(“ example”,EntryPoint =“ CSharp_ivar_set”)]。
What might be wrong? 可能是什么问题?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.