mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 08:15:59 +03:00
[GH-ISSUE #799] Debian 12: cannot compile with error: ‘contains’ is not a member of ‘std::ranges’ #208
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#208
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 @Fabxx on GitHub (Sep 5, 2024).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/799
System info:
OS: Debian GNU/Linux 12 (bookworm) x86_64
Kernel: 6.1.0-25-amd64
CPU: Intel i7-10700 (16) @ 2.900GHz
GPU: NVIDIA GeForce RTX 3060
Memory: 15841MiB
error.txt
@tulpenkiste commented on GitHub (Sep 5, 2024):
This error implies Debian 12 does not (at least partially) support C++ 23 (which is the spec version that
std::ranges::containswas added in) along with C++ 20 (std::chrono::current_zonewas added in that spec version).@Hermiten commented on GitHub (Oct 1, 2024):
Hello, you can test it again ? Thanks you
@Ripod commented on GitHub (Oct 3, 2024):
Hello, i have same exact error on debian 12
System info:
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.0-25-amd64 (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 31.2 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 4070 SUPER/PCIe/SSE2
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B550 AORUS ELITE V2
error.txt
Tested on the latest master (commit
7e533ccf50)@qurious-pixel commented on GitHub (Oct 3, 2024):
@Ripod @Fabxx your error message is missing what compiler and version you are using.
You need the
libstdc++from gcc-13See: https://github.com/shadps4-emu/shadPS4/issues/205#issuecomment-2178598400
@Ripod commented on GitHub (Oct 3, 2024):
@qurious-pixel I am using clang 16
Debian clang version 16.0.6 (15~deb12u1)
Also tried gcc version 12.2.0
I tried and couldn't find the way to install newer C++ compiler on debian 12 because of system library dependencies
@Fabxx commented on GitHub (Oct 3, 2024):
gcc 13 with full C++23 support won't be included until Debian Trixie is released.