Dear Ernst-George, I was able to compile OB on MinGW - though not the static library which was my original goal. Please see the comments in this bug report, perhaps they will resolve the problem for you: https://sourceforge.net/tracker/?func=detail&aid=3095855&group_id=40728&atid=428740
Igor On Wed, 2010-10-27 at 03:23 -0400, ernst-georg.sch...@bayer.com wrote: > Hi, > > I'm trying to build 2.3.0 with MSYS/MinGW as described here > http://openbabel.org/wiki/Install_%28MinGW%29 > > My command line is: > > cmake -G "MSYS Makefiles" -DBUILD_SHARED=OFF -DCMAKE_INSTALL_PREFIX=/tmp > -D > ZLIB_INCLUDE_DIR=/include -DZLIB_LIBRARY=/lib/libz.a > > Unfortunately cmake fails with the following CMakeError.log: > > Determining if the C compiler works failed with the following output: > Change Dir: C:/msys/1.0/home/imseg/openbabel-2.3.0/CMakeFiles/CMakeTmp > > Run Build Command:C:/MinGW/bin/make.exe "cmTryCompileExec/fast" > C:/MinGW/bin/make.exe -f CMakeFiles/cmTryCompileExec.dir/build.make > CMakeFiles/cmTryCompileExec.dir/build > make.exe[1]: Entering directory > `C:/msys/1.0/home/imseg/openbabel-2.3.0/CMakeFiles/CMakeTmp' > "/D/program files/CMake 2.8/bin/cmake.exe" -E cmake_progress_report > /C/msys/1.0/home/imseg/openbabel-2.3.0/CMakeFiles/CMakeTmp/CMakeFiles 1 > Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj > /C/MinGW/bin/gcc.exe -o > CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj -c > /C/msys/1.0/home/imseg/openbabel-2.3.0/CMakeFiles/CMakeTmp/testCCompiler.c^process_begin: > > CreateProcess(NULL, /C/MinGW/bin/gcc.exe -o > CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj -c > /C/msys/1.0/home/imseg/openbabel-2.3.0/CMakeFiles/CMakeTmp/testCCompiler.c, > ...) failed. > > make (e=3): Das System kann den angegebenen Pfad nicht finden. > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > This means make cannot find a path. I suspect it's > /C/msys/1.0/home/imseg/openbabel-2.3.0/CMakeFiles/CMakeTmp/CMakeFiles/cmTryCompileExec.dir > > because that is empty, an does not contain anything. > > /C/msys/1.0/home/imseg/openbabel-2.3.0/CMakeFiles/CMakeTmp/testCCompiler.c > is also not present and hence cannot be compiled. > > make.exe[1]: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.obj] > Error 3^make.exe[1]: Leaving directory > `C:/msys/1.0/home/imseg/openbabel-2.3.0/CMakeFiles/CMakeTmp' > make.exe: *** [cmTryCompileExec/fast] Error 2 > > Any hints? > > best regards, > > Ernst-Georg > > ------------------------------------------------------------------------------ > Nokia and AT&T present the 2010 Calling All Innovators-North America contest > Create new apps & games for the Nokia N8 for consumers in U.S. and Canada > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store > http://p.sf.net/sfu/nokia-dev2dev > _______________________________________________ > OpenBabel-Devel mailing list > OpenBabel-Devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openbabel-devel ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ OpenBabel-Devel mailing list OpenBabel-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-devel