Hi ,
I use `$g++ xxx.cpp -fPIC -shared -o libxxx.so ` to built a shared library on my Mac .
And then I copy It to Assets/Plugins folder .
my c# code
`
[DllImport("xxx")]
public static extern void aaa();`
when I run it in Editor , it always said DllNotFouondException ,
Can I use the '.so' on Mac ?
If I can use it , why cause that exception . Thank you .
↧