Giter Club home page Giter Club logo

aws-gamekit's Introduction

AWS GameKit C++ SDK

Prerequisites

Download and Install CMake v3.21 Some versions of aws-sdk-cpp have a known issue compiling with CMake 3.22 or later.

Enable Windows long path support

For the build steps of the dependencies and the SDK to work properly on Windows, you will have to enable long path support.

Run the following command in an Administrator level Powershell terminal:

Set-ItemProperty `
  -Path HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem `
  -Name LongPathsEnabled -Value 1

Dependencies

Install the dependencies in the following order:

  1. AWS SDK C++
  2. yaml-cpp
  3. GTest
  4. Boost
  5. Pybind

Third party Tools for iOS Builds

iOS Toolchain file: Get the toolchain file from https://github.com/leetal/ios-cmake.

cURL, OpenSSL, nghttp: Get the script that will build cURL, OpenSSL, and nghttp for iOS from: https://github.com/jasonacox/Build-OpenSSL-cURL

  • Needs Xcode 13.1 or above
    • If multiple Xcode versions are installed, run: sudo xcode-select -s <YOUR_XCODE13_APP>/Contents/Developer example: sudo xcode-select -s /Applications/Xcode13.app/Contents/Developer
  • Run: ./build.sh
    • If needed the '-e' flag can be used to compile with OpenSSL engine support although this may cause some 'undefined symbols for architecture' depending on your OS version.

Boost: Get the shell script that will download, bootstrap, and build Boost for iOS from: https://github.com/faithfracture/Apple-Boost-BuildScript/blob/master/boost.sh.

  • The variables in boost.sh should be replaced with the following to avoid building unecessary libraries
    • BOOST_LIBS=("regex" "filesystem" "iostreams")
    • ALL_BOOST_LIBS_1_68=("regex" "filesystem" "iostreams")
    • ALL_BOOST_LIBS_1_69=("regex" "filesystem" "iostreams")

Third party Tools for Android Builds (On Windows)

Ninja: Available as part of Visual Studio 2019

Developer Command Prompt for VS 2019: Available as part of Visual Studio 2019. Note: all Android build commands should be executed from this console. Usually located at "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\Tools\VsDevCmd.bat"

  • For Ninja build tool, you may need to use the dev command prompt from VS Build Tools instead of VS Community edition, if you do not have VS Professional installed. This is especially important when using an EC2 instance instead of your local machine.
  • You can launch the dev cmd prompt using the LaunchDevCmd.bat in the above path.

Android NDK r21d for Unreal: Use Unreal's NDK, follow these steps to install: https://docs.unrealengine.com/4.27/en-US/SharingAndReleasing/Mobile/Android/Setup/AndroidStudio/

Android NDK with Unity: (API Level 24, NDK version 21), you can use the NDK supplied by Unity. To do this, set the following (replace with the Unity version you are using):

set ndkroot=C:\Program Files\Unity\Hub\Editor\<UNITY VERSION>\Editor\Data\PlaybackEngines\AndroidPlayer\NDK

Android Studio Version 4: Follow these steps to install: https://docs.unrealengine.com/4.27/en-US/SharingAndReleasing/Mobile/Android/Setup/AndroidStudio/

After following the steps to install Android Studio 4.0 and downloaded the NDK using Unreal´s script, open Android Studio again and make the following modifications:

  • Install Android SDK Build Tools 30.0.3 in Configure > Appeareance and Behavior > System Settings > Android SDK > SDK Tools. You might need to uncheck "Hide obsolete packages"
    • This may also be accessed from the startup screen: Configure → SDK Manager → SDK Tools
    • You may need to check Show Package Details to see all the versions of the Android SDK Build Tools
  • Uninstall newer versions of the SDK Build Tools

AWS SDK C++

Build and Install AWS SDK C++

Note: BUILD_TYPE is either Debug or Release Note: Make sure your development path is absolute, not relative, the install might silently fail otherwise.

Windows
  1. Clone the AWS SDK C++: git clone --recurse-submodules https://github.com/aws/aws-sdk-cpp (make sure you're on tag 1.9.162 or later)

  2. Install CMake 3.21: https://github.com/Kitware/CMake/releases/tag/v3.21.6

  3. Use the Windows Command Prompt (or the Legacy command prompt in Windows Terminal) for the following:

  4. Create a build directory called AWSSDK in a separate directory than where you cloned the SDK.

    mkdir AWSSDK
  5. Change directory into AWSSDK:

    cd AWSSDK
  6. Generate the SDK Project files (~5 min):

    cmake <YOUR_DEVELOPMENT_PATH>\aws-sdk-cpp -G "Visual Studio 16 2019" -DCMAKE_BUILD_TYPE=<BUILD_TYPE> -DFORCE_SHARED_CRT=ON -DBUILD_SHARED_LIBS=ON -DMINIMIZE_SIZE=ON -DCMAKE_INSTALL_PREFIX=<YOUR_DEVELOPMENT_PATH>\AWSSDK\install\x86_64\windows\<BUILD_TYPE>
  7. Build the SDK (~10 min depends on your workstation specs):

    "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\msbuild.exe" ALL_BUILD.vcxproj /p:Configuration=<BUILD_TYPE> -maxcpucount
  8. Install the SDK to the <YOUR_DEVELOPMENT_PATH>\AWSSDK\install location

    "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\msbuild.exe" INSTALL.vcxproj /p:Configuration=<BUILD_TYPE> -maxcpucount
macOS
  1. Clone the AWS SDK C++: git clone --recurse-submodules https://github.com/aws/aws-sdk-cpp inside ~/<YOUR_DEVELOPMENT_PATH> (make sure you're on tag 1.9.188 for macOS)
    1. Make sure to use the same tag for aws-sdk-cpp for all builds (macOS and iOS)
  2. Install CMake: https://cmake.org/download/
  3. For both macOS and iOS, you will need to pull in the tag v0.17.13 for crt/aws-crt-cpp submodule of aws-sdk-cpp. This fixes a bug for iOS builds related to SetKeychainPath. Make sure to init and recursive update further submodules of aws-crt-cpp.
