|
Boost Users : |
Subject: [Boost-users] No success with VS2013 and Boost 1.55b1
From: LeMay.Steve (Steve.Lemay_at_[hidden])
Date: 2013-10-22 12:38:50
Using the attached batch file (below) to make Boost 1.55 beta 1 - I did NOT have success building Boost 1.55b1 with the release version of VS2013. I was however on a different PC able to build Boost with successfully with this batch file using VS2012. Others have reported successful builds using VS2013 am I missing something new?
[BUILD_MSVS.BAT]
@ECHO OFF
CLS
SET DRIVE=D:
SET BOOSTVER=1_55_0b1
@PUSHD %DRIVE%\boost_%BOOSTVER%
@IF NOT EXIST bjam.exe call bootstrap
@IF NOT EXIST bjam.txt bjam --help > bjam.txt
@IF NOT EXIST bjam_libs.txt bjam --show-libraries > bjam_libs.txt
@IF NOT EXIST bjam_obscure_options.txt bjam --help-options > bjam_obscure_options.txt
@IF EXIST msvs_build.log del msvs_build.log
@ECHO ON
@ECHO Building Boost libraries for Visual Studio
@REM Static library
b2 -a -q -j4 --prefix=%DRIVE%\boost --build-type=complete --build-dir=%DRIVE%\boostBuild_MSVS_%BOOSTVER% toolset=msvc --variant=release link=static threading=multi runtime-link=shared --without-python install >msvs_build.log 2>&1
@POPD
[OUTPUT LOG - MUCH DELETED]
compile-c-c++ D:\boostBuild_MSVS_1_55_0b1\boost\bin.v2\libs\date_time\build\msvc-12.0\debug\link-static\threading-multi\gregorian\greg_month.obj
greg_month.cpp
D:\boost_1_55_0b1\boost/iterator/detail/facade_iterator_category.hpp(166) : error C2039: 'assert_not_arg' : is not a member of 'boost::mpl'
D:\boost_1_55_0b1\boost/mpl/eval_if.hpp(41) : see reference to class template instantiation 'boost::detail::facade_iterator_category_impl<CategoryOrTraversal,ValueParam,Reference>' being compiled
with
[
CategoryOrTraversal=boost::forward_traversal_tag
, ValueParam=std::basic_string<char,std::char_traits<char>,std::allocator<char>>
, Reference=const std::basic_string<char,std::char_traits<char>,std::allocator<char>> &
]
D:\boost_1_55_0b1\boost/iterator/detail/facade_iterator_category.hpp(193) : see reference to class template instantiation 'boost::mpl::eval_if<boost::detail::is_iterator_category<CategoryOrTraversal>,boost::mpl::identity<boost::forward_traversal_tag>,boost::detail::facade_iterator_category_impl<CategoryOrTraversal,ValueParam,Reference>>' being compiled
with
[
CategoryOrTraversal=boost::forward_traversal_tag
, ValueParam=std::basic_string<char,std::char_traits<char>,std::allocator<char>>
, Reference=const std::basic_string<char,std::char_traits<char>,std::allocator<char>> &
]
D:\boost_1_55_0b1\boost/iterator/iterator_facade.hpp(104) : see reference to class template instantiation 'boost::detail::facade_iterator_category<CategoryOrTraversal,ValueParam,Reference>' being compiled
with
[
CategoryOrTraversal=boost::forward_traversal_tag
, ValueParam=std::basic_string<char,std::char_traits<char>,std::allocator<char>>
, Reference=const std::basic_string<char,std::char_traits<char>,std::allocator<char>> &
]
D:\boost_1_55_0b1\boost/iterator/iterator_facade.hpp(620) : see reference to class template instantiation 'boost::detail::iterator_facade_types<Value,CategoryOrTraversal,Reference,Difference>' being compiled
with
[
Value=std::basic_string<char,std::char_traits<char>,std::allocator<char>>
, CategoryOrTraversal=boost::forward_traversal_tag
, Reference=const std::basic_string<char,std::char_traits<char>,std::allocator<char>> &
, Difference=ptrdiff_t
]
D:\boost_1_55_0b1\boost/token_iterator.hpp(40) : see reference to class template instantiation 'boost::iterator_facade<boost::token_iterator<TokenizerFunc,Iterator,Type>,Type,boost::forward_traversal_tag,const Type &,ptrdiff_t>' being compiled
with
[
TokenizerFunc=char_separator_type
, Iterator=std::_String_const_iterator<std::_String_val<std::_Simple_types<char>>>
, Type=std::basic_string<char,std::char_traits<char>,std::allocator<char>>
]
D:\boost_1_55_0b1\boost/date_time/date_parsing.hpp(132) : see reference to class template instantiation 'boost::token_iterator<TokenizerFunc,Iterator,Type>' being compiled
with
[
TokenizerFunc=char_separator_type
, Iterator=std::_String_const_iterator<std::_String_val<std::_Simple_types<char>>>
, Type=std::basic_string<char,std::char_traits<char>,std::allocator<char>>
]
D:\boost_1_55_0b1\boost/date_time/gregorian/parsers.hpp(30) : see reference to function template instantiation 'date_type boost::date_time::parse_date<boost::gregorian::date>(const std::string &,int)' being compiled
with
[
date_type=boost::gregorian::date
]
D:\boost_1_55_0b1\boost/iterator/detail/facade_iterator_category.hpp(166) : error C3861: 'assert_not_arg': identifier not found
call "C:\Program Files (x86)\microsoft visual studio 12.0\vc\vcvarsall.bat" x86 >nul
cl /Zm800 -nologo @"D:\boostBuild_MSVS_1_55_0b1\boost\bin.v2\libs\date_time\build\msvc-12.0\debug\link-static\threading-multi\gregorian\greg_month.obj.rsp"
...failed compile-c-c++ D:\boostBuild_MSVS_1_55_0b1\boost\bin.v2\libs\date_time\build\msvc-12.0\debug\link-static\threading-multi\gregorian\greg_month.obj...
...skipped <pD:\boostBuild_MSVS_1_55_0b1\boost\bin.v2\libs\date_time\build\msvc-12.0\debug\link-static\threading-multi>libboost_date_time-vc120-mt-gd-1_55.lib for lack of <pD:\boostBuild_MSVS_1_55_0b1\boost\bin.v2\libs\date_time\build\msvc-12.0\debug\link-static\threading-multi>gregorian\greg_month.obj...
compile-c-c++ D:\boostBuild_MSVS_1_55_0b1\boost\bin.v2\libs\exception\build\msvc-12.0\debug\link-static\threading-multi\clone_current_exception_non_intrusive.obj
clone_current_exception_non_intrusive.cpp
compile-c-c++ D:\boostBuild_MSVS_1_55_0b1\boost\bin.v2\libs\filesystem\build\msvc-12.0\debug\link-static\threading-multi\codecvt_error_category.obj
codecvt_error_category.cpp
compile-c-c++ D:\boostBuild_MSVS_1_55_0b1\boost\bin.v2\libs\filesystem\build\msvc-12.0\debug\link-static\threading-multi\operations.obj
operations.cpp
D:\boost_1_55_0b1\boost/iterator/detail/facade_iterator_category.hpp(166) : error C2039: 'assert_not_arg' : is not a member of 'boost::mpl'
D:\boost_1_55_0b1\boost/mpl/eval_if.hpp(41) : see reference to class template instantiation 'boost::detail::facade_iterator_category_impl<CategoryOrTraversal,ValueParam,Reference>' being compiled
with
[
CategoryOrTraversal=boost::bidirectional_traversal_tag
, ValueParam=const boost::filesystem::path
, Reference=const boost::filesystem::path &
]
D:\boost_1_55_0b1\boost/iterator/detail/facade_iterator_category.hpp(193) : see reference to class template instantiation 'boost::mpl::eval_if<boost::detail::is_iterator_category<CategoryOrTraversal>,boost::mpl::identity<boost::bidirectional_traversal_tag>,boost::detail::facade_iterator_category_impl<CategoryOrTraversal,ValueParam,Reference>>' being compiled
with
[
CategoryOrTraversal=boost::bidirectional_traversal_tag
, ValueParam=const boost::filesystem::path
, Reference=const boost::filesystem::path &
]
D:\boost_1_55_0b1\boost/iterator/iterator_facade.hpp(104) : see reference to class template instantiation 'boost::detail::facade_iterator_category<CategoryOrTraversal,ValueParam,Reference>' being compiled
with
[
CategoryOrTraversal=boost::bidirectional_traversal_tag
, ValueParam=const boost::filesystem::path
, Reference=const boost::filesystem::path &
]
D:\boost_1_55_0b1\boost/iterator/iterator_facade.hpp(620) : see reference to class template instantiation 'boost::detail::iterator_facade_types<Value,CategoryOrTraversal,Reference,Difference>' being compiled
with
[
Value=const boost::filesystem::path
, CategoryOrTraversal=boost::bidirectional_traversal_tag
, Reference=const boost::filesystem::path &
, Difference=ptrdiff_t
]
D:\boost_1_55_0b1\boost/filesystem/path.hpp(574) : see reference to class template instantiation 'boost::iterator_facade<boost::filesystem::path::iterator,const boost::filesystem::path,boost::bidirectional_traversal_tag,Value &,ptrdiff_t>' being compiled
with
[
Value=const boost::filesystem::path
]
D:\boost_1_55_0b1\boost/iterator/detail/facade_iterator_category.hpp(166) : error C3861: 'assert_not_arg': identifier not found
call "C:\Program Files (x86)\microsoft visual studio 12.0\vc\vcvarsall.bat" x86 >nul
cl /Zm800 -nologo @"D:\boostBuild_MSVS_1_55_0b1\boost\bin.v2\libs\filesystem\build\msvc-12.0\debug\link-static\threading-multi\operations.obj.rsp"
...failed compile-c-c++ D:\boostBuild_MSVS_1_55_0b1\boost\bin.v2\libs\filesystem\build\msvc-12.0\debug\link-static\threading-multi\operations.obj...
...failed updating 2 targets...
...skipped 1 target...
...updated 6578 targets...
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