Boost logo

Boost :

Subject: Re: [boost] [build] msvc-14 linker step failing?
From: John Maddock (jz.maddock_at_[hidden])
Date: 2018-02-04 19:23:25


On 04/02/2018 18:25, Steven Watanabe via Boost wrote:
> AMDG
>
> On 02/04/2018 11:13 AM, John Maddock via Boost wrote:
>> I have, and have had for some time:
>>
>> using msvc : 14.0 : "C:/Program Files (x86)/Microsoft Visual Studio
>> 14.0/VC/bin/cl.exe" ;
>>
> Does it work if you add <rewrite-setup-scripts>off (as the next
> argument after the compiler)?

No, it calls vcvarsall.bat at expected, but the call to mt still fails.

Strangely, if I open a VS command prompt from the start menu, then mt
definitely is working.  Ah... I see, that calls "C:\Program Files
(x86)\Microsoft Visual Studio 14.0\Common7\Tools\VsDevCmd.bat" which
does set the paths correctly for the SDK tools, where as vcvarsall.bat
only fixes up the compiler tools, not the SDK stuff it seems.

BTW the setup script sets the path to include for example:

C:\Program Files (x86)\Windows Kits\10\bin\x86

But there's nothing in there.... mt.exe is located under (for example)

C:\Program Files (x86)\Windows Kits\10\bin\10.0.16299.0\x86

Thanks, John.

---
This email has been checked for viruses by AVG.
http://www.avg.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk