Re: [Boost-users] Boost 1.48.0 Release Notice

---------- Forwarded message ---------- From: Michael Jackson
To: boost-users@lists.boost.org Date: Wed, 16 Nov 2011 10:27:18 -0500 Subject: Re: [Boost-users] Boost 1.48.0 Release Notice On 11/16/11 10:05 AM, in article CAArKS8i9AtMcQhRtxt81LQZm4vTVeanhuhQLFgVBjahLv+oJxw@mail.gmail.com, "Tom Kent" wrote: Subject: [Boost-users] Boost 1.48.0 Release Notice From: Beman Dawes (bdawes_at_[hidden]) Date: 2011-11-16 07:33:06
Release 1.48.0 of the Boost C++ Libraries is now available. These open-source libraries work well with the C++ Standard Library, and are usable across a broad spectrum of applications. The Boost license encourages both commercial and non-commercial use. This release contains new libraries: Container, Locale, Move. Updated libraries include: Asio, Chrono, Config, Fusion, Geometry, Graph, Interprocess, Intrusive, Lexical cast, Math, MSM, Numeric Conversion, Proto, Regex, Spirit, TypeTraits, Unordered, Wave, and more. For details, including download links, see http://www.boost.org/users/news/version_1_48_0 You can also download directly from SourceForge: http://sourceforge.net/projects/boost/files/boost/1.48.0/ To install this release on your system, see http://www.boost.org/doc/libs/release/more/getting_started/index.html Thanks, --The Boost release team Beman Dawes Daniel James Eric Niebler Rene Rivera Vladimir Prus
I've built windows libraries (vc8, vc9, vc10) for this (32 and 64 bit), if you want them, you can get them from my website: http://boost.teeks99.com Tom
What exact versions of each of those did you use? Were they single/multi-threaded, Static/Shared...
Thanks Mike Jackson
Hi Tom,
You have done a really splendid job which will save us many hours of compilation! I had a brief look, and all the libraries seem to be there except the following: libboost_bzip2-vc*.lib libboost_zlib-vc*.lib boost_bzip2-vc*.dll boost_zlib*-vc.dll boost_bzip2-vc*.libl boost_zlib*-vc.libl These are used by the iostreams compressors and decompressors. These are really an integral part of iostreams. Would it be possible to include these too? Regards Andrew -- ___________________________________________ Andrew J. P. Maclean Australian Centre for Field Robotics (ACFR) The Rose Street Building J04 The University of Sydney 2006 NSW AUSTRALIA Ph: +61 2 9351 3283 Fax: +61 2 9351 7474 URL: http://www.acfr.usyd.edu.au/ ___________________________________________

From the format of the filename strings, they look like independent
I'm confused. Are those new items? I've never seen them build
before, but then again I've never actually used the iostreams library.
libraries, but zip and bzip2 aren't shown on the boost libraries page.
Is there a chance you're actually looking for the zlib and libbz2?
Tom
On Wed, Nov 16, 2011 at 8:12 PM, Andrew Maclean
---------- Forwarded message ---------- From: Michael Jackson
To: boost-users@lists.boost.org Date: Wed, 16 Nov 2011 10:27:18 -0500 Subject: Re: [Boost-users] Boost 1.48.0 Release Notice On 11/16/11 10:05 AM, in article CAArKS8i9AtMcQhRtxt81LQZm4vTVeanhuhQLFgVBjahLv+oJxw@mail.gmail.com, "Tom Kent" wrote: Subject: [Boost-users] Boost 1.48.0 Release Notice From: Beman Dawes (bdawes_at_[hidden]) Date: 2011-11-16 07:33:06
Release 1.48.0 of the Boost C++ Libraries is now available. These open-source libraries work well with the C++ Standard Library, and are usable across a broad spectrum of applications. The Boost license encourages both commercial and non-commercial use. This release contains new libraries: Container, Locale, Move. Updated libraries include: Asio, Chrono, Config, Fusion, Geometry, Graph, Interprocess, Intrusive, Lexical cast, Math, MSM, Numeric Conversion, Proto, Regex, Spirit, TypeTraits, Unordered, Wave, and more. For details, including download links, see http://www.boost.org/users/news/version_1_48_0 You can also download directly from SourceForge: http://sourceforge.net/projects/boost/files/boost/1.48.0/ To install this release on your system, see http://www.boost.org/doc/libs/release/more/getting_started/index.html Thanks, --The Boost release team Beman Dawes Daniel James Eric Niebler Rene Rivera Vladimir Prus
I've built windows libraries (vc8, vc9, vc10) for this (32 and 64 bit), if you want them, you can get them from my website: http://boost.teeks99.com Tom
What exact versions of each of those did you use? Were they single/multi-threaded, Static/Shared...
Thanks Mike Jackson
Hi Tom, You have done a really splendid job which will save us many hours of compilation! I had a brief look, and all the libraries seem to be there except the following: libboost_bzip2-vc*.lib libboost_zlib-vc*.lib boost_bzip2-vc*.dll boost_zlib*-vc.dll boost_bzip2-vc*.libl boost_zlib*-vc.libl These are used by the iostreams compressors and decompressors. These are really an integral part of iostreams. Would it be possible to include these too?
Regards Andrew -- ___________________________________________ Andrew J. P. Maclean Australian Centre for Field Robotics (ACFR) The Rose Street Building J04 The University of Sydney 2006 NSW AUSTRALIA Ph: +61 2 9351 3283 Fax: +61 2 9351 7474 URL: http://www.acfr.usyd.edu.au/ ___________________________________________

