mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-07-22 21:45:09 +02:00
Updated Building OpenSSH for Windows (using LibreSSL crypto) (markdown)
parent
2bf0899639
commit
fb43b4ff46
@ -4,18 +4,18 @@
|
||||
|
||||
#### Building OpenSSH for Windows Using Visual Studio, 2015 or newer [*Recommended*]
|
||||
- Download and Install VS 2015, or newer, with Desktop Development with C++ - [latest install here](https://visualstudio.microsoft.com/downloads/)
|
||||
- Confirm the Desktop Development with C++ Kit was installed properly by checking `${env:ProgramFiles(x86)}\Microsoft Visual Studio\<2015/2017/2019/2022>\<Community/Professional/Enterprise>\VC\Auxiliary\Build` for a `vcvarsall.bat` file, as shown in the image below:
|
||||
- Confirm the Desktop Development with C++ Kit was installed properly by checking `${env:ProgramFiles(x86)}\Microsoft Visual Studio\*\*\VC\Auxiliary\Build` for a `vcvarsall.bat` file, as shown in the image below:
|
||||

|
||||
- Install Windows SDK 10.0.17663.0 during Visual Studio install, or download from [here](https://developer.microsoft.com/en-us/windows/downloads/sdk-archive/)
|
||||
- Confirm the SDK was installed properly by checking `${env:ProgramFiles(x86)}\Windows Kits\10\Bin` for a `10.0.17763.0` folder, as shown in the image below:
|
||||

|
||||
- Install Microsoft Build Tools 2015 during Visual Studio install, or download from [here](https://www.microsoft.com/en-us/download/details.aspx?id=48159). Note, Build Tools 2015 are needed regardless of the Visual Studio version installed
|
||||
- Install Microsoft Build Tools 2015 during Visual Studio install, or download from [here](https://www.microsoft.com/en-us/download/details.aspx?id=48159). Note, Build Tools 2015 are needed regardless of the Visual Studio version installed
|
||||
- Confirm the Build Tools were installed properly by checking `${env:ProgramFiles(x86)}\MSBuild\Microsoft.Cpp\v4.0\140` for a `Microsoft.Cpp.Default.Props` file, as shown in the image below:
|
||||

|
||||
- Open "contrib\win32\openssh\Win32-OpenSSH.sln" in Visual Studio, ensure platform toolset is set to "no upgrade" and Windows SDK is set to "10.0.17663.0" as shown in the image below: \
|
||||
- Open "contrib\win32\openssh\Win32-OpenSSH.sln" in Visual Studio, ensure platform toolset is set to "no upgrade" and Windows SDK is set to "10.0.17663.0" as shown in the image below: \
|
||||

|
||||
- If necessary, change the configuration and architecture from the middle toolbar
|
||||
- Build the Win32-OpenSSH binaries
|
||||
- If necessary, change the configuration and architecture from the middle toolbar
|
||||
- Build the Win32-OpenSSH binaries
|
||||
- Binaries will be in a `.\bin\{Architecture}\{Configuration}` folder, as shown in the image below for an x64, Debug build:
|
||||

|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user