Iva*_*rop 23 c++ boost visual-studio
在尝试为Visual Studio 2013 Preview(MSVC12)构建Boost 1.54时,它警告:
未知的编译器版本 - 请运行配置测试并报告结果
然后失败并出错:
boost_1_54_0\boost/iterator/detail/facade_iterator_category.hpp(166):错误C2039:'assert_not_arg':不是'boost :: mpl'的成员
看起来像MSVC11的旧库不兼容.
我真的非常想测试新的IDE/Compiler版本,需要提升.那么,是否可以在新的Visual Studio 2013预览版中使用boost?
Iva*_*rop 24
是.有可能的.
可能的解决方案是
svn co http://svn.boost.org/svn/boost/trunk boost-trunk
.在您阅读本文时,问题可以由贡献者修复.编辑:2013年8月26日
看起来像促进人员解决了这些问题.最新的SVN修订版svn co http://svn.boost.org/svn/boost/trunk boost-trunk
很好.谢谢他们!
编辑:2013年12月4日
引用TheArtTrooper评论:
使用Visual Studio 2013 RTM构建1.55.0版本,无需任何其他补丁
快乐的提升!
The*_*per 11
如果使用自动链接提升功能,则还需要修补boost/config/auto_link.hpp.我将文件更改为:
// vc10:
# define BOOST_LIB_TOOLSET "vc100"
# elif defined(BOOST_MSVC) && (BOOST_MSVC < 1800)
// vc11:
# define BOOST_LIB_TOOLSET "vc110"
# elif defined(BOOST_MSVC)
// vc12:
# define BOOST_LIB_TOOLSET "vc120"
# elif defined(__BORLANDC__)
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
26442 次 |
最近记录: |