Skip to content

Failed to build third party libraries for PS5 #2120

Closed

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

Activity

  1. added
    bugThis issue is a bug.
    needs-triageThis issue or PR still needs to be triaged.
    on Sep 28, 2022
  2. jmklix commented on Sep 28, 2022

    @jmklix
    Member

    This isn't something that we currently support, but might at some point in the future. Please upvote the issue if this is something that you would like support for.

    I did take a look at the log file and it looks like you are running into a problem with AwsCCommon, but I'm not sure what the fix would be without looking into it more.

  3. added
    feature-requestA feature should be added or improved.
    and removed
    bugThis issue is a bug.
    needs-triageThis issue or PR still needs to be triaged.
    on Sep 28, 2022
  4. ThiuT commented on Oct 12, 2022

    @ThiuT
    Author

    Hello!

    Well I hope a lot of PS5 developers show up and upvote this, because I'm still stuck! From what I understood so far the issue with compiling AwsCommon was that it has different sources for windows and posix. PS5 being a Unix like target, AwsCommon tries to use posix sources, but fails because I do not have the required includes/libraries on my Windows environment.

    Editing CMakeLists.txt to force using windows sources solve the first few errors, but other errors pop up. So I'm starting to think that I should try setting up a Linux workspace and use it to try and build the libraries. Is there anything specific I should know to build Gamelift Libraries from a Linux environment?

    Best regards,

  5. added
    p3This is a minor priority issue
    on Nov 4, 2022
  6. ThiuT commented on Feb 9, 2023

    @ThiuT
    Author

    Hello, just wondering if there has been any update on a plan to support PS5 and offer compiled libraries

  7. kai-ion commented on Sep 16, 2026

    @kai-ion
    Contributor

    Converting this to a Discussion. The ask is an effort we intend to pursue over time rather than a single change with a near-term milestone, so a Discussion is a better home for gathering use cases and tracking the pieces.

  8. locked and limited conversation to collaborators on Sep 16, 2026
  9. converted this issue into a discussion #3927 on Sep 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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