Have you tried first of all compiling it as per the instructions?
http://openbabel.org/docs/dev/Installation/install.html#windows-msvc

Here is the command that ctest uses on my machine to compile
everything at the command-line:
C:\PROGRA~2\MICROS~1.0\Common7\IDE\VCExpress.exe openbabel.sln /build
Release /project ALL_BUILD
(from "grep MAKE_COMMAND CMakeCache.txt")
Note that it runs in the background without any screen output.

The development version does not include the Java bindings. You need
to build them yourself. Unzip Swig 2.0.7 somewhere and specify its
location with -DSWIG_EXECUTABLE=whereever.

We welcome anything you can do to mavenize Open Babel, but you
probably know more about Java than the rest of us put together so it's
pretty much down to you to sort it out and document it.

- Noel

On 11 June 2012 00:59, N David Brown <hubd...@gmail.com> wrote:
> Hello all,
>
> I created the following batch script to run CMake on OpenBabel sources
> (located in checkout/OpenBabel), then build the generated project:
>
> "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86 &&
> mkdir checkout\OpenBabel\build && cd checkout\OpenBabel\build && cmake
> -DCMAKE_BUILD_TYPE="Release" -DZLIB_INCLUDE_DIR=..\include
> -DLIBXML2_INCLUDE_DIR=..\include
> -DZLIB_LIBRARY=..\windows-vc2008\zlibs\x64\lib1.lib
> -DLIBXML2_LIBRARIES=..\windows-vc2008\libs\x64\libxml2.lib -DRUN_SWIG=ON
> -DJAVA_BINDINGS=ON -G "Visual Studio 9 2008" .. && vcbuild ALL_BUILD.vcproj
>
> I'm facing two problems:
>
> I've included -DRUN_SWIG=ON simply because without it I'm warned that Java
> bindings could not be found.
> However, upon inclusion the following output is produced:
>
> -- Could NOT find PythonInterp (missing:  PYTHON_EXECUTABLE)
> -- 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")
>
>
> The vcbuild command produces the following output despite the project not
> yet being built:
>
> Microsoft (R) Visual C++ Project Builder - Command Line Version 9.00.30729
> Copyright (C) Microsoft Corporation. All rights reserved.
> Build started: Project: ALL_BUILD, Configuration: Debug|Win32
> ALL_BUILD - up-to-date
> Build started: Project: ALL_BUILD, Configuration: Release|Win32
> ALL_BUILD - up-to-date
> Build started: Project: ALL_BUILD, Configuration: MinSizeRel|Win32
> ALL_BUILD - up-to-date
> Build started: Project: ALL_BUILD, Configuration: RelWithDebInfo|Win32
> ALL_BUILD - up-to-date
>
> I'd be extremely grateful if you can suggest how I overcome these issues.
>
> Sincere thanks,
>
> David
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> OpenBabel-Devel mailing list
> OpenBabel-Devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openbabel-devel
>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to