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:


   1. 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")


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

Reply via email to