Skip to content

Failed to build third party libraries for PS5 #2120

Open
@ThiuT

Description

@ThiuT

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.p3This is a minor priority issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions