Hi
I tried to compile Open Babel on my Mac so I could have the Python bindings,
but I'm running into problems with Eigen2. When I compile without reference to
Eigen, the configuration completes without errors, but when I include the
–DEIGEN2_INCLUDE_DIR I get the following error:
…
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of clock_t
-- Check size of clock_t - done
-- Performing Test SCANDIR_NEEDS_CONST
-- Performing Test SCANDIR_NEEDS_CONST - Failed
CMake Error at cmake/modules/FindEigen2.cmake:32 (file):
file Internal CMake error when trying to open file:
~/tools/eigen/Eigen/src/Core/util/Macros.h for reading.
Call Stack (most recent call first):
cmake/modules/FindEigen2.cmake:58 (_eigen2_check_version)
CMakeLists.txt:397 (find_package)
-- checking for module 'cairo'
-- found cairo, version 1.8.8
-- Found Cairo: /Library/Frameworks/GTK+.framework/Resources/lib/libcairo.dylib
-- Cairo found. PNG output will be supported.
-- Looking for getopt
-- Looking for getopt - found
-- GUI will not be built
-- Found PythonInterp:
/Library/Frameworks/Python.framework/Versions/2.7/bin/python (found version
"2.7.2")
-- Found PythonLibs: /usr/lib/libpython2.7.dylib
-- Python bindings will be compiled
-- Configuring incomplete, errors occurred!
Everything else is fine, the only other warning in the output is wxWidgets
which I'm not installing. The Macros.h file is in the location specified, and
I am using Eigen 2.0.16, not Eigen 3. I was able to get Open Babel to compile
before, but I was running Snow Leopard. Would this be an issue with Lion being
64 bit?
My command line is :
cmake ../openbabel-2.3.1 -DEIGEN2_INCLUDE_DIR=~/tools/eigen2
-DPYTHON_BINDINGS=0N
Any help would be greatly appreciated.
Thanks
Hassan
Hassan Mamdani MSci MPhil MRSC
Research Scientist
ProMetic Biosciences UK
211 Cambridge Science Park, Milton Road
Cambridge, CB4 0ZA
Tel: +44 (0) 1223 433861
fax: +44 (0) 1223 420270
Email: hmamd...@prometicbiosciences.com<mailto:sf...@prometicbiosciences.com>
P Please consider the environment before printing this e-mail.
Avant d'imprimer ce courriel, pensez à l'environnement.
Notice: This email is confidential and intended for the exclusive use of the
addressee. If you are not the intended addressee, please notify us immediately
by e-mail, delete the original without keeping a copy and do not disclose its
content or use the information for any purpose.
Avis : Ce courriel est confidentiel et à l'usage exclusif du destinataire. Si
vous avez reçu ce courriel par erreur, veuillez nous en informer immédiatement
par courriel, effacer l'original sans en conserver de copie et ne pas en
dévoiler le contenu ni utiliser l’information pour quelque fin que ce soit.
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss