On 28 July 2011 14:23, Daniel Bradburn
Hi Thanks, I tried moving the location of zlib and use the following command line now: "../../../bjam" -sZLIB_SOURCE=C:\Development\sdk\gzip\124\ -sZLIB_HEADER=C:\Development\sdk\gzip\124\ It's actually managing to build zlib now, but I still get the following error... ..\..\..\libs\iostreams\src\zlib.cpp(20) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory Anyone got any ideas?
You probably should be using ZLIB_INCLUDE, not ZLIB_HEADER. If that doesn't resolve it, look in output after the compilation failure, bjam should print out the command that was run (or use 'bjam -na' which will print out all the commands bjam would run). Check the include parameter in that, and compare it to the location of zlib.h.