|
Boost-Build : |
Subject: Re: [Boost-build] Building Zlib and Iostreams
From: Craig Henderson (cdm.henderson_at_[hidden])
Date: 2009-07-13 04:51:13
> >
> > I have re-built Boost.Iostreams with ZLib 1.2.3 and the following code
snip
> > produces a linker error
> >
> > LINK : fatal error LNK1104: cannot open file
> > 'libboost_zlib-vc80-mt-gdp-1_39.lib'
>
> This is static, debug library, with STLport. Are you using STLport in your
> project? Did you build Boost with stlport or maybe you've missed
stdlib=stlport?
>
Yes, I am successfully using STLPort with Boost. I built Boost with:
set
include=C:\root\Development\Library\STLport\STLport-5.2.1\stlport;%include%
set INCLUDE=%INCLUDE%;C:\root\Development\Library\zlib\include
set LIBPATH=%LIBPATH%;C:\root\Development\Library\zlib\lib
set ZLIB_BINARY=zdll
..\bjam --toolset=msvc stdlib=stlport "stdlib:stlport-iostream=on"
The documentation for building iostreams isn't great, but it says there's a
NO_ZLIB variable that defaults to 1 to Windows. It doesn't say, where this
is - do I need to change some config somewhere?
Thanks
-- Craig
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk