mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 07:46:01 +03:00
[GH-ISSUE #205] Building fails in Linux #23
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Shoegzer on GitHub (Jun 18, 2024).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/205
From the build log:
d9f2758850@raphaelthegreat commented on GitHub (Jun 18, 2024):
Try replacing std::format with fmt::format
@Shoegzer commented on GitHub (Jun 19, 2024):
Thanks, that seems to clear that particular issue but then more errors of various types appear, such as:
To me this seems to be part of a larger build issue.
@raphaelthegreat commented on GitHub (Jun 19, 2024):
It seems to me like your compiler/libstdc++ version is too old. We use C++23 features and std::ranges::contains was added in GCC 13
@Shoegzer commented on GitHub (Jun 19, 2024):
You nailed it, thanks. Updating to gcc-13 indeed fixes this as expected. Closing.
@deadmeu commented on GitHub (Aug 21, 2024):
Would be good to update https://github.com/shadps4-emu/shadPS4/blob/main/documents/building-linux.md to include gcc-13.
@Kineforce commented on GitHub (Aug 22, 2024):
+1, it happened to me using Debian Bookworm (by default comes with gcc 12)