[MSVC] Updating from SDK 7.1 to WinKit 10.0.17xx
In my appveyor.yml
for MSVC I have this line:
- cmd: if "%BUILDER%"=="msvc" call "c:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /%CPU%
But that SDK is way too old for what stuff I'm currently compiling (Windows Filtering Platform).Using the above SDK together with
<fwpmu.h>
throw up a lot of errors not found in a WinKit SDK v10.x.So how do I rewrite the above
SetEnv.cmd
line?
And, BTW I use a Nmake
/ GNU-make build method (no pesky MSbuild).
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Ilya Finkelshte... on 01 Nov, 2018 08:07 PM
Please check Windows SDKs list installed on AppVeyor Windows images: https://www.appveyor.com/docs/windows-images-software/#windows-sdks
You can get specific directories for SDKs by running the following command in PowerShell at any build stage:
2 Posted by gvanem on 01 Nov, 2018 08:49 PM
Thanks for replying, but I fail to understand how to enable one of those images. No examples AFAICS.
But I fixed my problem in this way instead:
Works for
CPU=x86
. But I've not testedCPU=x64
.3 Posted by Ilya Finkelshte... on 01 Nov, 2018 09:45 PM
Default image is
Visual Studio 2015
. More information about images and how to enable specific one is here: https://www.appveyor.com/docs/build-environment/#build-worker-imagesIlya Finkelshteyn closed this discussion on 02 Jan, 2019 09:00 PM.