[sword-devel] C# binding difficulty

refdoc@gmx.net refdoc at gmx.net
Wed Aug 27 13:52:03 MST 2014


Libsword.so is the compiled binary, so i guess you have it somewhere, but hiding

----- Reply message -----
From: "Jon Behrens" <jbb at crimsonthread.com>
To: <sword-devel at crosswire.org>
Subject: [sword-devel] C# binding difficulty
Date: Wed, Aug 27, 2014 21:40


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


_______________________________________________
sword-devel mailing list: sword-devel at crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20140827/6b68aeca/attachment.html>


More information about the sword-devel mailing list