Ok, I am trying to complile zlib-1.1.4 on Windows XP using mingw make. It apears that I am missing stdio.h somewhere.
Here is the output I get:
Quote:
C:\ntop-2.2\ntop-2.2\gdchart0.94c\zlib-1.1.4>make -f Makefile.mingw
gcc -O3 -DHAVE_UNISTD_H -c -o example.o example.c
example.c:8:19: stdio.h: No such file or directory
In file included from zlib.h:34,
from example.c:9:
zconf.h:239:41: sys/types.h: No such file or directory
zconf.h:240:52: unistd.h: No such file or directory
If you are running Visual Studio in XP, then the C++ libraries like stdio.h and unistd.h are located in the "include" directory in the visual studio folder (e.g. <drive letter>:\Program Files\Microsoft Visual Studio\VC98\Include)...
However, if you are just compiling the source so that you can include the libraries in a later program, get the pre-built *.h files here. Or here is a link to the ZIP file
Just my two cents...
__________________
Talking in numbers doesn't make you smarter.