Boost logo

Boost :

From: Johannes Brunen (jbrunen_at_[hidden])
Date: 2006-08-16 06:25:16


Hi,

I tested the RC_1_34_0 branch of the boost CVS and would like to report
the experiances I gained by this:

With best regards
Johannes

Platform: Windows XP SP2, msvc 7.1

1. Download: No real issue: I did not know about the cvs checkout -r xxx
switch
2. Documentation: Not all of the documentation is present for offline
reading. Therefore I followed the advice
given at
http://www.boost.org/regression-logs/cs-win32_metacomm/doc/html/librarie
s.html
'Documentation for some libraries is available in alternative formats:'
and tried the download link
http://www.boost.org/doc/boost-doc-html.tar.gz. Unfortunately this link
is not
working properly.
2.1 Installation of boostbook: I needed to install the following
packages:
        0) Doxygen; http://www.doxygen.org (Already installed on my
system, with entry to PATH)
        1) xsltproc;
http://www.meta-comm.com/engineering/boost/xsltproc-win32.zip
        2) DocBook XSL stylesheets;
http://prdownloads.sourceforge.net/docbook/docbook-xsl-1.70.1.zip?downlo
ad
        3) DocBook DTD; Problem: The given link
http://www.oasis-open.org/docbook/xml/4.2/index.shtml from
        
http://www.boost.org/regression-logs/cs-win32_metacomm/doc/html/boostboo
k/getting/started.html
           does not work. But http://www.oasis-open.org/docbook/xml/4.2/
does work pretty fine. I downloaded the
           given zip file:
http://www.oasis-open.org/docbook/xml/4.2/docbook-xml-4.2.zip
    After installation of the packages into the boost/tools/boostbook
folder I added the following lines to file
    boost/tools/build/v2/user-config.jam:

        using xsltproc :
c:/temp/boost/boost/tools/boostbook/xsltproc-win32/xsltproc.exe ;

        using boostbook
          : c:/temp/boost/boost/tools/boostbook/docbook-xsl-1.7
          : c:/temp/boost/boost/tools/boostbook/docbook-xml-4.2
          ;
  
        using doxygen ;

2.2 Building of bjam: I changed into the boost/tools/jam folder and run
the build-dist.bat: First, I got a bjam.exe. But
     the build-dist.bat uses a bjam.exe for building. Isn't this a
hen/egg problem?
     As a result of this I not only got the bjam.exe but two of them and
the quickbook.exe
        boost/tools/jam/src/bin.ntx86/bjam.exe
        boost/tools/jam/src/boost-jam-3.1.14-1-ntx86/bjam.exe
        
boost/bin.v2/tools/quickbook/msvc/debug/link-static/quickbook.exe
    Copy of bjam.exe into my search path.
2.3.Building of quickbook.exe: Change into folder boost/tools/quickbook
and run bjam.exe --v2
    => Ok, quickbook.exe executable now in folder boost/dist/bin
    Copy of quickbook.exe into my search path.
2.4 Building of the documentation: Change to folder boost/doc and run
bjam.exe --v2
    => I got html documentation, but I saw a lot of warning and errors.
I won't reproduce them here because I didn't log them, sorry.

3. Building of the libraries: Change to the root folder and run bjam.exe
--v2
    => First, I got the following error message popup window from
                Microsoft Visual C++ Runtime Library

                Buffer overrun detected!
                Program: ...\Visual Studio .NET 2003\VC7\BIN\cl.exe
                A buffer overrun has been detected which has corrupted
the program's internal state.
                The program cannot safely continue execution and must
now be terminated.

        ...failed msvc.compile.c++
bin.v2\libs\graph\build\msvc\debug\threading-multi\read_graphviz_spirit.
obj...

        multiple times on building read_graphviz_spirit.obj. It is the
first time, ever, that I encounter this kind of error message.

        => ...skipped
<pbin.v2\libs\graph\build\msvc\release\runtime-link-static>bgl-viz-vc-s-
1_34.dll for lack of <pbin.v2\libs\graph
\build\msvc\release\runtime-link-static>read_graphviz_spirit.obj...
                ...skipped <pstage>bgl-viz-vc-s-1_34.dll for lack of
<pbin.v2\libs\graph\build\msvc\release\runtime-link-static>bgl-viz-vc-s-
1_34.dll...
                ...skipped
<pbin.v2\libs\graph\build\msvc\release\runtime-link-static>bgl-viz-vc-s-
1_34.lib for lack of <pbin.v2\libs\graph
\build\msvc\release\runtime-link-static>read_graphviz_spirit.obj...
                ...skipped <pstage>bgl-viz-vc-s-1_34.lib for lack of
<pbin.v2\libs\graph\build\msvc\release\runtime-link-static>bgl-viz-vc-s-
1_34.lib...

    => Second, a lot of warnings of the following type:

                boost\program_options\errors.hpp(21) : warning C4275:
