AWS Gamelift SDK 5 build error

So when working with the AWS GameLift SDK 5.0 here are a few things to keep in mind.

a. Get OpenSSL from here Win32/Win64 OpenSSL Installer for Windows - Shining Light Productions choose the Latest version Win64 OpenSSL v3.1.1(DO NOT use Light)
b. Install OpenSSL
c. Add the OpenSSL directories to the PATH in EnvironmentVariables

 OPENSSL_INCLUDE_DIR = "C:\Program Files\OpenSSL-Win64\include"
  OPENSSL_LIBRARIES = "C:\Program Files\OpenSSL-Win64\lib"
  OPENSSL_ROOT_DIR = "C:\Program Files\OpenSSL-Win64"
  1. Make sure you have the directory to msbuild.exe to the PATH in EnvironmentVariables
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin

a. Make sure you are in the Visual Studio(version) Development Command Prompt.
b. cd to C:\GameLift-SDK-Release-05_11_2023\GameLift-Cpp-ServerSDK-5.0.3( or where ever you have it)
Then use the commands

mkdir out
cd out
cmake -G “Visual Studio 17 2022” -DBUILD_FOR_UNREAL=1 …
msbuild ALL_BUILD.vcxproj /p:Configuration=Release