> Using revision 4513 I have no luck getting a .jar file generated. I executed > the following commands in /Users/mkj/openbabel/build on Mac OS X 10.6.7: >> >> cmake ../trunk -DCMAKE_INSTALL_PREFIX=/Users/mkj/openbabel/install >> -DEIGEN2_INCLUDE_DIR=/Users/mkj/Downloads/eigen-eigen-0938af7840b0 - >> >> DRUN_SWIG=ON -DSWIG_EXECUTABLE=/Users/mkj/openbabel/swig/bin/swig >> >> make -j 2 > > > This completes successfully, but there is no .jar files in openbabel/trunk > or openbabel/build. I then tried adding the following: >> >> -DJAVA_BINDINGS=ON > > This results in the following error: >>> >>> [ 99%] Built target test_unitcell >>> >>> [ 99%] Generating >>> /Users/mkj/openbabel/trunk/scripts/java/openbabel-java.cpp >>> >>> /Users/mkj/openbabel/trunk/include/openbabel/isomorphism.h:159: Warning >>> 325: Nested class not currently supported (Functor ignored) >>> >>> javac: file not found: org/openbabel/*.java >>> >>> Usage: javac <options> <source files> >>> >>> use -help for a list of possible options >>>
I spent a little while trying to fix this but was unable to do so. It's something weird with CMake. The workaround is to rerun make for the bindings, e.g. with "make bindings_java". It should work the second time. If OBConformerSearch is not found, it's likely that Eigen2 was not found. See the install instructions and look at the output of running CMake. - Noel ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ OpenBabel-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