non dll-interface class 'std::logic_error' used as base for
dll-interface class 'boost::program_options::error'
                        C:\Programme\Microsoft Visual Studio .NET
2003\Vc7\include\stdexcept(14) : see declaration of 'std::logic_error'
                        boost\program_options\errors.hpp(21) : see
declaration of 'boost::program_options::error'
                boost\program_options\errors.hpp(61) : warning C4251:
'boost::program_options::ambiguous_option::alternatives' : class
'std::vector<_Ty>' needs to have dll-interface to be used by clients of
class 'boost::program_options::ambiguous_option'
                        with
                        [
                            _Ty=std::string
                        ]
                boost\program_options\options_description.hpp(120) :
warning C4251:
'boost::program_options::option_description::m_value_semantic' : class
'boost::shared_ptr<T>' needs to have dll-interface to be used by clients
of class 'boost::program_options::option_description'
                        with
                        [
                            T=const
boost::program_options::value_semantic
                        ]

    => Third, warning: Python location is not configured
         What I have to do in order to configure the Python location? I
do have a proper Python installation, which I do not want to
        lose.

    => Fourth, problems on building wave:

                msvc.compile.c++
bin.v2\libs\wave\build\msvc\debug\threading-multi\instantiate_cpp_gramma
r.obj
                instantiate_cpp_grammar.cpp
                boost\pool\pool.hpp(505) : warning C4800: 'const
boost::pool<UserAllocator>::size_type' : forcing value to bool 'true' or
'false' (performance warning)
                        with
                        [
        
UserAllocator=boost::default_user_allocator_new_delete
                        ]
                        boost\pool\simple_segregated_storage.hpp(69) :
while compiling class-template member function 'void
*boost::pool<UserAllocator>::ordered_malloc(boost::pool<UserAllocator>::
size_type)'
                        with
                        [
        
UserAllocator=boost::default_user_allocator_new_delete
                        ]
                        boost\pool\singleton_pool.hpp(56) : while
compiling class-template member function 'void
*boost::singleton_pool<Tag,RequestedSize,UserAllocator,Mutex,NextSize>::
malloc(void)'
                        with
                        [
                            Tag=boost::fast_pool_allocator_tag,
                            RequestedSize=12,
        
UserAllocator=boost::default_user_allocator_new_delete,
                            Mutex=boost::details::pool::default_mutex,
                            NextSize=32
                        ]
                        boost\pool\pool_alloc.hpp(180) : see reference
to class template instantiation
'boost::singleton_pool<Tag,RequestedSize,UserAllocator,Mutex,NextSize>'
being compiled
                        with
                        [
                            Tag=boost::fast_pool_allocator_tag,
                            RequestedSize=12,
        
UserAllocator=boost::default_user_allocator_new_delete,
                            Mutex=boost::details::pool::default_mutex,
                            NextSize=32
                        ]
                        boost\pool\pool_alloc.hpp(176) : while compiling
class-template member function
'boost::fast_pool_allocator<T,UserAllocator,Mutex,NextSize>::pointer
boost::fast_pool_allocator<T,UserAllocator,Mutex,NextSize>::allocate(con
st
boost::fast_pool_allocator<T,UserAllocator,Mutex,NextSize>::size_type)'
                        with
                        [
        
T=std::_List_nod<token_type,boost::fast_pool_allocator<token_type>>::_No
de,
        
UserAllocator=boost::default_user_allocator_new_delete,
                            Mutex=boost::details::pool::default_mutex,
                            NextSize=32
                        ]
                        C:\Programme\Microsoft Visual Studio .NET
2003\Vc7\include\list(28) : see reference to class template
instantiation
'boost::fast_pool_allocator<T,UserAllocator,Mutex,NextSize>' being
compiled
                        with
                        [
        
T=std::_List_nod<token_type,boost::fast_pool_allocator<token_type>>::_No
de,
        
UserAllocator=boost::default_user_allocator_new_delete,
                            Mutex=boost::details::pool::default_mutex,
                            NextSize=32
                        ]
                        C:\Programme\Microsoft Visual Studio .NET
2003\Vc7\include\list(56) : see reference to class template
instantiation 'std::_List_nod<_Ty,_Alloc>' being compiled
                        with
                        [
                            _Ty=token_type,
        
_Alloc=boost::fast_pool_allocator<token_type>
                        ]
                        C:\Programme\Microsoft Visual Studio .NET
2003\Vc7\include\list(76) : see reference to class template
instantiation 'std::_List_ptr<_Ty,_Alloc>' being compiled
                        with
                        [
                            _Ty=token_type,
        
_Alloc=boost::fast_pool_allocator<token_type>
                        ]
                        C:\Programme\Microsoft Visual Studio .NET
