[Java-gnome-developer] win32 java.lang.UnsatisfiedLinkError: gtk_init
Brought to you by:
afcowie
From: Simon G. <si...@sg...> - 2005-03-07 15:09:53
|
I have built gtk-java using MinGW, no problem. But when I try to run anything I get java.lang.UnsatisfiedLinkError: gtk_init Running nm on the gtkjni-2.4.dll produced shows that symbols are e.g. Java_org_gnu_gtk_Gtk_gtk_1init@16 i.e. the native method is called gtk_1init, and not gtk_init. Can someone explain what is going on here. Probably just my ignorance of how JNI is working, but the method names in the jni c sources don't look like they match what is expected in the java sources. Simon. |