[英]How do I build Boost 1.55 with Visual Studio 2013 CTP November 2013
[英]How do I build boost with new Visual Studio 2013 preview?
在嘗試為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?
是。 有可能的。
可能的解決方案是
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版本,無需任何其他補丁
快樂的提升!
如果使用自動鏈接提升功能,則還需要修補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__)
由於Lars Viklund提供了幾個補丁,我能夠構建Boost 1.54(以及依賴它的項目)。 在撰寫本文時,前兩個補丁已提交給SVN - 修訂版85177。
我有這個問題與Visual Studio 2013 Update 4和Boost 1.54,更新到Boost 1.57修復它。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.