For macOS SHARED LIBRARIES
  1. Create a build directory called AWSSDK_mac e.g., ~/development/AWSSDK_mac

    mkdir AWSSDK_mac
  2. Change directory into AWSSDK_mac:

    cd AWSSDK_mac
  3. Run CMake

    rm -rf CMakeFiles/; rm -rf CMakeScripts/; rm CMakeCache.txt; rm -rf crt/aws-crt-cpp/CMakeFiles/; rm -rf crt/aws-crt-cpp/CMakeScripts/;
    
    cmake ~/development/aws-sdk-cpp -G Xcode -DCMAKE_BUILD_TYPE=<BUILD_TYPE> -DBUILD_ONLY="core;apigateway;cloudformation;cognito-idp;lambda;s3;ssm;secretsmanager;sts" -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=<YOUR_DEVELOPMENT_PATH>/AWSSDK_mac/install/x86_64/macos/<BUILD_TYPE> -DTARGET_ARCH="APPLE" -DCMAKE_OSX_DEPLOYMENT_TARGET=10.15
  4. Build and install

    xcodebuild -parallelizeTargets -configuration <BUILD_TYPE> -target ALL_BUILD
    xcodebuild -parallelizeTargets -target install
For iOS Static Libraries
  1. Create a build directory called AWSSDK_ios e.g., ~/development/AWSSDK_ios

    mkdir AWSSDK_ios
  2. Change directory into AWSSDK_ios:

    cd AWSSDK_ios
  3. Run CMake Use XCode 12 to compile for iOS 14.0 which is the highest version supported by Unreal 4.27.

    • If multiple Xcode versions are installed,

    Run: sudo xcode-select -s <YOUR_XCODE12_APP>/Contents/Developer Example: sudo xcode-select -s /Applications/Xcode12.app/Contents/Developer

    cmake ~/development/aws-sdk-cpp -G Xcode -DCMAKE_TOOLCHAIN_FILE=<YOUR_DEVELOPMENT_PATH>/ios-cmake/ios.toolchain.cmake -DPLATFORM=OS64 -DCMAKE_BUILD_TYPE=<BUILD_TYPE> -DBUILD_ONLY="core;apigateway;cloudformation;cognito-idp;lambda;s3;ssm;secretsmanager;sts" -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=<YOUR_DEVELOPMENT_PATH>/AWSSDK_ios/install/arm64/ios/<BUILD_TYPE> -DENABLE_TESTING=NO -DCURL_LIBRARY=<YOUR_DEVELOPMENT_PATH>/Build-OpenSSL-cURL/curl/lib/libcurl.a -DCURL_INCLUDE_DIR=<YOUR_DEVELOPMENT_PATH>/Build-OpenSSL-cURL/curl/include -DUSE_OPENSSL=ON -DENABLE_PROXY_INTEGRATION_TESTS=OFF -DENABLE_COMMONCRYPTO_ENCRYPTION=OFF -DENABLE_OPENSSL_ENCRYPTION=ON -DOPENSSL_ROOT_DIR=<YOUR_DEVELOPMENT_PATH>/Build-OpenSSL-cURL/openssl/iOS -DCMAKE_CXX_FLAGS="-Wno-shorten-64-to-32" -DENABLE_CURL_CLIENT=ON -DENABLE_CURL_LOGGING=OFF
  4. Build and install

xcodebuild -parallelizeTargets -configuration <BUILD_TYPE> -target ALL_BUILD
xcodebuild -parallelizeTargets -target install
For Android Libraries
  1. Set these environment variables inside a Developer Command Prompt for VS 2019.

    set ANDROID_API_LEVEL=24
    set BUILD_TYPE=Debug
    set ARCH=arm
    set PLATFORM=android
    set ANDROID_ABI=armeabi-v7a
  • For Unreal, set:
    set BUILD_SHARED=OFF
    set STL_TYPE=c++_static
  • For Unity, set:
    set BUILD_SHARED=ON
    set STL_TYPE=c++_shared 
  1. Create a build directory called AWSSDK_android

    mkdir AWSSDK_android
  2. Change directory into AWSSDK_android:

    cd AWSSDK_android
  3. Run CMake

    cmake <YOUR_DEVELOPMENT_PATH>\aws-sdk-cpp -DNDK_DIR=%NDKROOT% -DBUILD_ONLY="core;apigateway;cloudformation;cognito-idp;lambda;s3;ssm;secretsmanager;sts" -DBUILD_SHARED_LIBS=%BUILD_SHARED% -DCMAKE_BUILD_TYPE=%BUILD_TYPE% -DCUSTOM_MEMORY_MANAGEMENT=ON -DTARGET_ARCH=ANDROID -DANDROID_ABI=%ANDROID_ABI% -DANDROID_NATIVE_API_LEVEL=%ANDROID_API_LEVEL% -DANDROID_BUILD_CURL=1 -DANDROID_BUILD_OPENSSL=1 -DANDROID_BUILD_ZLIB=1 -DBUILD_ZLIB=1 -DCMAKE_INSTALL_PREFIX=<YOUR_DEVELOPMENT_PATH>\AWSSDK_android\install\%ARCH%\%PLATFORM%\%BUILD_TYPE% -G "Ninja" -DANDROID_STL=%STL_TYPE% -DANDROID_PLATFORM=android-%ANDROID_API_LEVEL% -DENABLE_TESTING=NO
  4. Build and install

    cmake --build .
    cmake --build . --target install
  5. Before building Release after you have built Debug, make sure to delete all CMakeCache files and also the folder external-build in AWSSDK_android root path.

yaml-cpp

AWS GameKit uses a fixed version of yaml-cpp: commit 2f899756

Windows Build and Install

  1. git clone https://github.com/jbeder/yaml-cpp/
  2. cd yaml-cpp
  3. git checkout -b gamekit_fixed_version 2f899756
  4. mkdir build
  5. cd build
  6. cmake -DYAML_BUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=<DIRECTORY_IN_STEP_TWO>\install\<BUILD_TYPE> ..
  7. "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\msbuild.exe" INSTALL.vcxproj /p:Configuration=<BUILD_TYPE> -maxcpucount

macOS Build and Install

  1. git clone https://github.com/jbeder/yaml-cpp/
  2. cd yaml-cpp
  3. git checkout -b gamekit_fixed_version 2f899756
  4. mkdir build_mac
  5. cd build_mac
  6. cmake -G Xcode -DYAML_BUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=install/x86_64/<BUILD_TYPE> ..
  7. xcodebuild -parallelizeTargets -configuration <BUILD_TYPE> -target ALL_BUILD
  8. xcodebuild -parallelizeTargets -target install

iOS Build and Install

  1. git clone https://github.com/jbeder/yaml-cpp/ (if not already cloned for macos)
  2. cd yaml-cpp
  3. git checkout -b gamekit_fixed_version 2f899756
  4. mkdir build_ios (same level as macos)
  5. cd build_ios
  6. cmake -G Xcode -DCMAKE_TOOLCHAIN_FILE=<YOUR_DEVELOPMENT_PATH>/ios-cmake/ios.toolchain.cmake -DPLATFORM=OS64 -DCMAKE_BUILD_TYPE=<BUILD_TYPE> -DCMAKE_INSTALL_PREFIX=install/arm64/<BUILD_TYPE> ..
  7. xcodebuild -parallelizeTargets -configuration <BUILD_TYPE> -target ALL_BUILD
  8. xcodebuild -parallelizeTargets -target install

Android Build and Install

  1. Set these environment variables inside a Developer Command Prompt for VS 2019.

    set ANDROID_API_LEVEL=24
    set BUILD_TYPE=Debug
    set ARCH=arm
    set PLATFORM=android
    set ANDROID_ABI=armeabi-v7a
  • For Unreal, set:
    set BUILD_SHARED=OFF
    set STL_TYPE=c++_static
  • For Unity, set:
    set BUILD_SHARED=ON
    set STL_TYPE=c++_shared 
  1. git clone https://github.com/jbeder/yaml-cpp/

  2. cd yaml-cpp

  3. git checkout -b gamekit_fixed_version 2f899756

  4. mkdir build_android

  5. cd build_android

    cmake .. -DCMAKE_TOOLCHAIN_FILE=%NDKROOT%\build\cmake\android.toolchain.cmake -DYAML_BUILD_SHARED_LIBS=%BUILD_SHARED% -DANDROID_ABI=%ANDROID_ABI% -DANDROID_NATIVE_API_LEVEL=%ANDROID_API_LEVEL% -DCMAKE_INSTALL_PREFIX=install\%BUILD_TYPE% -G "Ninja" -DANDROID_STL=%STL_TYPE% -DBUILD_TESTING=OFF
    cmake --build .
    cmake --build . --target install

GTest

Windows Build and Install

  1. Create a directory to contain the Google test repo (example: D:\development), navigate into it and clone: git clone https://github.com/google/googletest. You should end up having a directory tree like D:\development\googletest.
  2. Navigate into the googletest directory inside newly cloned googletest repo, your cwd should look like D:\development\googletest\googletest.
  3. Run CMake to generate the configuration files: cmake -DBUILD_SHARED_LIBS=ON -Dgtest_force_shared_crt=ON -DCMAKE_INSTALL_PREFIX=<path to gtest repo>\build\install -DGTEST_CREATE_SHARED_LIBRARY=1 ..
  4. Build with "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\msbuild.exe" INSTALL.vcxproj /p:Configuration=Debug -maxcpucount

macOS Build and Install

  1. Clone https://github.com/google/googletest
  2. cd into the directory where you cloned googletest
  3. mkdir build_mac
  4. cd build_mac
  5. cmake -G Xcode -DBUILD_SHARED_LIBS=ON -Dgtest_force_shared_crt=ON -DCMAKE_INSTALL_PREFIX=install/x86_64 -DGTEST_CREATE_SHARED_LIBRARY=1 ..
  6. xcodebuild -parallelizeTargets -target ALL_BUILD
  7. xcodebuild -parallelizeTargets -target install

iOS Build and Install

  1. Not needed.

Android Build and Install

  1. Set these environment variables inside a Developer Command Prompt for VS 2019.

    set ANDROID_API_LEVEL=24
    set BUILD_TYPE=Debug
    set ARCH=arm
    set PLATFORM=android
    set ANDROID_ABI=armeabi-v7a
  • For Unreal, set:
    set STL_TYPE=c++_static
  • For Unity, set:
    set STL_TYPE=c++_shared 
  1. Clone https://github.com/google/googletest

  2. cd into the directory where you cloned googletest

  3. mkdir build_android

  4. cd build_android

    cmake .. -DBUILD_SHARED_LIBS=ON -Dgtest_force_shared_crt=ON -DCMAKE_INSTALL_PREFIX=install\%BUILD_TYPE% -DGTEST_CREATE_SHARED_LIBRARY=1 -DCMAKE_TOOLCHAIN_FILE=%NDKROOT%\build\cmake\android.toolchain.cmake -DANDROID_ABI=%ANDROID_ABI% -DANDROID_NATIVE_API_LEVEL=%ANDROID_API_LEVEL% -G "Ninja" -DANDROID_STL=%STL_TYPE%
    cmake --build .
    cmake --build . --target install

Boost

Windows Build and Install

  1. Download and extract https://www.boost.org/users/history/version_1_76_0.html
  2. cd into the directory you extracted Boost
  3. Run bootstrap.bat
  4. Run .\b2 link=static

macOS Build and Install

  1. Download and extract https://www.boost.org/users/history/version_1_76_0.html
  2. cd into the directory you extracted Boost
  3. Run ./bootstrap.sh
  4. Run ./b2 link=static

iOS Build and Install

  1. Make the following updates to the script from https://gist.github.com/faithfracture/c629ae4c7168216a9856#file-boost-sh :
    1. Make sure it's in a separate folder from the boost folder for win64 and macos, for example: ~/development/ios-boost.
    2. May need to give r+w permissions to all files in this folder with chmod.
    3. Update boost version in to 1.76.0 (or whichever one we are currently using for win64 and macos).
    4. Change BOOST_LIBS to BOOST_LIBS="regex filesystem iostreams"
  2. Run the script using ./boost.sh -ios.
  3. Note: You can continue to use the other boost folder (ex: <BOOST_PARENT_DIR>\boost_1_76_0) when asked for the boost path in the scripts/aws_gamekit_cpp_build.py build script since the build needs boost source/includes. Use the ios-boost directory when prompted for the boost path in the scripts/refresh_plugin.py script that copies ios static libs.

