Unknown compiler version while compiling Boost with MSVC 14.0 (VS 2015)
来源:互联网 发布:windows使用cd命令 编辑:程序博客网 时间:2024/05/16 11:16
Answer:
Latest (at the time of posting this answer) Boost 1.58 does support MSVC 14.0 Preview which was the latest MS compiler at the time of Boost 1.58 release. Now, the latest version of Visual Studio is 2015 RC which isn't covered in the boost 1.58 config file.
To stop Boost 1.58 complaining about unknown compiler version edit boost/config/compiler/visualc.hpp
and replace:
// last known and checked version is 19.00.22129 (VC14 Preview):#if (_MSC_VER > 1800 && _MSC_FULL_VER > 190022310)
with:
// last known and checked version is 19.00.22816 (VC++ 2015 RC):#if (_MSC_VER > 1800 && _MSC_FULL_VER > 190022816)
which you can find is already done in boost repo here for upcoming Boost 1.59 release.
Also if you have previously been running Boost.Build on toolset=msvc-14.0
then delete from C:\Users\<name>\AppData\Local\Temp
the following cached files:
b2_msvc_14.0_vcvarsall_x86.cmd b2_msvc_14.0_vcvarsall_x86_amd64.cmd b2_msvc_14.0_vcvarsall_x86_arm.cmd
More about that here.
阅读全文
0 0
- Unknown compiler version while compiling Boost with MSVC 14.0 (VS 2015)
- “error: unknown type name 'size_t'” solved while compiling with llvm-gcc
- distutils Unknown MS Compiler version
- Compiling with the Java Compiler API
- [Boost] 1.57.0 with VS2013 + Intel compiler
- Compiling&Compiler网络资源
- Compiling a Compiler
- [boost] build boost with intel compiler 16.0.XXX
- How to compile C++ boost library with Intel C++ compiler
- Windows MSVC vs MinGW
- rvct Cannot obtain license for Compiler (feature compiler) with license version >= 2.2
- RVDS4.0:armcc Cannot obtain license for compiler (feature compiler) with license version = 4.0
- Building with MSVC
- Compiling Vs Transpiling
- Compiling Java with GCJ
- Compiling Java with makefile
- Live555: Compiling with VS2008
- Compiling OpenSSL with MinGW
- windows上如何安装Sqlite
- django 快速搭建blog
- ORACLE大表中删除部分数据最佳方案
- iOS_实现物理仿真中的圆形碰撞
- python3 django1.10 使用mysql服务器
- Unknown compiler version while compiling Boost with MSVC 14.0 (VS 2015)
- Linux工具之grep&&sed&&awk
- python一个命令开启http服务器
- python 常见问题总结
- 使用nginx反向代理,一个80端口下,配置多个微信项目
- python random模块(随机数)详解
- 洗车机的核心技术
- python str与bytes之间的转换
- win7 安装redis服务