I'm trying to use the new Leap Motion sensor within OSGi (Felix) but I end up with an EXCEPTION_ACCESS_VIOLATION.
In my manifest I declare the Bundle-NativeCode such as
<Bundle-NativeCode>
x86/Leap.dll;x86/LeapJava.dll;osname=win32;processor=x86
</Bundle-NativeCode>
Of course:
- A simple program with the same libraries outside OSGi works fine
- the two libraries are in my bundle in the 'x86' folder
- "osname=win32;processor=x86" works for me (has been tested with other bunbles
After decompiling the Leap Motion jar, I saw that LeapJava.dll is the only library that is loaded (using System.loadLibrary("LeapJava")). Is it possible that they do not load their other library correctly?
Any idea?
Edit 1: As introduced by a Felix developer, this link may be helpful http://wiki.osgi.org/wiki/Dependencies_In_Native_Code