Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Open Windows SDK command prompt in Windows 10

I have Installed Windows SDK on windows 10 from here

https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk

But I am unable to open Windows SDK command prompt to run my maven commands to install hadoop. I have searched online but didn't find anything useful. Please help.

like image 913
Rebecca Avatar asked Apr 25 '16 19:04

Rebecca


People also ask

How do I open Windows SDK?

The Windows SDK is installed as part of the Desktop development with C++ workload in the Visual Studio Installer. A standalone version is available at Windows SDK. Open the shortcut menu for the project node, and choose Retarget projects. (In earlier versions of Visual Studio, choose Retarget SDK Version.)

How do I run SDK on Windows 10?

You can get the Windows SDK in two ways: install it from this page by selecting the download link or by selecting “Windows 11 SDK (10.0. 22621.0)” in the optional components of the Visual Studio 2022 Installer. Before you install this SDK: Review all system requirements.

How do I find the Windows 10 SDK?

More specifically, select Tools > Get Tools and Features..., then expand the "Desktop development with C++" section on the right, and look for "Windows 10 SDK (<version>)" under Optional features. It's worth noting that the Windows SDK version found in VS can be different than that found under Windows.

Where is the Windows SDK located?

C:\ProgramData\Microsoft\AndroidNDK64\android-ndk-r13b Note that the version number of the NDK may vary. For example, instead of android-ndk-r13b, it could be an earlier version such as android-ndk-r10e. To set the Android SDK location, enter the full path of the Android SDK directory into the Android SDK Location box.


1 Answers

The Windows 7.1 SDK was really the last one to include it's own "Command Prompt". For Windows 8.x and Windows 10 SDK, you usually install Visual Studio to get the Windows SDK which provides the "Developer Command Prompt" shortcut.

Keep in mind that the Windows 10 SDK uses a "side-by-side" model so C:\Program Files (x86)\Windows Kits\10\Include or Lib\<arch> is not sufficient to point to the include/lib path. You need to add a version string. For example, for the November 2015 update, it would be C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0 and C:\Program Files (x86)\Windows Kits\10\Lib\10.0.10586.0\um\<arch>

In the Visual Studio 2015 Developer Command Prompt, you will see the following environment variables:

WindowsSdkDir=C:\Program Files (x86)\Windows Kits\10\

WindowsSDKLibVersion=10.0.10586.0\

WindowsSDKVersion=10.0.10586.0\

INCLUDE=...C:\Program Files (x86)\Windows Kits\10\include\10.0.10586.0\ucrt;
C:\Program Files (x86)\Windows Kit s\NETFXSDK\4.6.1\include\um;
C:\Program Files (x86)\Windows Kits\10\include\10.0.10586.0\shared;
C:\Program Files (x86)\Windows Kits\10\include\10.0.10586.0\um;
C:\Program Files (x86)\Windows Kits\10\include\10.0.10586.0\winrt;

LIB=...C:\Program Files (x86)\Windows Kits\10\lib\10.0.10586.0\ucrt\x64;
C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64;
C:\Program Files (x86)\Windows Kits\10\lib\10.0.10586.0\um\x64;

LIBPATH=...C:\Program Files (x86)\Windows Kits\10\UnionMetadata;
C:\Program Files (x86)\Windows Kits\10\References;
C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.VCLibs\14.0\References\CommonConfiguration\neutral;
like image 168
Chuck Walbourn Avatar answered Oct 29 '22 15:10

Chuck Walbourn