[sword-devel] C# runtime problem

Jon Behrens jbb at crimsonthread.com
Wed Aug 27 19:07:43 MST 2014


Hello again

I though finding 'libsword.so' would fix the problem, but not so. 
Compiling and running
the C# LookupExample in the distribution package still gives the 
following error:

Unhandled Exception:
System.EntryPointNotFoundException: org_crosswire_sword_SWMgr_new
   at (wrapper managed-to-native) 
Sword.NativeMethods:org_crosswire_sword_SWMgr_new ()
   at Sword.Manager..ctor () [0x00008] in 
/raid/swordProject/bindings/csharp/Manager.cs:26
   at Sword.Tests.LookupExample.Lookup (System.String modName, 
System.String key) [0x00001] in 
/raid/swordProject/bindings/csharp/examples/LookupExample.cs:33
   at Sword.Tests.LookupExample.Main (System.String[] args) [0x00020] in 
/raid/swordProject/bindings/csharp/examples/LookupExample.cs:27
[ERROR] FATAL UNHANDLED EXCEPTION: System.EntryPointNotFoundException: 
org_crosswire_sword_SWMgr_new
   at (wrapper managed-to-native) 
Sword.NativeMethods:org_crosswire_sword_SWMgr_new ()
   at Sword.Manager..ctor () [0x00008] in 
/raid/swordProject/bindings/csharp/Manager.cs:26
   at Sword.Tests.LookupExample.Lookup (System.String modName, 
System.String key) [0x00001] in 
/raid/swordProject/bindings/csharp/examples/LookupExample.cs:33
   at Sword.Tests.LookupExample.Main (System.String[] args) [0x00020] in 
/raid/swordProject/bindings/csharp/examples/LookupExample.cs:27

Since I assume the function 'org_crosswire_sword_SWMgr_new()' does in 
fact exist in libsword.so, the only thing I can imagine is that there's 
a path variable not set somewhere.

As I mentioned before, I'm a real newby to Linux, so this may be 
something obvious to
someone with more experience.

Thanks for any help

Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20140827/879bf312/attachment-0001.html>


More information about the sword-devel mailing list