I need some help to resolve this problem. I got an error when I compiled Samtools under Cygwin (windows 8 64 bit).
I got the following message:
ADMIN@USER ~/samtools-0.1.19
$ make
make[1]: Entering directory '/cygdrive/c/Users/ADMIN/Cygwin/home/samtools-0.1.19'
make[2]: Entering directory '/cygdrive/c/Users/ADMIN/Cygwin/home/samtools-0.1.19'
gcc -c -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -DBGZF_CACHE -I. bgzf.c -o bgzf.o
In file included from bgzf.c:32:0:
bgzf.h:33:18: fatal error: zlib.h: No such file or directory
#include <zlib.h>
^
compilation terminated.
Makefile:56: recipe for target 'bgzf.o' failed
make[2]: *** [bgzf.o] Error 1
make[2]: Leaving directory '/cygdrive/c/Users/ADMIN/Cygwin/home/samtools-0.1.19'
Makefile:27: recipe for target 'lib-recur' failed
make[1]: *** [lib-recur] Error 1
make[1]: Leaving directory '/cygdrive/c/Users/ADMIN/Cygwin/home/samtools-0.1.19'
Makefile:27: recipe for target 'all-recur' failed
make: *** [all-recur] Error 1
please tell me what went wrong and how I need to correct it. I tried to make a few changes to the Makefile like changed the -D_CURSES_LIB=1 to -D_CURSES_LIB=0 changed "LIBCURSES= -lcurses # -lXCurses" to "LIBCURSES= # -lcurses # -lXCurse
the error message still continues, please help..