[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

MS-Windows

The WFDB Software Package, except for WAVE, has been successfully compiled under all modern versions of MS-Windows (including MS-Windows 95, 98, ME, NT, 2000, and XP) using the Cygwin development environment.

If you have not already done so, install the Cygwin development environment (freely available from http://www.cygwin.com). This includes gcc (the GNU C/C++ compiler) as well as a comprehensive assortment of other Unix utilities ported to MS-Windows. Accept the defaults suggested by the installer, but be sure to select and install the bc, curl-devel, gcc, gcc-mingw, gv, ImageMagick, make, sunrpc, and xorg-x11-devel packages (these are not installed by default in a minimal Cygwin installation).

Important: Although you may be able to compile the WFDB software package using a proprietary compiler, this is not supported. The Makefile.dos files in several of the subdirectories of the package's source tree can be used with the make utilities provided with most commercial C compilers, although you will need to customize them for your compiler. Your feedback is appreciated.

Open a Cygwin terminal window (the Cygwin installer will have added this to your MS-Windows start menu). Perform the remaining steps by typing the commands given below into the terminal window.

Check that gcc is accessible by typing the command:

 
which gcc

The output of this command should be:

 
/usr/bin/gcc

If you don't see this output, repeat the steps above as necessary to correct the problem before continuing.

Unpack the gzip-compressed tar archive you downloaded earlier, using the tar command included with the Cygwin package:

 
tar xfvz wfdb.tar.gz

If your browser decompressed the file during the download, use this command instead:

 
tar xfv wfdb.tar

This will create a directory with a name of the form wfdb-m.n.r, where m.n.r is the version number of the included WFDB library (e.g., 10.2.6). Enter this directory.

You should now be ready to configure, compile, and install the software, using the commands:

 
./configure
make install

[ < ] [ > ]   [ << ] [ Up ] [ >> ]

George B. Moody (george@mit.edu)