aws / aws/aws-sdk-cpp

Failed to build third party libraries for PS5

Open
#2,120 3 comments 0 reactions 0 assignees View on GitHub
feature-request p3
Dominant language
C++
Stars
2.2k
Forks
1.2k
Avg merge
3d 14h
Merged PRs (30d)
12

Description

### Describe the bug

Hello!

I'm trying to compile Gamelift libraries for PS5, but I get compilation errors that I don't know how to fix.

I use a PS5 specific CMake Toolchain file included with the PS5 SDK. I'm new to CMake and I don't know much about how to tweak the configuration and make this work.

I'm compiling from tag 1.8.x as it's the version used in my Unreal Engine integration and I need a matching version for all platforms.

Thanks!

### Expected Behavior

With the adequate configuration, I should be able to compile the libraries and use them in my Unreal Engine integration.

### Current Behavior

Compilation fails, seeloutput log attached: [awslogs.txt](https://github.com/aws/aws-sdk-cpp/files/9665680/awslogs.txt)

The compilation fails right at the start when compiling AwsCommon, because of implicit function declaration being invalid in C99. I tried changing the C standard but I'm not sure how since I'm new to CMake.

### Reproduction Steps

- Have access to the PS5 SDK
- Clone repository and pull 1.8.x tag
- Run: %PathToPS5SDK%\Prospero\Tools\CMake\PS5CMake.bat ./.. -DBUILD_ONLY="gamelift"

### Possible Solution

_No response_

### Additional Information/Context

_No response_

### AWS CPP SDK version used

1.8.x

### Compiler and Version used

prospero-clang 13.0.1

### Operating System and version

Windows 10 19043.2006

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.