Re: [Open Babel] Java bindings for openbabel 2.4.0

2016-10-05 Thread Noel O'Boyle
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. I the both the jar and jnilib files are > created. The problem that arises is when I try to run openbabel within my > java application. I implement the tutorial and I get:

Re: [Open Babel] Java bindings for openbabel 2.4.0

2016-10-05 Thread Noel O'Boyle
Sorry - missed that. It's best to ignore that README as you shouldn't need to run g++ yourself. The bindings are built when you run "make && make install". Just make sure that CMake finds Eigen at the configure step. If it still doesn't work please provide your CMakeCache.txt, and the output of "V

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 I can import and

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! http://sdm.link/slashdo

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 ports, > downloaded s

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 build the java bin

[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 MacO