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 <jott...@ucr.edu> wrote:
> 
> Hello all!
> 
> I have been trying all day to build the java bindings for open babel.  I have:
> installed through mac ports,
> downloaded source and compiled using the following flags: 
> -DCMAKE_INSTALL_PREFIX=~/Applications/openbabel -DJAVA_BINDINGS=ON 
> -DBUILD_GUI=OFF
> 
> I am running MacOS Sierra.  No special configs or anything.  The java 
> bindings are never generated in the openbabel-openbabel-2.4.0/scripts/java/ 
> folder or anywhere in the installation location.
> 
> When I do the "cmake ./ -DCMAKE_INSTALL_PREFIX=~/Applications/openbabel 
> -DJAVA_BINDINGS=ON -DBUILD_GUI=OFF" I  get the following output:
> -- Using included inchi library.
> -- Could NOT find wxWidgets (missing:  wxWidgets_LIBRARIES 
> wxWidgets_INCLUDE_DIRS)
> -- Checking available shared pointer...
> -- Use std::shared_ptr in memory
> -- Cairo found. PNG output will be supported.
> -- GUI will not be built
> -- Could NOT find SWIG (missing:  SWIG_EXECUTABLE SWIG_DIR)
> -- Could NOT find SWIG (missing:  SWIG_EXECUTABLE SWIG_DIR) (Required is at 
> least version "2.0")
> -- SWIG 2.0 NOT found
> -- Configuring done
> -- Generating done
> -- Build files have been written to: 
> /Users/jason/Desktop/openbabel-openbabel-2-4-0
> 
> So that tells me that that java AND python bindings should exist *somewhere* 
> but they don't. 
> 
> Thanks,
> 
> Jason
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most 
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> OpenBabel-discuss mailing list
> OpenBabel-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to