On Thu, Nov 17, 2011 at 11:34 AM, Tom Kent
I'm confused. Are those new items? I've never seen them build before, but then again I've never actually used the iostreams library.
From the format of the filename strings, they look like independent libraries, but zip and bzip2 aren't shown on the boost libraries page. Is there a chance you're actually looking for the zlib and libbz2?
Tom
For windows these are built for convenience so that zlib and bz2 are packaged along with the boost libs since it is not terribly common to have them available on all windows boxes. You just have to tell bjam to build them when building the rest of the code; they are optional and not built by default. Brian

On Fri, Nov 18, 2011 at 6:54 AM, Brian Budge
On Thu, Nov 17, 2011 at 11:34 AM, Tom Kent
wrote: I'm confused. Are those new items? I've never seen them build before, but then again I've never actually used the iostreams library.
From the format of the filename strings, they look like independent libraries, but zip and bzip2 aren't shown on the boost libraries page. Is there a chance you're actually looking for the zlib and libbz2?
Tom
For windows these are built for convenience so that zlib and bz2 are packaged along with the boost libs since it is not terribly common to have them available on all windows boxes. You just have to tell bjam to build them when building the rest of the code; they are optional and not built by default.
Brian
You are correct but I have never seen bzip2 or zlib included in the boost libraries. I have generally built them separately and then added the following settings to my boost build: set BZIP_PATH=C:\Users\amaclean\wherever\bzip set ZLIB_PATH=C:\Users\amaclean\wherever\zlib rem Setting environment for building iostreams with bzip and gzip. set NO_COMPRESSION=0 set NO_BZIP2=0 set BZIP2_SOURCE="%BZIP_PATH%\bzip2-1.0.6" set NO_ZLIB=0 set ZLIB_SOURCE="%ZLIB_PATH%\zlib-1.2.5" Maybe they should be included in boost and only used in windows builds. Andrew -- ___________________________________________ Andrew J. P. Maclean Australian Centre for Field Robotics (ACFR) The Rose Street Building J04 The University of Sydney 2006 NSW AUSTRALIA Ph: +61 2 9351 3283 Fax: +61 2 9351 7474 URL: http://www.acfr.usyd.edu.au/ ___________________________________________

