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

MS-Windows

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.

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.2.6). 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 instruct the `install' procedure to 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.


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

George B. Moody (george@mit.edu)