Boost logo

Boost Users :

Subject: Re: [Boost-users] [boost] [1.47.0] Beta 1 Release Notice
From: Tom Kent (lists_at_[hidden])
Date: 2011-06-22 17:49:15


Building for Visual Studio on Windows 8, I found a two problems:

In Visual Studio 8.0 SP1 (Visual Studio 2005), there is a problem with
iostreams/detail/path.hpp. Here's a excerpt from the build log:
compile-c-c++ bin.v2\libs\iostreams\build\msvc-8.0\debug\link-static\runtime-link-static\file_descriptor.obj
file_descriptor.cpp
.\boost/iostreams/detail/path.hpp(123) : error C2535:
'path::sfinae<Path::external_string_type,boost::iostreams::detail::path&>::type
boost::iostreams::detail::path::operator =(const Path &)' : member
function already defined or declared
        .\boost/iostreams/detail/path.hpp(109) : see declaration of
'boost::iostreams::detail::path::operator ='
libs\iostreams\src\file_descriptor.cpp(241) : warning C4800: 'int' :
forcing value to bool 'true' or 'false' (performance warning)

    call "C:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat" x86 >nul
cl /Zm800 -nologo
@"bin.v2\libs\iostreams\build\msvc-8.0\debug\link-static\runtime-link-static\file_descriptor.obj.rsp"

...failed compile-c-c++
bin.v2\libs\iostreams\build\msvc-8.0\debug\link-static\runtime-link-static\file_descriptor.obj...
compile-c-c++ bin.v2\libs\iostreams\build\msvc-8.0\debug\link-static\runtime-link-static\mapped_file.obj
mapped_file.cpp
.\boost/iostreams/detail/path.hpp(123) : error C2535:
'path::sfinae<Path::external_string_type,boost::iostreams::detail::path&>::type
boost::iostreams::detail::path::operator =(const Path &)' : member
function already defined or declared
        .\boost/iostreams/detail/path.hpp(109) : see declaration of
'boost::iostreams::detail::path::operator ='
libs\iostreams\src\mapped_file.cpp(59) : warning C4244: 'return' :
conversion from 'const boost::iostreams::stream_offset' to 'size_t',
possible loss of data
libs\iostreams\src\mapped_file.cpp(135) : warning C4244:
'initializing' : conversion from 'boost::iostreams::stream_offset' to
'LONG', possible loss of data
libs\iostreams\src\mapped_file.cpp(136) : warning C4244:
'initializing' : conversion from 'boost::iostreams::stream_offset' to
'LONG', possible loss of data
libs\iostreams\src\mapped_file.cpp(141) : warning C4244: '=' :
conversion from 'boost::iostreams::stream_offset' to 'LONG', possible
loss of data
libs\iostreams\src\mapped_file.cpp(142) : warning C4244: '=' :
conversion from 'boost::iostreams::stream_offset' to 'LONG', possible
loss of data
libs\iostreams\src\mapped_file.cpp(204) : warning C4244:
'initializing' : conversion from 'boost::iostreams::stream_offset' to
'LONG', possible loss of data
libs\iostreams\src\mapped_file.cpp(205) : warning C4244:
'initializing' : conversion from 'boost::iostreams::stream_offset' to
'LONG', possible loss of data
libs\iostreams\src\mapped_file.cpp(325) : warning C4244: 'argument' :
conversion from 'boost::iostreams::stream_offset' to 'SIZE_T',
possible loss of data

    call "C:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat" x86 >nul
cl /Zm800 -nologo
@"bin.v2\libs\iostreams\build\msvc-8.0\debug\link-static\runtime-link-static\mapped_file.obj.rsp"

...failed compile-c-c++
bin.v2\libs\iostreams\build\msvc-8.0\debug\link-static\runtime-link-static\mapped_file.obj...
...skipped <pbin.v2\libs\iostreams\build\msvc-8.0\debug\link-static\runtime-link-static>libboost_iostreams-vc80-sgd-1_47.lib
for lack of <pbin.v2\libs\iostreams\build\msvc-8.0\debug\link-static\runtime-link-static>file_descriptor.obj...
...skipped <pstage\lib>libboost_iostreams-vc80-sgd-1_47.lib for lack
of <pbin.v2\libs\iostreams\build\msvc-8.0\debug\link-static\runtime-link-static>libboost_iostreams-vc80-sgd-1_47.lib...

This happens for all the different build types
(debug/release,static/dynamic,runtime static/dynamic) for both 32&64
bit builds.

The other error is that after the build, the copying of the
boost_exception dll fails. Here's an example from the output:
msvc.link.dll bin.v2\libs\exception\build\msvc-9.0\debug\threading-multi\boost_exception-vc90-mt-gd-1_47.dll
msvc.manifest.dll
bin.v2\libs\exception\build\msvc-9.0\debug\threading-multi\boost_exception-vc90-mt-gd-1_47.dll
common.copy stage\lib\boost_exception-vc90-mt-gd-1_47.dll
bin.v2\libs\exception\build\msvc-9.0\debug\threading-multi\boost_exception-vc90-mt-gd-1_47.dll
        1 file(s) copied.
common.copy stage\lib\boost_exception-vc90-mt-gd-1_47.lib
The system cannot find the file specified.

    copy /b "bin.v2\libs\exception\build\msvc-9.0\debug\threading-multi\boost_exception-vc90-mt-gd-1_47.lib"
+ this-file-does-not-exist-A698EE7806899E69
"stage\lib\boost_exception-vc90-mt-gd-1_47.lib"

...failed common.copy stage\lib\boost_exception-vc90-mt-gd-1_47.lib...

This happens for both the visual versions that get to this stage
(VC9.0&VC10.0) and I assume the same would happen to 8.0 if it hadn't
already errored out.

I've posted the full error logs on my site (created by running the
build a second time after it had already completed) if you're
interested.

http://boost.teeks99.com/misc/b_1_47_0_beta1-32bitlog.txt
http://boost.teeks99.com/misc/b_1_47_0_beta1-64bitlog.txt

Tom

On Tue, Jun 21, 2011 at 9:34 AM, Beman Dawes <bdawes_at_[hidden]> wrote:
> Boost release 1.47.0 beta 1 is now available from SourceForge
>
> See http://sourceforge.net/projects/boost/files/
>
> New Libraries: Chrono, Geometry, Phoenix and Ratio.
>
> Updated Libraries: Accumulators, Asio, Config, DateTime, Dynamic
> Bitset, Foreach, Function, Function Types, Graph, Iterator, Lexical
> Cast, Logic, Math, Meta State Machine, MultiIndex, Proto, Spirit,
> Tokenizer, Utility, Wave
>
> For details of what's in the release, see
> http://beta.boost.org/users/news/version_1_47_0. Note that the links
> to files on this web page are for the final release - use the
> SourceForge link above to get the beta files.
>
> There have been reports of build issues with MinGW/CGG and 64-bit
> Windows/VC++. These are being investigated and hopefully should be
> cleared up before the final release
>
> Please download the beta, give it a try, and report any problems you encounter.
>
> Thanks,
>
> -- The Boost Release Team
>
>     Beman Dawes
>     Daniel James
>     Eric Niebler
>     Rene Rivera
>     Vladimir Prus
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-announce
>


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net