mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 07:46:01 +03:00
[GH-ISSUE #2870] [APP BUG]: Compiling from source fails on Arch Linux #921
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#921
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 @wantija on GitHub (May 1, 2025).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/2870
Checklist
Describe the Bug
When trying to compile shadPS4 using instruction from the Linux compilation guide on Arch Linux with latest updates as-of today (GCC 15.1 was just downloaded from repos), compilation fails.
shadps4-compile.log
Reproduction Steps
Compile shadPS4 using the build steps on Arch Linux.
Expected Behavior
ShadPS4 should compile.
Specify OS Version
Arch Linux
CPU
R7 5800X
GPU
RX 6800XT
Amount of RAM in GB
32GB
@Davey-Hughes commented on GitHub (May 1, 2025):
Wanted to give some extra context, this is the error I'm getting:
I think it's just a matter of
#import <ctime>wheneverstd::time()is used.@squidbus commented on GitHub (May 1, 2025):
Was about to ask, can you try adding it and make sure that fixes the issue? I'll commit a fix if so
@Davey-Hughes commented on GitHub (May 1, 2025):
I use paru to build this AUR package so it took me a bit to figure out how to build this manually, but I can confirm that adding
#import <ctime>to./src/core/devices/random_device.cpp,./src/core/devices/srandom_device.cpp, and./src/core/devices/urandom_device.cppdid the trick.@squidbus commented on GitHub (May 1, 2025):
Thanks, fixed in
github.com/shadps4-emu/shadPS4@4202d9d621