mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 00:05:58 +03:00
[GH-ISSUE #3441] [APP BUG]: Visual Studio Build on Windows Fails due to FFMPEG CMake Commit SHA Issue #1054
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#1054
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 @afsanta on GitHub (Aug 21, 2025).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/3441
Checklist
Describe the Bug
When attempting to compile for Windows using Visual Studio 2022 Community, shadPS4's cmake generation fails with the out of the box CMakeLists.txt file. The snippet in question is
here:execute_process(COMMAND git rev-parse --short HEADWORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}OUTPUT_VARIABLE FFMPEG_GIT_SHAOUTPUT_STRIP_TRAILING_WHITESPACE)In
ffmpeg-core's cmake generation, it is unable to persist the hash value of the submodule HEAD commit, which causes overall build failures.Reproduction Steps
Follow the Windows Build Instructions, and upon trying to generate bulid files, you will see this error message:
1> [CMake] -- Downloading FFMPEG prebuilts...1> [CMake] CMake Error at externals/ffmpeg-core/CMakeLists.txt:53 (message):1> [CMake] No FFMPEG prebuilt found with corresponding commit SHA ()Expected Behavior
Clang build files are successfully generated and the specified shadPS4 executable can be build.
Specify OS Version
Windows 11
CPU
AMD Ryzen 7 5700X3D
GPU
NVIDIA RTX 3080
Amount of RAM in GB
64
@afsanta commented on GitHub (Aug 22, 2025):
Turns out the issue was with my environment. Nothing to see here folks.