How to build Boost 1.34 iostreams
In the past, when I built Boost 1.33, I used the command bjam -sTOOLS=vc-7_1 -sZLIB_INCLUDE=C:/Qt/3.3.7/src/3rdparty/zlib stage This worked fine. Now I tried to build Boost RC 1.34. The best I could come up with was bjam --toolset=msvc-7.1 --ZLIB_INCLUDE=C:/Qt/3.3.7/src/3rdparty/zlib stage This does not work. The iostreams library is not built. All other libraries are built just fine though. I searched the build log for the string iostreams and zlib, and found nothing. How do I build the iostreams library, with Boost 1.34 and the above zlib headers path? -- Johan Råde
Johan Råde wrote:
In the past, when I built Boost 1.33, I used the command
bjam -sTOOLS=vc-7_1 -sZLIB_INCLUDE=C:/Qt/3.3.7/src/3rdparty/zlib stage
This worked fine.
Now I tried to build Boost RC 1.34. The best I could come up with was
bjam --toolset=msvc-7.1 --ZLIB_INCLUDE=C:/Qt/3.3.7/src/3rdparty/zlib stage
I'd suggest bjam toolset=msvc-7.1 -sZLIB_INCLUDE=C:/Qt/3.3.7/src/3rdparty/zlib stage if you've set up user-config.jam (recommended), or bjam --toolset=msvc-7.1 -sZLIB_INCLUDE=C:/Qt/3.3.7/src/3rdparty/zlib stage if you haven't. - Volodya
Vladimir Prus wrote:
I'd suggest
bjam toolset=msvc-7.1 -sZLIB_INCLUDE=C:/Qt/3.3.7/src/3rdparty/zlib stage
if you've set up user-config.jam (recommended), or
bjam --toolset=msvc-7.1 -sZLIB_INCLUDE=C:/Qt/3.3.7/src/3rdparty/zlib stage
if you haven't.
Now it works. I did bjam --toolset=msvc-7.1 -sZLIB_SOURCE=C:/Qt/3.3.7/src/3rdparty/zlib stage (With 1.33 it worked with -sZLIB_INCLUDE, but not with 1.34.) I have built Boost RC 1.34.0, and rebuilt and tested an app that uses 20 different boost libraries. All tests succeed. -- Thank you, Johan Råde
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
Johan Råde
-
Vladimir Prus