Android Build and Install

  1. Set these environment variables inside a Developer Command Prompt for VS 2019.

    set ANDROID_API_LEVEL=24
    set BUILD_TYPE=Debug
    set ARCH=arm
    set PLATFORM=android
    set CLANGPATH=%NDKROOT%\toolchains\llvm\prebuilt\windows-x86_64\bin
    set PATH=%PATH%;%CLANGPATH%
    • For Unreal, set:
    set STL_TYPE=c++_static
    • For Unity, set:
    set STL_TYPE=c++_shared 
  2. Copy the scripts\Android\sample-android-user-config.jam to your User directory with the name user-config.jam e.g. C:\users\<your username>\user-config.jam.

    Note: Remember to remove or rename this file after building Boost for Android, otherwise all future Boost builds will use this configuration.

  3. Download and extract https://www.boost.org/users/history/version_1_76_0.html. Make sure it's in a separate folder from the boost folder for win64 and macos, for example: ~/development/android-boost.

  4. cd into the directory you extracted Boost

  5. Run bootstrap.bat --with-libraries=regex,filesystem,iostreams

  6. Build boost:

  • For Unreal, run
    .\b2 toolset=clang-armeabiv7a target-os=android architecture=arm --without-python threading=multi link=static --layout=tagged variant=debug,release
  • For Unity:
    Open boostcpp.jam in your boost dir and add android to the platforms on line 210, so it ends up as
    ! [ $(property-set).get <target-os> ] in windows cygwin darwin aix android &&
    
    Then, run in the Command Prompt
    .\b2 toolset=clang-armeabiv7a target-os=android architecture=arm --without-python link=shared --layout=system variant=debug,release stage

pybind11

Windows Build and Install

  • Make sure python3 is on your PATH
  1. Clone https://github.com/pybind/pybind11/
  2. cd into the directory where you cloned pybind11
  3. cmake -DBoost_INCLUDE_DIR=<BOOST_PARENT_DIR>\boost_1_76_0 -DCMAKE_INSTALL_PREFIX=<PYBIND_PARENT_DIR>\pybind11\install\<BUILD_TYPE> .
  4. "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\Current\Bin\msbuild.exe" INSTALL.vcxproj /p:Configuration=<BUILD_TYPE> -maxcpucount

macOS Build and Install

  1. Clone https://github.com/pybind/pybind11/
  2. cd into the directory where you cloned pybind11
  3. cmake -DBOOST_ROOT=<BOOST_PARENT_DIR>/boost_1_76_0 .
  4. make
  5. sudo make install

iOS Build and Install

Not supported.

Android Build and Install

Not supported.

Build GameKit C++

Use the scripts/aws_gamekit_cpp_build.py utility to generate project files and compile for the specified platform.

  • Usage: python scripts/aws_gamekit_cpp_build.py <Platform> <Platform specific arguments> <BUILD_TYPE>
  • Example: python scripts/aws_gamekit_cpp_build.py Windows --test Debug
  • Use --help to see all arguments and directions. If used after supplying a platform it will list and explain platform sepecific arguments.
  • For Android support in Unity, call the command as follows (replacing <BUILD_TYPE> with Release or Debug):
    python scripts/aws_gamekit_cpp_build.py  Android --shared <BUILD_TYPE>

The script will first search your environment variables for dependency path variables. If they are not present there, it will search in the .env file at the root of this repository (created by running this script), else it will prompt you for input on where the dependencies are located and save those locations in the .env file.

Run Unit Tests

Windows

  1. cd into tests\<BUILD_TYPE> directory
  2. Run aws-gamekit-cpp-tests.exe

macOS

  1. cd into the tests/Debug directory
  2. Run ./aws-gamekit-cpp-tests

Update Plugin with new binaries and headers

Use the scripts/refresh_plugin.py script to update your game engine plugin with the new libraries and header files.

  • Usage: python scripts/refresh_plugin.py --platform <target_platform> <BuildType> <GameEngine> <game engine specific arguments>
  • Example: python scripts/refresh_plugin.py --platform Windows Debug Unreal --unreal_plugin_path D:\development\MyUnrealGame\Plugins\AwsGameKit
  • Example: python scripts/refresh_plugin.py --platform Windows Debug Unity --unity_plugin_path D:\development\MyUnityGame\Packages\com.amazonaws.gamekit
  • Use --help with the script to see argument options, and using --help after supplying a GameEngine argument, it will list and explain game engine specific arguments.
  • If refreshing MacOS or iOS binaries you will have to codesign them to distribute them to other developers, supply the --certificate_name argument and give a Developer ID Application certificate common name.

aws-gamekit's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aws-gamekit's Issues

Failed to build GameKit C++ on Windows

Describe the bug
Followed the instructions on https://github.com/aws/aws-gamekit and couldn't build GameKit C++.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://github.com/aws/aws-gamekit'
  2. Follow the instructions until the step shown in the screenshot below (Built all dependencies for Debug)
  3. See first error
  4. Fix first error
  5. See second error

Expected behavior
Expected that if i followed the guide precisely i would be able to build the AWS GameKit C++ SDK on Windows.

Logs
Running command:
python scripts/aws_gamekit_cpp_build.py Windows --clean --ms_build_path "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\msbuild.exe" Debug

First error:

INFO:root:Running command: ['D:\\AWS\\aws-gamekit\\scripts\\Win64\\regenerate_projects.bat', 'D:\\AWS\\sdk_build', 'D:\\AWS\\boost_1_76_0', 'D:\\AWS\\yaml-cpp', 'D:\\AWS\\googletest', 'D:\\AWS\\pybind11', 'D:\\AWS\\aws-gamekit', 'Debug'] from directory: D:\AWS\aws-gamekit
Build Configuration=Debug
CMake Error at C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
By not providing "Findaws-c-sdkutils.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"aws-c-sdkutils", but CMake did not find one.

Could not find a package configuration file provided by "aws-c-sdkutils"
with any of the following names:

aws-c-sdkutilsConfig.cmake
aws-c-sdkutils-config.cmake

Add the installation prefix of "aws-c-sdkutils" to CMAKE_PREFIX_PATH or set
"aws-c-sdkutils_DIR" to a directory containing one of the above files.  If
"aws-c-sdkutils" provides a separate development package or SDK, be sure it
has been installed.
  Call Stack (most recent call first):
