Home >> Madeline 2.0 under Cygwin for Windows 32-bit OSes


2009.12.17 UPDATE: A brand new compilation of Madeline 2 Revision 89 is now available below. This package was compiled under Cygwin on Windows 7. It may also work on Windows XP.

On this page you can download an experimental pre-compiled builds of Madeline 2.0 PDE for Windows 32-bit operating systems (Windows XP and Windows 7).

The Cygwin environment is required. Cygwin is a Linux-like operating environment for Windows. To use Madeline 2.0 PDE on Windows, you need to first install Cygwin as described below.

To date (2008.10.11), we have tested this build of Madeline only on Windows XP, but it should also work on any 32-bit Windows platform supported by Cygwin.

Please note that this build is not for commercial use.

Step-by-step Instructions

1. Install Cygwin

Cygwin is a Linux-like environment for Windows. It consists of two parts: A DLL, cygwin1.dll, which acts as a Linux API emulation layer providing substantial Linux API functionality, and a collection of tools which provide a Linux look and feel.

Download the Cygwin installer from http://sources.redhat.com/cygwin/. The installer will guide you through a set of options. For the most part, just keep the default options presented by the installer.

When prompted to select software packages, under the Base tab be sure that the following package is selected for installation:

Under the Libs tab be sure that the following packages are selected for installation. Madeline will not run without these:

Under the Utils tab, be sure the following is selected for installation:

Default selections may be used for the rest of the Cygwin installation.

2. Download and Unpack the Madeline 2.0 PDE Package for Windows

Download 2009.12.17 Madeline2 Revision 89 Win32 (XP/Win7) TAR.GZ Package Now

Download TAR.GZ Package Now (WARNING: OBSOLETE/OLD!)

Download ZIP Package Now

Click on the above link or, from a Cygwin command prompt you can do this:

$ wget http://eyegene.ophthy.med.umich.edu/madeline/downloads/2009.12.17_Madeline2_Revision_89_Windows7_Cygwin.tar.gz
$ tar xzvf 2009.12.17_Madeline2_Revision_89_Windows7_Cygwin.tar.gz

$ wget http://eyegene.ophthy.med.umich.edu/madeline/downloads/Madeline2_for_Cygwin_Win32.tar.gz
$ tar xzvf Madeline2_for_Cygwin_Win32.tar.gz

3. Install Madeline

To make Madeline available within the default search $PATH, from within Cygwin move the executable to /usr/local/bin using the following command:

$ cd Madeline2_for_Cygwin_Win32
$ ls -l
$ mv madeline2.exe /usr/local/bin

4. Testing Madeline

You can now test Madeline by having the program retrieve a data file from the internet and draw a pedigree:

$ cd ~
$ madeline http://eyegene.ophthy.med.umich.edu/madeline/testdata/input/cs_001.data
Parser::readNetworkFile(): Opening network file http://eyegene.ophthy.med.umich.edu/madeline/testdata/input/cs_001.data ...
Parser::readFile(): Opening a(n) UTF-8 file ...
Pedigree output file is "cs_001ped.xml"
End of draw

You can view the resulting pedigree cs_001ped.xml in a web browser like Firefox or an SVG editor like Inkscape or Adobe Illustrator.

5. Troubleshooting Tips

If you encounter problems, run cygcheck to see which dynamic link libraries Madeline is using. The output should look something like this:

$ cygcheck ./madeline2.exe

If any dynamic link libraries (DLL's) are missing, you can try copying one or more DLL's from the dlls_used_by_madeline2 directory supplied with the package.

Problems with library version numbers are also possible. Try upgrading Cygwin to the latest version and installing the most recent versions of the required Libs.