아래 내용 참고하여 visualc.hpp 수정 후 컴파일
boost/config/compiler/visualc.hpp 맨 아래 last known and checked version 부분 수정 필요
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 is2015 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.
Update: For Visual Studio 2015 RTM set it to:
// last known and checked version is 19.00.23026 (VC++ 2015):
#if (_MSC_VER > 1800 && _MSC_FULL_VER > 190023026)
Update2: For Visual Studio 2015 Update 1 set it to:
// last known and checked version is 19.00.23506 (VC++ 2015 Update 1):
#if (_MSC_VER > 1800 && _MSC_FULL_VER > 190023506)
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
컴파일하는데 기다리기 귀찮으면 아래 참고
>> Precompiled Boost
'Development > 삽질의 추억' 카테고리의 다른 글
C++ vector 문자열 정렬 (0) | 2016.06.01 |
---|---|
inet_addr c4996 error (0) | 2016.05.03 |
SourceGear DiffMerge TortoiseSVN Unexpected parameter Error (0) | 2016.04.19 |
error LNK2001 외부 기호를 확인할 수 없습니다. (0) | 2016.04.07 |
VS2015 <hash_map> Error C2338 (0) | 2016.02.16 |