D:/AWS/sdk_build/install/x86_64/windows/Debug/lib/aws-c-auth/cmake/aws-c-auth-config.cmake:7 (find_dependency)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
D:/AWS/sdk_build/install/x86_64/windows/Debug/lib/aws-crt-cpp/cmake/aws-crt-cpp-config.cmake:6 (find_dependency)
C:/Program Files/CMake/share/cmake-3.21/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
D:/AWS/sdk_build/install/x86_64/windows/Debug/lib/cmake/aws-cpp-sdk-core/aws-cpp-sdk-core-config.cmake:13 (find_dependency)
D:/AWS/sdk_build/install/x86_64/windows/Debug/lib/cmake/AWSSDK/AWSSDKConfig.cmake:307 (find_package)
CMakeLists.txt:56 (find_package)


INFO:root:
INFO:root:D:\AWS\aws-gamekit>REM Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
INFO:root:
INFO:root:D:\AWS\aws-gamekit>REM SPDX-License-Identifier: Apache-2.0
INFO:root:
INFO:root:D:\AWS\aws-gamekit>set CMAKE_PREFIX_PATH=D:\AWS\sdk_build\install\Debug
INFO:root:
INFO:root:D:\AWS\aws-gamekit>cmake -G "Visual Studio 16 2019" -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Debug -Daws-c-http_DIR=D:\AWS\sdk_build\install\x86_64\windows\Debug\lib\aws-c-http\cmake -Daws-c-io_DIR=D:\AWS\sdk_build\install\x86_64\windows\Debug\lib\aws-c-io\cmake -Daws-c-common_DIR=D:\AWS\sdk_build\install\x86_64\windows\Debug\lib\aws-c-common\cmake -Daws-c-cal_DIR=D:\AWS\sdk_build\install\x86_64\windows\Debug\lib\aws-c-cal\cmake -Daws-c-compression_DIR=D:\AWS\sdk_build\install\x86_64\windows\Debug\lib\aws-c-compression\cmake -Daws-c-mqtt_DIR=D:\AWS\sdk_build\install\x86_64\windows\Debug\lib\aws-c-mqtt\cmake -Daws-c-auth_DIR=D:\AWS\sdk_build\install\x86_64\windows\Debug\lib\aws-c-auth\cmake -Daws-c-event-stream_DIR=D:\AWS\sdk_build\install\x86_64\windows\Debug\lib\aws-c-event-stream\cmake -Daws-checksums_DIR=D:\AWS\sdk_build\install\x86_64\windows\Debug\lib\aws-checksums\cmake -Daws-c-s3_DIR=D:\AWS\sdk_build\install\x86_64\windows\Debug\lib\aws-c-s3\cmake -DAWSSDK_DIR=D:\AWS\sdk_build\install\x86_64\windows\Debug\lib\cmake\AWSSDK -Daws-cpp-sdk-core_DIR=D:\AWS\sdk_build\install\x86_64\windows\Debug\lib\cmake\aws-cpp-sdk-core -Daws-crt-cpp_DIR=D:\AWS\sdk_build\install\x86_64\windows\Debug\lib\aws-crt-cpp\cmake -Daws-cpp-sdk-cloudformation_DIR=D:\AWS\sdk_build\install\x86_64\windows\Debug\lib\cmake\aws-cpp-sdk-cloudformation -Daws-cpp-sdk-cognito-idp_DIR=D:\AWS\sdk_build\install\x86_64\windows\Debug\lib\cmake\aws-cpp-sdk-cognito-idp -Daws-cpp-sdk-sts_DIR=D:\AWS\sdk_build\install\x86_64\windows\Debug\lib\cmake\aws-cpp-sdk-sts -Daws-cpp-sdk-secretsmanager_DIR=D:\AWS\sdk_build\install\x86_64\windows\Debug\lib\cmake\aws-cpp-sdk-secretsmanager -Daws-cpp-sdk-ssm_DIR=D:\AWS\sdk_build\install\x86_64\windows\Debug\lib\cmake\aws-cpp-sdk-ssm -Daws-cpp-sdk-s3_DIR=D:\AWS\sdk_build\install\x86_64\windows\Debug\lib\cmake\aws-cpp-sdk-s3 -Daws-cpp-sdk-lambda_DIR=D:\AWS\sdk_build\install\x86_64\windows\Debug\lib\cmake\aws-cpp-sdk-lambda -Daws-cpp-sdk-apigateway_DIR=D:\AWS\sdk_build\install\x86_64\windows\Debug\lib\cmake\aws-cpp-sdk-apigateway -DBOOST_ROOT=D:\AWS\boost_1_76_0 -DBOOST_LIBRARYDIR=D:\AWS\boost_1_76_0\stage\lib -Dyaml-cpp_DIR=D:\AWS\yaml-cpp\install\Debug\share\cmake\yaml-cpp -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -DGTest_DIR=D:\AWS\googletest\build\install\lib\cmake\GTest -DGTEST_SRC=D:\AWS\googletest\build\install\include -Dpybind11_DIR=D:\AWS\pybind11\install\Debug\share\cmake\pybind11 -DCMAKE_INSTALL_PREFIX=D:\AWS\aws-gamekit\install\Debug --log-level=Verbose D:\AWS\aws-gamekit -DCMAKE_CXX_FLAGS_DEBUG="-Zi -Ob0 -Od -RTC1"
INFO:root:-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19044.
INFO:root:-- The C compiler identification is MSVC 19.29.30145.0
INFO:root:-- The CXX compiler identification is MSVC 19.29.30145.0
INFO:root:-- Detecting C compiler ABI info
INFO:root:-- Detecting C compiler ABI info - done
INFO:root:-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
INFO:root:-- Detecting C compile features
INFO:root:-- Detecting C compile features - done
INFO:root:-- Detecting CXX compiler ABI info
INFO:root:-- Detecting CXX compiler ABI info - done
INFO:root:-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
INFO:root:-- Detecting CXX compile features
INFO:root:-- Detecting CXX compile features - done
INFO:root:-- Found AWS SDK for C++, Version: 1.10.24, Install Root:D:/AWS/sdk_build/install/x86_64/windows/Debug, Platform Prefix:, Platform Dependent Libraries: Userenv;version;ws2_32;Bcrypt;Wininet;winhttp
INFO:root:-- Components specified for AWSSDK: apigateway;cloudformation;cognito-idp;lambda;s3;ssm;secretsmanager;sts, application will be depending on libs: aws-cpp-sdk-apigateway;aws-cpp-sdk-cloudformation;aws-cpp-sdk-cognito-idp;aws-cpp-sdk-lambda;aws-cpp-sdk-s3;aws-cpp-sdk-ssm;aws-cpp-sdk-secretsmanager;aws-cpp-sdk-sts;aws-cpp-sdk-core
INFO:root:-- Try finding aws-cpp-sdk-core
INFO:root:-- Looking for pthread.h
INFO:root:-- Looking for pthread.h - not found
INFO:root:-- Found Threads: TRUE
INFO:root:-- Configuring incomplete, errors occurred!
INFO:root:See also "D:/AWS/aws-gamekit/CMakeFiles/CMakeOutput.log".
INFO:root:See also "D:/AWS/aws-gamekit/CMakeFiles/CMakeError.log".
INFO:root:
INFO:root:Running command: ['C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\MSBuild\\Current\\Bin\\msbuild.exe', 'ALL_BUILD.vcxproj', '-p:Configuration=Debug', '-m', '-t:Clean'] from directory: D:\AWS\aws-gamekit
ERROR:root:Command: ['C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\MSBuild\\Current\\Bin\\msbuild.exe', 'ALL_BUILD.vcxproj', '-p:Configuration=Debug', '-m', '-t:Clean'] from directory: D:\AWS\aws-gamekit failed with return code: 1
INFO:root:Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework
INFO:root:Copyright (C) Microsoft Corporation. All rights reserved.
INFO:root:
INFO:root:MSBUILD : error MSB1009: Project file does not exist.
INFO:root:Switch: ALL_BUILD.vcxproj
INFO:root:
Traceback (most recent call last):
File "D:\AWS\aws-gamekit\scripts\aws_gamekit_cpp_build.py", line 40, in <module>
  build_libs()
