First of all, the only important line is the error message. Second, it works for me. I just tried. Remember to use Cygwin's cmake (i.e. /usr/bin/cmake). Here is the command line I used:
$ /usr/bin/cmake ../openbabel-2.3.2/ -DEIGEN3_INCLUDE_DIR=../eigen-3.1.2 On the other hand, I can't test the compile at the moment - my cygwin C++ compiler is too old... - Noel On 12 December 2012 18:23, S.L. Chan <slch...@yahoo.com> wrote: > Hello folks, > > I tried to compile OpenBabel-2.3.2 using Cygwin on my Windows 7 > laptop. CMake could not complete the configuration process. > Here are some complaints: > conio.h - not found > sranddev - not found > Test SCANDIR_NEEDS_CONST - Failed > Test HAVE_GCC_VISIBILITY - Failed > > Then there is this one: > CMake Error at cmake/modules/FindEigen3.cmake:33 (file): > file Internal CMake error when trying to open file: > ~/Eigen-3.1.2/Eigen/src/Core/util/Macros.h for reading. > Call Stack (most recent call first): > cmake/modules/FindEigen3.cmake:59 (_eigen3_check_version) > CMakeLists.txt:424 (find_package) > > Finally it says that it "could not find PkgConfig (missing: > PKG_CONFIG_EXECUTABLE)". Otherwise it seems to insist on > having zlib around. > > > > So, suppose I should obtain "conio.h" and "sranddev"? Apparently > there are different implementation versions of conio.h. Which > one should I get? As for sranddev, shouldn't it come with the > maths package of Cygwin? But I do have the math package already. > > What can I do about the SCANDIR_NEEDS_CONST (problem around > line 250 of CMakeLists.txt) and the > HAVE_GCC_VISIBILITY (line 272 of CMakeLists.txt) complaints? > > Most intriguingly, why did it complain about openning the file > Macros.h in the Eigen package? The file is there and is visible > to all users. > > Thank you for your help! > > Ling > > -------------------------------------------------------- > > my softwares - > > source: openbabel-2.3.2 > cygwin on Windows 7 > cmake: 2.8.9 > C/ C++ compiler: GNU 4.5.3 > Eigen: 3.1.2 > LibXml2: absent > ZLIB: absent (Is it optional, as suggested on the installation > webpage? Apparently cmake does not like not finding it.) > wxwidgets: absent > Cairo: absent > > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > _______________________________________________ > OpenBabel-discuss mailing list > OpenBabel-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openbabel-discuss > ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss