[sword-devel] C# binding difficulty

Jon Behrens jbb at crimsonthread.com
Wed Aug 27 13:40:24 MST 2014


Hello

I'm a Windows developer moving to Linux. I've downloaded the latest 
Sword project
via SVN and have finally gotten everything to build and install per the 
INSTALL file
in the main directory.

Moving on to the C# bindings, I've gotten the project to build. When I 
run the
LookupExample, I get 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

Looking at the code, in NativeMethods.cs, it appears to be looking for 
'libsword.so'

That library does not exist on my computer. Could some kind soul please 
direct me to
how to build that library or where to download it?

Thanks,
Jon




More information about the sword-devel mailing list