<div dir="ltr">I'm fairly sure that org_crosswire_sword_SWMgr_new() is a specific thing to the C# bindings. The appropriate namespace in the C++ library is "sword::SWMgr::new". The org.crosswire part is left out of the C++ namespacing. Perhaps there is a shim library that bridges the gap between the C++ lib and the C# bindings that's missing?<div>
<div><br></div><div>--Greg</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Aug 27, 2014 at 9:07 PM, Jon Behrens <span dir="ltr"><<a href="mailto:jbb@crimsonthread.com" target="_blank">jbb@crimsonthread.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<font face="Helvetica, Arial, sans-serif">Hello again<br>
<br>
I though finding 'libsword.so' would fix the problem, but not so.
Compiling and running<br>
the C# LookupExample in the distribution package still gives the
following error:<br>
<br>
Unhandled Exception:<br>
System.EntryPointNotFoundException: org_crosswire_sword_SWMgr_new<br>
at (wrapper managed-to-native)
Sword.NativeMethods:org_crosswire_sword_SWMgr_new ()<br>
at Sword.Manager..ctor () [0x00008] in
/raid/swordProject/bindings/csharp/Manager.cs:26 <br>
at Sword.Tests.LookupExample.Lookup (System.String modName,
System.String key) [0x00001] in
/raid/swordProject/bindings/csharp/examples/LookupExample.cs:33 <br>
at Sword.Tests.LookupExample.Main (System.String[] args)
[0x00020] in
/raid/swordProject/bindings/csharp/examples/LookupExample.cs:27 <br>
[ERROR] FATAL UNHANDLED EXCEPTION:
System.EntryPointNotFoundException: org_crosswire_sword_SWMgr_new<br>
at (wrapper managed-to-native)
Sword.NativeMethods:org_crosswire_sword_SWMgr_new ()<br>
at Sword.Manager..ctor () [0x00008] in
/raid/swordProject/bindings/csharp/Manager.cs:26 <br>
at Sword.Tests.LookupExample.Lookup (System.String modName,
System.String key) [0x00001] in
/raid/swordProject/bindings/csharp/examples/LookupExample.cs:33 <br>
at Sword.Tests.LookupExample.Main (System.String[] args)
[0x00020] in
/raid/swordProject/bindings/csharp/examples/LookupExample.cs:27 <br>
<br>
Since I assume the function '<span style="color:#444444">org_crosswire_sword_SWMgr_new</span><span style="color:#444444">()' does in fact exist in libsword.so,
the only thing I can imagine is that there's a path variable not
set somewhere.<br>
<br>
As I mentioned before, I'm a real newby to Linux, so this may be
something obvious to<br>
someone with more experience.<br>
<br>
Thanks for any help<span class="HOEnZb"><font color="#888888"><br>
<br>
Jon</font></span></span> </font>
</div>
<br>_______________________________________________<br>
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page<br></blockquote></div><br></div>