2003\Vc7\include\list(93) : see reference to class template
instantiation 'std::_List_val<_Ty,_Alloc>' being compiled
                        with
                        [
                            _Ty=token_type,
        
_Alloc=boost::fast_pool_allocator<token_type>
                        ]
                        boost\wave\grammars\cpp_grammar.hpp(276) : see
reference to class template instantiation 'std::list<_Ty,_Ax>' being
compiled
                        with
                        [
                            _Ty=token_type,
                            _Ax=boost::fast_pool_allocator<token_type>
                        ]
                        boost\wave\grammars\cpp_grammar.hpp(205) : while
compiling class-template member function
'boost::wave::grammars::cpp_grammar<TokenT,ContainerT>::definition<Scann
erT>::definition(const
boost::wave::grammars::cpp_grammar<TokenT,ContainerT> &)'
                        with
                        [
        
TokenT=boost::wave::grammars::cpp_grammar_gen<lexer_type,token_sequence_
type>::token_type,
                            ContainerT=token_sequence_type,
                            ScannerT=scanner_type
                        ]
        
boost\spirit\core\non_terminal\impl\grammar.ipp(262) : see reference to
class template instantiation
'boost::wave::grammars::cpp_grammar<TokenT,ContainerT>::definition<Scann
erT>' being compiled
                        with
                        [
        
TokenT=boost::wave::grammars::cpp_grammar_gen<lexer_type,token_sequence_
type>::token_type,
                            ContainerT=token_sequence_type,
                            ScannerT=scanner_type
                        ]
        
boost\spirit\core\non_terminal\impl\grammar.ipp(281) : see reference to
function template instantiation 'void
boost::spirit::impl::call_helper<0>::do_<result_t,definition_t,ScannerT>
(RT &,DefinitionT &,const ScannerT &)' being compiled
                        with
                        [
                            ScannerT=scanner_type,
                            RT=result_t,
                            DefinitionT=definition_t
                        ]
                        boost\spirit\core\non_terminal\grammar.hpp(53) :
see reference to function template instantiation
'boost::spirit::parser_result<ParserT,ScannerT>::type
boost::spirit::impl::grammar_parser_parse<0,boost::wave::grammars::cpp_g
rammar<TokenT,ContainerT>,boost::spirit::parser_context<>,ScannerT>(cons
t boost::spirit::grammar<DerivedT> *,const ScannerT &)' being compiled
                        with
                        [
        
ParserT=boost::spirit::grammar<boost::wave::grammars::cpp_grammar<boost:
:wave::grammars::cpp_grammar_gen<lexer_type,token_sequence_type>::token_
type,token_sequence_type>>::self_t,
                            ScannerT=scanner_type,
        
TokenT=boost::wave::grammars::cpp_grammar_gen<lexer_type,token_sequence_
type>::token_type,
                            ContainerT=token_sequence_type,
        
DerivedT=boost::wave::grammars::cpp_grammar<boost::wave::grammars::cpp_g
rammar_gen<lexer_type,token_sequence_type>::token_type,token_sequence_ty
pe>
                        ]
                        boost\spirit\core\non_terminal\grammar.hpp(63) :
see reference to function template instantiation
'boost::spirit::parser_result<ParserT,ScannerT>::type
boost::spirit::grammar<DerivedT>::parse_main<ScannerT>(const ScannerT &)
const' being compiled
                        with
                        [
        
ParserT=boost::spirit::grammar<boost::wave::grammars::cpp_grammar<boost:
:wave::grammars::cpp_grammar_gen<lexer_type,token_sequence_type>::token_
type,token_sequence_type>>::self_t,
                            ScannerT=scanner_type,
        
DerivedT=boost::wave::grammars::cpp_grammar<boost::wave::grammars::cpp_g
rammar_gen<lexer_type,token_sequence_type>::token_type,token_sequence_ty
pe>
                        ]
                        boost\wave\grammars\cpp_grammar.hpp(695) : see
reference to function template instantiation
'boost::spirit::parser_result<ParserT,ScannerT>::type
boost::spirit::grammar<DerivedT>::parse<scanner_type>(const ScannerT &)
const' being compiled
                        with
                        [
        
ParserT=boost::spirit::grammar<boost::wave::grammars::cpp_grammar<boost:
:wave::grammars::cpp_grammar_gen<lexer_type,token_sequence_type>::token_
type,token_sequence_type>>::self_t,
                            ScannerT=scanner_type,
        
DerivedT=boost::wave::grammars::cpp_grammar<boost::wave::grammars::cpp_g
rammar_gen<lexer_type,token_sequence_type>::token_type,token_sequence_ty
pe>
                        ]
                        boost\wave\grammars\cpp_grammar.hpp(729) : see
