The Cygwin environment allows running UNIX tools (such as Open Babel) from a command-line, much like Linux.
There are some slight differences between running Open Babel on Cygwin and other environments.
- Currently, dynamic loading of file format modules is not possible on Cygwin.
- DLLs generated by Cygwin are not compatible with those distributed with conventional Windows installations.
Cygwin installation has caused some users problems. See here how igor_filippov overcame them.
Step-by-step Installation Instructions for OpenBabel on Cygwin
Before installing, these instructions assume that you have installed GCC and G++ packages using Cygwin's setup tool.
These instructions describe the installation procedure for OpenBabel 2.2.0. For more different releases, the version number will be different and you should take this in account when reading the instructions below. In addition, these instructions assume that you have root access.
(1) Download the latest version (2.2.0, currently)
(2) Open a command window, change directory into 'openbabel', and decompress the downloaded file with following command:
tar zxvf openbabel-2.2.0.tar.gz
This will create a folder called 'openbabel-2.2.0'.
(3) You now need to configure and compile openbabel. To do this, change directory into 'openbabel-2.2.0'. Run the following commands, one after the other
./configure | tee configure.out make | tee make.out
If there are any errors at this point, send an email to the openbabel-discuss mailing list and attach the files 'configure.out' and 'make.out'.
(4) If you have root permissions, you should install openbabel globally. As root, run the following command: