On Fri, Jun 10, 2011 at 10:46 AM, Noel O'Boyle <[email protected]> wrote:

> >> I'll add it in, but you may also want to check for any other missing
> >> classes in which you are interested and let us know.
> >
> > Everything mentioned at/required
> > for http://openbabel.org/api/2.3/group__conformer.shtml would be nice. I
> > think I was wondering about something else a week ago, but it must not
> have
> > been that important. I will let you know if there is anything else.
> Should I
> > just reply to this thread then?
> > Do I have to wait for the next release of Open Babel or how will it work?
>
> If you check out the latest version from Subversion, you should find
> everything in there. You should build with -DRUN_SWIG=ON (and, if
> necessary, -DSWIG_EXECUTABLE=whatever).
>

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
>
> make[2]: *** [/Users/mkj/openbabel/trunk/scripts/java/openbabel-java.cpp]
>> Error 2
>
> make[1]: *** [scripts/CMakeFiles/bindings_java.dir/all] Error 2
>
> make: *** [all] Error 2
>
>
Do you have any suggestions?

Thanks,
Martin.


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

Reply via email to