building boost iostreams
I've been trying to get boost compiled with zlib on windows.
I have win xp, MSVC 2005.
Boost is located in c:\cpp libraries\boost
Zlib is located in c:\cpp libraries\zlib123
I have tried to build boost iostreams with running bjam from
libs\iostreams\build as instructions say..
The command line I used:
bjam toolset=msvc "-sZLIB_SOURCE=C:\cpp libraries\zlib123"
when I do this it seems like nothing is properly built.
The result I get says: ..failed updating 12 targets.. skipped 16 targets...
I wonder what am I doing wrong?
I want to build boost iostreams so that I can use them with bzip..
Thanks for help
Your path has a space in it. Perhaps that is causing a problem? I don't see how, but . . .
Maybe instead of "-sZLIB_SOURCE=C:\cpp libraries\zlib123" you need to pass "-sZLIB_SOURCE=C:\cpp libraries\zlib123\zlib123\bin" or something? What does the directory structure look like there? Did you go "extract all" or "extact to directory . . ." or what?
Hey mate.. Yes, space was the cause of problem. Shouldnt boost support them?
Many Windows command-line tools have trouble with spaces. It's just the way it is; it's the way the Windows shell works. It's not boost-specific or anything. I myself never create files with spaces in their name for just that reason.
You almost never have those sorts of problems under Linux, because a space can be represented as "\ ".
$ ls /mnt/win/Documents\ and\ Settings