Subject: Re: [Boost-build] Building Zlib and Iostreams
From: Craig Henderson (cdm.henderson_at_[hidden])
Date: 2009-07-13 06:17:10
> > > >
> > > > I have re-built Boost.Iostreams with ZLib 1.2.3 and the following
> > 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
> > > 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
> > 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
> > NO_ZLIB variable that defaults to 1 to Windows. It doesn't say, where
> > is - do I need to change some config somewhere?
> You need to specify ZLIB_INCLUDE as well and maybe ZLIB_LIBPATH. You don't
> to poke at NO_ZLIB, in 1.39. The way you set ZLIB_BINARY above seems
> ok. You can use --debug-configuration to see some debugging messages.
Still no luck. I've set the environment variables
And rebuilt the whole Boost library set using
..\bjam --toolset=msvc stdlib=stlport "stdlib:stlport-iostream=on"
and I just can't get Boost.Build to produce
I don't know at what point to expect this library to be built - I'm guess it
is an output from the iostreams build, is that right?
I'm at a loss now - any clues as to how I might debug this to identify where
my configuration is wrong?
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