The Java files are generated by SWIG.

On 10 June 2011 14:05, Martin Kamp Jensen <[email protected]> wrote:
> I just realized that there is a lot of .java files
> in trunk/scripts/java/org/openbabel, but not OBConformerSearch.java and
> related files. I guess new .java files need to be created and/or committed
> besides that fact that the SWIG interface for Java needs to be updated
> and/or committed. Right?
> Regards, Martin.
>
> On Fri, Jun 10, 2011 at 2:43 PM, Martin Kamp Jensen
> <[email protected]> wrote:
>>
>> 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