So I'm still a bit confused. Does something actually need to be built
along with boost, or at the bz2 and zlib stuff things that can be added in
later?
If something needs to be built into boost, I could probably do that (I
don't currently for MPI, but this sounds more generally useful). However,
if this is just a matter of throwing windows binaries for bz2 and zlib in
with a bunch of boost libraries, that doesn't seem right. Is there any
documentation on this? I glanced around a bit but didn't see much.
Tom
On Thu, Nov 17, 2011 at 5:09 PM, Andrew Maclean
On Fri, Nov 18, 2011 at 6:54 AM, Brian Budge
wrote: On Thu, Nov 17, 2011 at 11:34 AM, Tom Kent
wrote: I'm confused. Are those new items? I've never seen them build before, but then again I've never actually used the iostreams library.
From the format of the filename strings, they look like independent libraries, but zip and bzip2 aren't shown on the boost libraries page. Is there a chance you're actually looking for the zlib and libbz2?
Tom
For windows these are built for convenience so that zlib and bz2 are packaged along with the boost libs since it is not terribly common to have them available on all windows boxes. You just have to tell bjam to build them when building the rest of the code; they are optional and not built by default.
Brian
You are correct but I have never seen bzip2 or zlib included in the boost libraries. I have generally built them separately and then added the following settings to my boost build:
set BZIP_PATH=C:\Users\amaclean\wherever\bzip set ZLIB_PATH=C:\Users\amaclean\wherever\zlib rem Setting environment for building iostreams with bzip and gzip. set NO_COMPRESSION=0 set NO_BZIP2=0 set BZIP2_SOURCE="%BZIP_PATH%\bzip2-1.0.6" set NO_ZLIB=0 set ZLIB_SOURCE="%ZLIB_PATH%\zlib-1.2.5"
Maybe they should be included in boost and only used in windows builds.
Andrew
-- ___________________________________________ Andrew J. P. Maclean Australian Centre for Field Robotics (ACFR) The Rose Street Building J04 The University of Sydney 2006 NSW AUSTRALIA Ph: +61 2 9351 3283 Fax: +61 2 9351 7474 URL: http://www.acfr.usyd.edu.au/ ___________________________________________

On Fri, Nov 18, 2011 at 12:38 PM, Tom Kent
So I'm still a bit confused. Does something actually need to be built along with boost, or at the bz2 and zlib stuff things that can be added in later?
If something needs to be built into boost, I could probably do that (I don't currently for MPI, but this sounds more generally useful). However, if this is just a matter of throwing windows binaries for bz2 and zlib in with a bunch of boost libraries, that doesn't seem right. Is there any documentation on this? I glanced around a bit but didn't see much.
Tom
On Thu, Nov 17, 2011 at 5:09 PM, Andrew Maclean
wrote:
On Fri, Nov 18, 2011 at 6:54 AM, Brian Budge
wrote: On Thu, Nov 17, 2011 at 11:34 AM, Tom Kent
wrote: I'm confused. Are those new items? I've never seen them build before, but then again I've never actually used the iostreams library.
From the format of the filename strings, they look like independent libraries, but zip and bzip2 aren't shown on the boost libraries page. Is there a chance you're actually looking for the zlib and libbz2?
Tom
For windows these are built for convenience so that zlib and bz2 are packaged along with the boost libs since it is not terribly common to have them available on all windows boxes. You just have to tell bjam to build them when building the rest of the code; they are optional and not built by default.
Brian
You are correct but I have never seen bzip2 or zlib included in the boost libraries. I have generally built them separately and then added the following settings to my boost build:
set BZIP_PATH=C:\Users\amaclean\wherever\bzip set ZLIB_PATH=C:\Users\amaclean\wherever\zlib rem Setting environment for building iostreams with bzip and gzip. set NO_COMPRESSION=0 set NO_BZIP2=0 set BZIP2_SOURCE="%BZIP_PATH%\bzip2-1.0.6" set NO_ZLIB=0 set ZLIB_SOURCE="%ZLIB_PATH%\zlib-1.2.5"
Maybe they should be included in boost and only used in windows builds.
Andrew
-- ___________________________________________ Andrew J. P. Maclean Australian Centre for Field Robotics (ACFR) The Rose Street Building J04 The University of Sydney 2006 NSW AUSTRALIA Ph: +61 2 9351 3283 Fax: +61 2 9351 7474 URL: http://www.acfr.usyd.edu.au/ ___________________________________________
If you look in the iostreams documentation, in particular the installation section, it talks about widows, bzip2 and zlib. What I do is to use the latest zlib and bzip sources and put them in a folder and then set the appropriate environment variables as outlined in the iostreams documentation before building. Of course if you are using dlls then you need to build the zlib dlls as iostreams will need the import library in this case. I just use cmake to do this (for the appropriate compiler). I have attached a windows command file that may be of use to you. Regards Andrew -- ___________________________________________ Andrew J. P. Maclean Australian Centre for Field Robotics (ACFR) The Rose Street Building J04 The University of Sydney 2006 NSW AUSTRALIA Ph: +61 2 9351 3283 Fax: +61 2 9351 7474 URL: http://www.acfr.usyd.edu.au/ ___________________________________________

Hi,
I built Boost 1.47.0 with ZLIB and BZIP2 support the same way, i.e. defined the same environment variables. I also discovered that I could define the same variables on the bjam command line using the “-s” option which I didn’t like because you ended up having to issue a very long bjam command.
According to comments in $BOOST_INSTALL_DIR\libs\iostreams\build\Jamfile.v2, the same variables can be setup as ‘path-constant’s in either Boost’s root Jamfile or in user-config.jam which didn’t make sense because the values of some of the variables aren’t paths. I thus tried using ‘constant’ both in $BOOST_INSTALL_DIR\Jamroot or $BOOST_INSTALL_DIR\user-config.jam and both didn’t seem to work.
What is the correct way of setting up these variables other than defining environment variables or adding them to the bjam command line?
Kind regards,
Leo
From: Andrew Maclean
Sent: Friday, November 18, 2011 1:57 PM
To: Tom Kent
Cc: imikejackson@gmail.com ; boost-users@lists.boost.org
Subject: Re: [Boost-users] Boost 1.48.0 Release Notice
On Fri, Nov 18, 2011 at 12:38 PM, Tom Kent

On Thursday, November 17, 2011 8:38 PM, Tom Kent wrote:
So I'm still a bit confused. Does something actually need to be built along with boost, or at the bz2 and zlib stuff things that can be added in later?
If something needs to be built into boost, I could probably do that (I don't currently for MPI, but this sounds more generally useful). However, if this is just a matter of throwing windows binaries for bz2 and zlib in with a bunch of boost libraries, that doesn't seem right. Is there any documentation on this? I glanced around a bit but didn't see much.
Tom
My method is to download the source tarballs for zlib and bzip2, and then decompress them, but not build them. I then build boost with the following options on the bjam command line (assuming I decompressed them to the "C:\boost_aux" directory): -sZLIB_SOURCE="C:\boost_aux\zlib-1.2.5" -sBZIP2_SOURCE="C:\boost_aux\bzip2-1.0.6"
participants (5)
-
Andrew Holden
-
Andrew Maclean
-
Brian Budge
-
Leo Carreon
-
Tom Kent