Boost logo

Boost Users :

Subject: [Boost-users] [Test] Can't build Boost Test 1.65.0 with Visual Studio 2013
From: Kerry, Richard (richard.kerry_at_[hidden])
Date: 2017-09-06 14:58:43


I've just tried building Boost Test 1.65.0 with Visual Studio 2013 (ie msvc-12) and it doesn't seem to work, showing a compiler internal error.
Can anyone advise what I might be doing wrong. Or whether a newer (or older) release fixes this issue.
I've also tried 1.64.0 with an identical looking failure.
Details below.

Regards,
Richard.

I run :
>b2 --with-test
(as in the docs, though I'm not specifying address-model, link, --prefix or install. Having tried address-model and link as documented they appear to show the same fault).

And then, after some messages, including "- test : building" (and nothing else listed as building), I get some messages starting:

...patience...
...found 1239 targets...
...updating 28 targets...
compile-c-c++ bin.v2\libs\chrono\build\msvc-12.0\debug\link-static\threading-multi\chrono.obj
chrono.cpp
C:\Users\kerryr01\Downloads\Boost\boost_1_65_0\boost/type_traits/common_type.hpp(43) : fatal error C1001: An internal error has occurred in the compiler.
(compiler file 'msc1.cpp', line 1325)
 To work around this problem, try simplifying or changing the program near the locations listed above.
Please choose the Technical Support command on the Visual C++
 Help menu, or open the Technical Support help file for more information
Internal Compiler Error in C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\BIN\cl.exe. You will be prompted to send an error report to Microsoft later.

    call "C:\Users\kerryr01\AppData\Local\Temp\b2_msvc_12.0_vcvarsall_x86.cmd" >nul
cl /Zm800 -nologo @"bin.v2\libs\chrono\build\msvc-12.0\debug\link-static\threading-multi\chrono.obj.rsp"

...failed compile-c-c++ bin.v2\libs\chrono\build\msvc-12.0\debug\link-static\threading-multi\chrono.obj...

This is followed by a number of similar blocks of messages relating to: chrono.obj, thread_clock.obj, process_cpu_clocks.obj, cpu_timer.obj, auto_timers_construction.obj, execution_monitor.obj and others.

[Blue line]
Richard Kerry
BNCS Engineer, SI SOL Telco & Media Vertical Practice
T: +44 (0)20 3618 2669
M: +44 (0)7812 325518
4 Triton Square, Regent’s Place, London NW1 3HG
richard.kerry_at_[hidden]<mailto:richard.kerry_at_[hidden]>

[Atos logo]
This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.</
Atos, Atos Consulting, Worldline and Canopy The Open Cloud Company are trading names used by the Atos group. The following trading entities are registered in England and Wales: Atos IT Services UK Limited (registered number 01245534), Atos Consulting Limited (registered number 04312380), Atos Worldline UK Limited (registered number 08514184) and Canopy The Open Cloud Company Limited (registration number 08011902). The registered office for each is at 4 Triton Square, Regent’s Place, London, NW1 3HG.The VAT No. for each is: GB232327983.

This e-mail and the documents attached are confidential and intended solely for the addressee, and may contain confidential or privileged information. If you receive this e-mail in error, you are not authorised to copy, disclose, use or retain it. Please notify the sender immediately and delete this email from your systems. As emails may be intercepted, amended or lost, they are not secure. Atos therefore can accept no liability for any errors or their content. Although Atos endeavours to maintain a virus-free network, we do not warrant that this transmission is virus-free and can accept no liability for any damages resulting from any virus transmitted. The risks are deemed to be accepted by everyone who communicates with Atos by email.



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