reference to function template instantiation
'boost::spirit::tree_parse_info<IteratorT,NodeFactoryT>
boost::wave::grammars::parsetree_parse<boost::wave::grammars::cpp_gramma
r_gen<LexIteratorT,TokenContainerT>::node_factory_type,LexIteratorT,Deri
vedT>(const IteratorT &,const IteratorT &,const
boost::spirit::parser<DerivedT> &)' being compiled
                        with
                        [
        
IteratorT=boost::wave::grammars::cpp_grammar_gen<lexer_type,token_sequen
ce_type>::iterator_type,
        
NodeFactoryT=boost::wave::grammars::cpp_grammar_gen<lexer_type,token_seq
uence_type>::node_factory_type,
                            LexIteratorT=lexer_type,
                            TokenContainerT=token_sequence_type,
        
DerivedT=boost::wave::grammars::cpp_grammar<boost::wave::grammars::cpp_g
rammar_gen<lexer_type,token_sequence_type>::token_type,token_sequence_ty
pe>
                        ]
                        C:\Programme\Microsoft Visual Studio .NET
2003\Vc7\include\xmemory(156) : while compiling class-template member
function 'boost::spirit::tree_parse_info<IteratorT,NodeFactoryT>
boost::wave::grammars::cpp_grammar_gen<LexIteratorT,TokenContainerT>::pa
rse_cpp_grammar(const
boost::wave::grammars::cpp_grammar_gen<LexIteratorT,TokenContainerT>::it
erator_type &,const
boost::wave::grammars::cpp_grammar_gen<LexIteratorT,TokenContainerT>::it
erator_type &,const
boost::wave::grammars::cpp_grammar_gen<LexIteratorT,TokenContainerT>::po
sition_type &,bool
&,boost::wave::grammars::cpp_grammar_gen<LexIteratorT,TokenContainerT>::
token_type
&,boost::wave::grammars::cpp_grammar_gen<LexIteratorT,TokenContainerT>::
token_container_type &)'
                        with
                        [
        
IteratorT=boost::wave::grammars::cpp_grammar_gen<lexer_type,token_sequen
ce_type>::iterator_type,
        
NodeFactoryT=boost::wave::grammars::cpp_grammar_gen<lexer_type,token_seq
uence_type>::node_factory_type,
                            LexIteratorT=lexer_type,
                            TokenContainerT=token_sequence_type
                        ]
                        libs\wave\src\instantiate_cpp_grammar.cpp(42) :
see reference to class template instantiation
'boost::wave::grammars::cpp_grammar_gen<LexIteratorT,TokenContainerT>'
being compiled
                        with
                        [
                            LexIteratorT=lexer_type,
                            TokenContainerT=token_sequence_type
                        ]

                    call "C:\Programme\Microsoft Visual Studio .NET
2003\Vc7\bin\vcvars32.bat" >nul
                cl /Zm800 -nologo -TP /Z7 /Od /Ob0 /W3 /GR /MDd
/Zc:forScope /Zc:wchar_t /GB /Op /wd4675 /EHs
@"bin.v2\libs\wave\build\msvc\debug\threading-multi\instantiate_cpp_gram
mar.obj.rsp" -c -Fo"bin.v2\libs\wave\build\msvc\debug\threading-multi
\instantiate_cpp_grammar.obj"

                ...failed msvc.compile.c++
bin.v2\libs\wave\build\msvc\debug\threading-multi\instantiate_cpp_gramma
r.obj...

                msvc.compile.c++
bin.v2\libs\wave\build\msvc\release\runtime-link-static\cpplexer\re2clex
\cpp_re.obj
                cpp_re.cpp
                ...skipped
<pbin.v2\libs\wave\build\msvc\release\runtime-link-static>boost_wave-vc-
s-1_34.dll for lack of
<pbin.v2\libs\wave\build\msvc\release\runtime-link-static>instantiate_cp
p_grammar.obj...
                ...skipped <pstage>boost_wave-vc-s-1_34.dll for lack of
<pbin.v2\libs\wave\build\msvc\release\runtime-link-static>boost_wave-vc-
s-1_34.dll...
                ...skipped
<pbin.v2\libs\wave\build\msvc\release\runtime-link-static>boost_wave-vc-
s-1_34.lib for lack of
<pbin.v2\libs\wave\build\msvc\release\runtime-link-static>instantiate_cp
p_grammar.obj...
                ...skipped <pstage>boost_wave-vc-s-1_34.lib for lack of
<pbin.v2\libs\wave\build\msvc\release\runtime-link-static>boost_wave-vc-
s-1_34.lib...
                ...failed updating 16 targets...
                ...skipped 64 targets...
                ...updated 1316 targets...

____________
Virus checked by G DATA AntiVirusKit
Version: AVK 16.5392 from 08.02.2006
Virus news: www.antiviruslab.com


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk