next up previous
Next: Other systems Next: Evaluating ECG Analyzers Up: How to obtain the WFDB Software Package Previous: Mac OS X (Darwin)

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 gcc, binutils, and make packages from the Devel category (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.

Before beginning the installation of the WFDB Software Package, obtain and install the libwww package from http://www.w3.org/Library/ or from http://www.physionet.org/physiotools/libwww/. You may omit this step if you do not wish to have NETFILES support.

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.3.0). Enter this directory.

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

./configure
make install

If you have Microsoft or Turbo C or C++, and a Microstar Laboratories DAP 1200- or 2400-series analog interface board, you can compile sample (a program for creating database records from analog signals, and for replaying them in analog form). To do so successfully, you must first have installed the Microstar #include files and DAP interface library on your system. Specifically, files c_lib.c, clock.h, and ioutil.h must be installed in your include directory, and the version of the file cdapl.lib that is compatible with your compiler must be installed in a directory in which libraries are found by your linker. Read and customize lib/Makefile.dos and app/Makefile.dos as appropriate for your compiler, and use your compiler's make utility to generate wfdb.lib and then sample.exe.


next up previous
Next: Other systems Next: Evaluating ECG Analyzers Up: How to obtain the WFDB Software Package Previous: Mac OS X (Darwin)

Up: WFDB Applications Guide


Please e-mail your comments and suggestions to webmaster@physionet.org, or post them to:

PhysioNet
MIT Room E25-505A
77 Massachusetts Avenue
Cambridge, MA 02139 USA

Updated 9 March 2004