|
Boost-Build : |
Subject: [Boost-build] Building iostreams with zlib with MSVC
From: James Gregory (james.jrg_at_[hidden])
Date: 2012-01-24 08:09:17
I previously built iostreams successfully with no error messages, but
now I want to build it with zlib support. So I downloaded a zlib
binary distribution from the zlib homepage, and tried building
iostreams with:
b2.exe -s ZLIB_INCLUDE=C:\Users\james\dev\cpplib\zlib\include -s
ZLIB_LIBPATH=C:\Users\james\dev\cpplib\zlib\lib --with-iostreams stage
The output is:
error: No best alternative for libs/iostreams/build/boost_zlib
next alternative: required properties: (empty)
matched
next alternative: required properties: (empty)
matched
error: No best alternative for libs/iostreams/build/boost_zlib
next alternative: required properties: (empty)
matched
next alternative: required properties: (empty)
matched
error: No best alternative for libs/iostreams/build/boost_zlib
next alternative: required properties: (empty)
matched
next alternative: required properties: (empty)
matched
error: No best alternative for libs/iostreams/build/boost_zlib
next alternative: required properties: (empty)
matched
next alternative: required properties: (empty)
matched
Component configuration:
- chrono : not building
- date_time : not building
- exception : not building
- filesystem : not building
- graph : not building
- graph_parallel : not building
- iostreams : building
- locale : not building
- math : not building
- mpi : not building
- program_options : not building
- python : not building
- random : not building
- regex : not building
- serialization : not building
- signals : not building
- system : not building
- test : not building
- thread : not building
- timer : not building
- wave : not building
...patience...
...found 561 targets...
...updating 6 targets...
compile-c-c++ bin.v2\libs\iostreams\build\msvc-10.0\debug\link-static\threading-multi\zlib.obj
zlib.cpp
libs\iostreams\src\zlib.cpp(20) : fatal error C1083: Cannot open
include file: 'zlib.h': No such file or directory
<snip>
///////
Also, typing:
cd C:\Users\james\dev\cpplib\zlib\include
dir
gives the output:
Volume in drive C has no label.
Volume Serial Number is E8AD-ECD4
Directory of C:\Users\james\dev\cpplib\zlib\include
24/01/2012 12:12 <DIR> .
24/01/2012 12:12 <DIR> ..
18/04/2010 17:58 13,375 zconf.h
20/04/2010 04:12 79,564 zlib.h
2 File(s) 92,939 bytes
2 Dir(s) 58,448,453,632 bytes free
////
Can anyone point me in the right direction?
Thanks,
James
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