|A problem of using VE's image capture library libswt-gtk-print.so [message #498073]
||Sat, 14 November 2009 07:10
Registered: July 2009
I want to re-use VE's image capture functionality in my project by copy the code of class org.eclipse.ve.internal.swt.targetvm.unix.ImageCapture and the associated library os/linux/x86/libswt-gtk-print.so into my project and try the code out, but it fires a exception says:
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.UnsatisfiedLinkError: com.test.ImageCaptureOnLinux.getPixels(IIIII)[I)
The line of code which causes this exception is:
int tcData = getPixels(handle, includeChildren,maxWidth,maxHeight,0);
while getPixels is a native method comes from the shared library.
I am using ubuntu 9.04 and sure my computer is an Intel x86-32
Can anyone tell my why the exception java.lang.UnsatisfiedLinkError: com.test.ImageCaptureOnLinux.getPixels(IIIII)[I? This message is very confusing.
Any help would be highly appreciated, thanks in advance!
Powered by FUDForum
. Page generated in 0.01787 seconds