I have the following code in the RLibPINVOKE.cs:
[global::System.Runtime.InteropServices.DllImport("SwigW", EntryPoint="CSharp_new