aws / aws/aws-sdk-cpp

Failed to build third party libraries for PS5

Geschlossen
#2,120 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
feature-request p3
Vorherrschende Sprache
C++
Sterne
2.2k
Forks
1.2k
Ø Merge
4 T. 11 Std.
Gemergte PRs (30 T.)
13

Beschreibung

### 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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginnen Sie mit der angehängten awslogs.txt und dem Befehl PS5CMake.bat und konzentrieren Sie sich auf den anfänglichen AwsCommon-Kompilierungsfehler und seinen Fehler implicit-function-declaration. Reproduzieren Sie den reinen Gamelift-Build von 1.8.x mit dem PS5 SDK und vergleichen Sie die CMake-Konfiguration mit den erwarteten Anforderungen für die PS5- und Unreal Engine-Integration. Als abgeschlossen gilt die Aufgabe, wenn die Bibliotheken von Drittanbietern erfolgreich für PS5 erstellt werden.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
cmake, cpp, unreal-engine
Bereich
build-system
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.