
Rene Rivera wrote:
Alexey Bakhvalov wrote:
I am trying to build Boost RC1 and I have problem if I enable zlib and bzip2 support for IOStreams library. I am using Boost.Build system and I get the following error during the build process:
unknown dependent target <@boost!libs!iostreams!build>libboost_bzip2.lib
The build is executed from Boost root directory using .bat-file of the following contents:
set NO_BZIP2=0 set NO_ZLIB=0
Am I doing something wrong or it's a problem of the build system?
I'm not totally sure, but I think that you need to remove the "set NO_*" lines. The iostreams build seems to use the *_SOURCE, and *_INCLUDE as an indicator to include the compression filters.
Rene is correct. I get the same error as you if I define NO_BZIP2=0 and NO_ZLIB=0, but everything works if I leave these variables undefined. Maybe I should check for inconsistent values of these variables and issue a warning. Jonathan