Re: [Open Babel] Java bindings for openbabel 2.4.0

2016-10-06 Thread Jason Ott
Here is the simple code I wrote to test loading the library: public static void runOpenBabel() { logger.info(System.getProperty("java.library.path")); try { //System.load("~/Applications/openbabel/lib/libopenbabel_java.jnilib"); System.loadLibrary("openbabel_java");

Re: [Open Babel] Java bindings for openbabel 2.4.0

2016-10-06 Thread Jason Ott
MacOS Sierra 10.12 (16A323) with 2.4.0 of OpenBabel and Java 1.8.0_60 On Wed, Oct 5, 2016 at 11:30 PM, Noel O'Boyle wrote: > What exact OS and version are you using? > > On 5 Oct 2016 10:47 p.m., "Jason Ott" wrote: > >> The bindings get built just fine.

Re: [Open Babel] Java bindings for openbabel 2.4.0

2016-10-06 Thread Jason Ott
That worked like a charm! Thanks. So now I have been trying to include said java bindings in my project... I added the openbabel.jar file to my classpath. So I can import and all classes are resolved and looking good! However, when I try running the basic program from the tutorial

Re: [Open Babel] Java bindings for openbabel 2.4.0

2016-10-06 Thread Jason Ott
I have eigen3 installed. If you look at my gcc install command. I had to add a path for it. It's there and functional. On Oct 5, 2016 10:55, "Noel O'Boyle" wrote: > This part is covered in the docs at least. You are missing eigen. > > On 5 Oct 2016 6:02 p.m., "Jason Ott"

Re: [Open Babel] Java bindings for openbabel 2.4.0

2016-10-05 Thread Noel O'Boyle
This part is covered in the docs at least. You are missing eigen. On 5 Oct 2016 6:02 p.m., "Jason Ott" wrote: > That worked like a charm! Thanks. So now I have been trying to include > said java bindings in my project... > > I added the openbabel.jar file to my classpath. So

Re: [Open Babel] Java bindings for openbabel 2.4.0

2016-10-05 Thread Geoffrey Hutchison
My fault - I'll issue a 2.4.1 shortly (i.e., either today or tomorrow, US time). Thanks, -Geoff -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org!

Re: [Open Babel] Java bindings for openbabel 2.4.0

2016-10-05 Thread David Hall
I believe swig is needed for creating java (and python) bindings and it says swig was not found -David > On Oct 4, 2016, at 8:10 PM, Jason Ott wrote: > > Hello all! > > I have been trying all day to build the java bindings for open babel. I have: > installed through mac

Re: [Open Babel] Java bindings for openbabel 2.4.0

2016-10-05 Thread Noel O'Boyle
Ah -- looks like we missed something in the release. The Swig bindings should have been included. As it is, you will need to install swig, and specify -DSWIG_EXECUTABLE=whatever. - Noel On 5 October 2016 at 01:10, Jason Ott wrote: > Hello all! > > I have been trying all day to

[Open Babel] Java bindings for openbabel 2.4.0

2016-10-05 Thread Jason Ott
Hello all! I have been trying all day to build the java bindings for open babel. I have: 1. installed through mac ports, 2. downloaded source and compiled using the following flags: -DCMAKE_INSTALL_PREFIX=~/Applications/openbabel -DJAVA_BINDINGS=ON -DBUILD_GUI=OFF I am running