tag:help.appveyor.com,2012-11-13:/discussions/problems/533-how-to-access-nmake-and-visual-studio-toolsAppVeyor: Discussion 2018-08-25T01:46:40Ztag:help.appveyor.com,2012-11-13:Comment/337679272014-07-14T14:14:26Z2014-08-26T17:09:07ZHow to access nmake and visual studio tools?<div><p>I've tried this:</p>
<p>%comspec% /k ""C:\Program Files (x86)\Microsoft Visual Studio
12.0\VC\vcvarsall.bat"" amd64</p>
<p>But get this response: The specified configuration type is
missing. The tools for the configuration might not be
installed.</p>
<p>I need to build libwebp: <a href=
"https://ci.appveyor.com/project/nathanaeljones/libwebp-net">https://ci.appveyor.com/project/nathanaeljones/libwebp-net</a></p></div>Lilith Rivertag:help.appveyor.com,2012-11-13:Comment/337679272014-07-14T14:55:30Z2014-07-14T14:55:30ZHow to access nmake and visual studio tools?<div><p>x64 environment comes with Windows SDK 7.0.</p>
<p>Use <code>SetEnv.bat</code> for setting up environment:</p>
<pre>
<code>"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64</code>
</pre>
<p>Example: <a href=
"https://ci.appveyor.com/project/appvyr/appveyor-bot-0904-0540">https://ci.appveyor.com/project/appvyr/appveyor-bot-0904-0540</a></p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/337679272014-07-14T15:17:09Z2014-08-26T17:09:07ZHow to access nmake and visual studio tools?<div><p>Is there a corresponding appveyor.yml file? Encoding quotes and
spaces properly seems to be a minefield.</p>
<p>Slash-encoding spaces fails:</p>
<p>C:\Program\ Files\Microsoft\ SDKs\Windows\v7.1\Bin\SetEnv.cmd
/x64<br>
-> 'C:\Program\' is not recognized as an internal or external
command, operable program or batch file.</p>
<p>AppVeyor crashes and gives a 404 for the build page if you
forget to double-backslash slashes:<br>
"\"C:\Program Files\Microsoft\ SDKs\Windows\v7.1\Bin\SetEnv.cmd\"
/x64" -> AppVeyor 404.</p>
<p>"\"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd\"
/x64" -> Works, but.. my eyes! Surely there's a cleaner way?</p></div>Lilith Rivertag:help.appveyor.com,2012-11-13:Comment/337679272014-07-14T15:23:32Z2014-07-14T15:23:32ZHow to access nmake and visual studio tools?<div><p>In <code>appveyor.yml</code>:</p>
<pre>
<code>install:
- '"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64'</code>
</pre>
<p>single quotes - it's a string without escapes.</p></div>Feodor Fitsner