File "D:\AWS\aws-gamekit\scripts\aws_gamekit_cpp_build.py", line 31, in build_libs
  windows.build(args)
File "D:\AWS\aws-gamekit\scripts\Win64\build.py", line 54, in build
  run_and_log([str(MS_BUILD), "ALL_BUILD.vcxproj", f"-p:Configuration={args.type}", "-m", "-t:Clean" if args.clean else ""])
File "D:\AWS\aws-gamekit\scripts\common.py", line 35, in run_and_log
  raise err
File "D:\AWS\aws-gamekit\scripts\common.py", line 21, in run_and_log
  output = subprocess.check_output(command, shell=(type(command) == str))
File "C:\Users\margu_yjbjs23\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 420, in check_output
  return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "C:\Users\margu_yjbjs23\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 524, in run
  raise CalledProcessError(retcode, process.args,
  subprocess.CalledProcessError: Command '['C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\MSBuild\\Current\\Bin\\msbuild.exe', 'ALL_BUILD.vcxproj', '-p:Configuration=Debug', '-m', '-t:Clean']' returned non-zero exit status 1.

Fixed by editing CMakeLists.txt with:
list(APPEND CMAKE_PREFIX_PATH "D:\AWS\sdk_build\install\x86_64\windows\Debug\lib\aws-c-sdkutils\cmake")

Running command:
python scripts/aws_gamekit_cpp_build.py Windows --clean --ms_build_path "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\msbuild.exe" Debug

Second error:

INFO:root:Build started 12/8/2022 1:22:04 PM.
INFO:root:     1>Project "D:\AWS\aws-gamekit\INSTALL.vcxproj" on node 1 (default targets).
INFO:root:     1>Project "D:\AWS\aws-gamekit\INSTALL.vcxproj" (1) is building "D:\AWS\aws-gamekit\ZERO_CHECK.vcxproj" (2) on node 1 (default targets).
INFO:root:     2>PrepareForBuild:
INFO:root:         Creating directory "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\".
INFO:root:       InitializeBuildStatus:
INFO:root:         Creating "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
INFO:root:       PreBuildEvent:
INFO:root:         Checking File Globs
INFO:root:         setlocal
INFO:root:         "C:\Program Files\CMake\bin\cmake.exe" -P D:/AWS/aws-gamekit/CMakeFiles/VerifyGlobs.cmake
INFO:root:         if %errorlevel% neq 0 goto :cmEnd
INFO:root:         :cmEnd
INFO:root:         endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
INFO:root:         :cmErrorLevel
INFO:root:         exit /b %1
INFO:root:         :cmDone
INFO:root:         if %errorlevel% neq 0 goto :VCEnd
INFO:root:         :VCEnd
INFO:root:       CustomBuild:
INFO:root:         Checking Build System
INFO:root:       FinalizeBuildStatus:
INFO:root:         Deleting file "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild".
INFO:root:         Touching "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate".
INFO:root:     2>Done Building Project "D:\AWS\aws-gamekit\ZERO_CHECK.vcxproj" (default targets).
INFO:root:     1>Project "D:\AWS\aws-gamekit\INSTALL.vcxproj" (1) is building "D:\AWS\aws-gamekit\ALL_BUILD.vcxproj" (3) on node 2 (default targets).
INFO:root:     3>Project "D:\AWS\aws-gamekit\ALL_BUILD.vcxproj" (3) is building "D:\AWS\aws-gamekit\aws-gamekit-core\aws-gamekit-core.vcxproj" (10) on node 3 (default targets).
INFO:root:    10>PrepareForBuild:
INFO:root:         Creating directory "D:\AWS\aws-gamekit\aws-gamekit-core\Debug\".
INFO:root:         Creating directory "aws-gamekit-core.dir\Debug\aws-gamekit-core.tlog\".
INFO:root:       InitializeBuildStatus:
INFO:root:         Creating "aws-gamekit-core.dir\Debug\aws-gamekit-core.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
INFO:root:       CustomBuild:
INFO:root:         Building Custom Rule D:/AWS/aws-gamekit/aws-gamekit-core/CMakeLists.txt
INFO:root:       ClCompile:
INFO:root:         C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\CL.exe /c /ID:\AWS\boost_1_76_0 /I"D:\AWS\aws-gamekit\aws-gamekit-core\include" /I"D:\AWS\yaml-cpp\install\Debug\include" /ID:\AWS\sdk_build\install\x86_64\windows\Debug\include /Zi /nologo /W1 /WX- /diagnostics:column /Od /Ob0 /D _WINDLL /D _MBCS /D WIN32 /D _WINDOWS /D GAMEKIT_DEBUG /D USE_IMPORT_EXPORT /D AWS_SDK_VERSION_MAJOR=1 /D AWS_SDK_VERSION_MINOR=10 /D AWS_SDK_VERSION_PATCH=24 /D USE_WINDOWS_DLL_SEMANTICS /D USE_IMPORT_EXPORT=1 /D AWS_CRT_CPP_USE_IMPORT_EXPORT /D AWS_HTTP_USE_IMPORT_EXPORT /D AWS_IO_USE_IMPORT_EXPORT /D AWS_USE_IO_COMPLETION_PORTS /D AWS_COMMON_USE_IMPORT_EXPORT /D AWS_CAL_USE_IMPORT_EXPORT /D AWS_COMPRESSION_USE_IMPORT_EXPORT /D AWS_MQTT_USE_IMPORT_EXPORT /D AWS_MQTT_WITH_WEBSOCKETS /D AWS_AUTH_USE_IMPORT_EXPORT /D AWS_SDKUTILS_USE_IMPORT_EXPORT /D AWS_CHECKSUMS_USE_IMPORT_EXPORT /D AWS_EVENT_STREAM_USE_IMPORT_EXPORT /D AWS_S3_USE_IMPORT_EXPORT /D "CMAKE_INTDIR=\"Debug\"" /D aws_gamekit_core_EXPORTS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /std:c++17 /Fo"aws-gamekit-core.dir\Debug\\" /Fd"aws-gamekit-core.dir\Debug\vc142.pdb" /external:W1 /Gd /TP /errorReport:queue "D:\AWS\aws-gamekit\aws-gamekit-core\CMakeFiles\aws-gamekit-core.dir\Unity\unity_2_cxx.cxx" "D:\AWS\aws-gamekit\aws-gamekit-core\CMakeFiles\aws-gamekit-core.dir\Unity\unity_1_cxx.cxx" "D:\AWS\aws-gamekit\aws-gamekit-core\CMakeFiles\aws-gamekit-core.dir\Unity\unity_0_cxx.cxx" "D:\AWS\aws-gamekit\aws-gamekit-core\source\aws\gamekit\core\awsclients\api_initializer.cpp"
INFO:root:         unity_2_cxx.cxx
INFO:root:    10>D:\AWS\aws-gamekit\aws-gamekit-core\include\aws/gamekit/core/awsclients/default_clients.h(46,1): error C2664: 'Aws::S3::S3Client::S3Client(const Aws::S3::S3ClientConfiguration &,std::shared_ptr<Aws::S3::S3EndpointProviderBase>)': cannot convert argument 1 from 'Aws::Auth::AWSCredentials' to 'const Aws::S3::S3ClientConfiguration &' [D:\AWS\aws-gamekit\aws-gamekit-core\aws-gamekit-core.vcxproj]
INFO:root:       D:\AWS\aws-gamekit\aws-gamekit-core\include\aws/gamekit/core/awsclients/default_clients.h(46,1): message : Reason: cannot convert from 'Aws::Auth::AWSCredentials' to 'const Aws::S3::S3ClientConfiguration' [D:\AWS\aws-gamekit\aws-gamekit-core\aws-gamekit-core.vcxproj]
INFO:root:       D:\AWS\aws-gamekit\aws-gamekit-core\include\aws/gamekit/core/awsclients/default_clients.h(46,26): message : No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called [D:\AWS\aws-gamekit\aws-gamekit-core\aws-gamekit-core.vcxproj]
INFO:root:       D:\AWS\sdk_build\install\x86_64\windows\Debug\include\aws/s3/S3Client.h(52,9): message : see declaration of 'Aws::S3::S3Client::S3Client' [D:\AWS\aws-gamekit\aws-gamekit-core\aws-gamekit-core.vcxproj]
INFO:root:       D:\AWS\aws-gamekit\aws-gamekit-core\include\aws/gamekit/core/awsclients/default_clients.h(52): message : see reference to function template instantiation 'T *GameKit::DefaultClients::getDefaultClient<Aws::S3::S3Client>(const GameKit::AccountCredentialsCopy &)' being compiled [D:\AWS\aws-gamekit\aws-gamekit-core\aws-gamekit-core.vcxproj]
INFO:root:                 with
INFO:root:                 [
INFO:root:                     T=Aws::S3::S3Client
INFO:root:                 ]
INFO:root:         unity_1_cxx.cxx
INFO:root:    10>D:\AWS\aws-gamekit\aws-gamekit-core\include\aws/gamekit/core/awsclients/default_clients.h(46,1): error C2664: 'Aws::S3::S3Client::S3Client(const Aws::S3::S3ClientConfiguration &,std::shared_ptr<Aws::S3::S3EndpointProviderBase>)': cannot convert argument 1 from 'Aws::Auth::AWSCredentials' to 'const Aws::S3::S3ClientConfiguration &' [D:\AWS\aws-gamekit\aws-gamekit-core\aws-gamekit-core.vcxproj]
INFO:root:       D:\AWS\aws-gamekit\aws-gamekit-core\include\aws/gamekit/core/awsclients/default_clients.h(46,1): message : Reason: cannot convert from 'Aws::Auth::AWSCredentials' to 'const Aws::S3::S3ClientConfiguration' [D:\AWS\aws-gamekit\aws-gamekit-core\aws-gamekit-core.vcxproj]
INFO:root:       D:\AWS\aws-gamekit\aws-gamekit-core\include\aws/gamekit/core/awsclients/default_clients.h(46,26): message : No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called [D:\AWS\aws-gamekit\aws-gamekit-core\aws-gamekit-core.vcxproj]
INFO:root:       D:\AWS\sdk_build\install\x86_64\windows\Debug\include\aws/s3/S3Client.h(52,9): message : see declaration of 'Aws::S3::S3Client::S3Client' [D:\AWS\aws-gamekit\aws-gamekit-core\aws-gamekit-core.vcxproj]
INFO:root:       D:\AWS\aws-gamekit\aws-gamekit-core\include\aws/gamekit/core/awsclients/default_clients.h(52): message : see reference to function template instantiation 'T *GameKit::DefaultClients::getDefaultClient<Aws::S3::S3Client>(const GameKit::AccountCredentialsCopy &)' being compiled [D:\AWS\aws-gamekit\aws-gamekit-core\aws-gamekit-core.vcxproj]
INFO:root:                 with
INFO:root:                 [
INFO:root:                     T=Aws::S3::S3Client
INFO:root:                 ]
INFO:root:         unity_0_cxx.cxx
INFO:root:    10>D:\AWS\aws-gamekit\aws-gamekit-core\include\aws/gamekit/core/awsclients/default_clients.h(46,1): error C2664: 'Aws::S3::S3Client::S3Client(const Aws::S3::S3ClientConfiguration &,std::shared_ptr<Aws::S3::S3EndpointProviderBase>)': cannot convert argument 1 from 'Aws::Auth::AWSCredentials' to 'const Aws::S3::S3ClientConfiguration &' [D:\AWS\aws-gamekit\aws-gamekit-core\aws-gamekit-core.vcxproj]
INFO:root:       D:\AWS\aws-gamekit\aws-gamekit-core\include\aws/gamekit/core/awsclients/default_clients.h(46,1): message : Reason: cannot convert from 'Aws::Auth::AWSCredentials' to 'const Aws::S3::S3ClientConfiguration' [D:\AWS\aws-gamekit\aws-gamekit-core\aws-gamekit-core.vcxproj]
INFO:root:       D:\AWS\aws-gamekit\aws-gamekit-core\include\aws/gamekit/core/awsclients/default_clients.h(46,26): message : No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called [D:\AWS\aws-gamekit\aws-gamekit-core\aws-gamekit-core.vcxproj]
INFO:root:       D:\AWS\sdk_build\install\x86_64\windows\Debug\include\aws/s3/S3Client.h(52,9): message : see declaration of 'Aws::S3::S3Client::S3Client' [D:\AWS\aws-gamekit\aws-gamekit-core\aws-gamekit-core.vcxproj]
INFO:root:       D:\AWS\aws-gamekit\aws-gamekit-core\include\aws/gamekit/core/awsclients/default_clients.h(52): message : see reference to function template instantiation 'T *GameKit::DefaultClients::getDefaultClient<Aws::S3::S3Client>(const GameKit::AccountCredentialsCopy &)' being compiled [D:\AWS\aws-gamekit\aws-gamekit-core\aws-gamekit-core.vcxproj]
INFO:root:                 with
INFO:root:                 [
INFO:root:                     T=Aws::S3::S3Client
INFO:root:                 ]
INFO:root:         api_initializer.cpp
INFO:root:         Generating Code...
INFO:root:    10>Done Building Project "D:\AWS\aws-gamekit\aws-gamekit-core\aws-gamekit-core.vcxproj" (default targets) -- FAILED.
INFO:root:     3>Done Building Project "D:\AWS\aws-gamekit\ALL_BUILD.vcxproj" (default targets) -- FAILED.
INFO:root:     1>Done Building Project "D:\AWS\aws-gamekit\INSTALL.vcxproj" (default targets) -- FAILED.
INFO:root:
INFO:root:Build FAILED.
INFO:root:
INFO:root:       "D:\AWS\aws-gamekit\INSTALL.vcxproj" (default target) (1) ->
INFO:root:       "D:\AWS\aws-gamekit\ALL_BUILD.vcxproj" (default target) (3) ->
INFO:root:       "D:\AWS\aws-gamekit\aws-gamekit-core\aws-gamekit-core.vcxproj" (default target) (10) ->
INFO:root:       (ClCompile target) ->
INFO:root:         D:\AWS\aws-gamekit\aws-gamekit-core\include\aws/gamekit/core/awsclients/default_clients.h(46,1): error C2664: 'Aws::S3::S3Client::S3Client(const Aws::S3::S3ClientConfiguration &,std::shared_ptr<Aws::S3::S3EndpointProviderBase>)': cannot convert argument 1 from 'Aws::Auth::AWSCredentials' to 'const Aws::S3::S3ClientConfiguration &' [D:\AWS\aws-gamekit\aws-gamekit-core\aws-gamekit-core.vcxproj]
INFO:root:         D:\AWS\aws-gamekit\aws-gamekit-core\include\aws/gamekit/core/awsclients/default_clients.h(46,1): error C2664: 'Aws::S3::S3Client::S3Client(const Aws::S3::S3ClientConfiguration &,std::shared_ptr<Aws::S3::S3EndpointProviderBase>)': cannot convert argument 1 from 'Aws::Auth::AWSCredentials' to 'const Aws::S3::S3ClientConfiguration &' [D:\AWS\aws-gamekit\aws-gamekit-core\aws-gamekit-core.vcxproj]
INFO:root:         D:\AWS\aws-gamekit\aws-gamekit-core\include\aws/gamekit/core/awsclients/default_clients.h(46,1): error C2664: 'Aws::S3::S3Client::S3Client(const Aws::S3::S3ClientConfiguration &,std::shared_ptr<Aws::S3::S3EndpointProviderBase>)': cannot convert argument 1 from 'Aws::Auth::AWSCredentials' to 'const Aws::S3::S3ClientConfiguration &' [D:\AWS\aws-gamekit\aws-gamekit-core\aws-gamekit-core.vcxproj]
INFO:root:
INFO:root:    0 Warning(s)
INFO:root:    3 Error(s)

Screenshots
image

Development Environment

  • AWS GameKit v2.0.2 (main branch ab288d1
  • Visual Studio Community 2019 16.11.14 and Visual Studio Community 2022 17.0.5

Desktop (please complete the following information):

  • OS: Windows 10
  • Version 21H2, Build 19044.2251

Additional context
I am trying to build the AWS GameKit C++ SDK, because i want to add custom Features and API calls to it.
Using GameKit plugin for unreal engine.
For some build steps had to use 2022 Visual Studio, because it told me i need v143 Build Tools.

I build lib for Mac M2 , but crashed when unity load plugin

Describe the bug
follow the steps , I build lib for Mac M2 pro , but unity crashed when unity load plugin.

To Reproduce
crashed when start unity ( 2021.3.6f1)

Logs
Editor.log
upm.log

Development Environment

  • Version of the AWS GameKit 1.0.1
  • Unity 2021.3.6f1
  • XCode 15.3

Additional context
gamekit pre build not working on Mac M2 pro unity

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.