I compiled the JNI binding following the instructions (with some
modification) on linux and everything is working fine, except this single
command: SetType in OBAtom, that gives the following error:


Exception in thread "main" java.lang.UnsatisfiedLinkError:
org.openbabel.openbabel_javaJNI.OBAtom_SetType__SWIG_0(JLorg/openbabel/OBAtom;Ljava/lang/String;)V
        at org.openbabel.openbabel_javaJNI.OBAtom_SetType__SWIG_0(Native Method)
        at org.openbabel.OBAtom.SetType(OBAtom.java:99)
        ...


I'm not that experienced in JNI to discover the error: what's going wrong?
I'm using openbabel 2.3.1 on linux. Using the same code written in C++ it
works.

thanks

--
View this message in context: 
http://forums.openbabel.org/openababel-java-cpp-Unsatisfied-Link-on-OBAtom-SetType-tp4655112.html
Sent from the openbabel-devel mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to