[GH-ISSUE #588] windows 10 wont build #137

Closed
opened 2026-02-27 21:04:46 +03:00 by kerem · 4 comments
Owner

Originally created by @Kubmichna on GitHub (Aug 25, 2024).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/588

i wanted to download shadPS4 on my windows 10 pc but whenever i try i get this error on the cmake -S . -B build -DCMAKE_CXX_COMPILER="clang++.exe" -DCMAKE_C_COMPILER="clang.exe" -DCMAKE_CXX_FLAGS="-O2 -march=native"
step

CMake Warning (dev) at CMakeLists.txt:68 (find_package):
Policy CMP0144 is not set: find_package uses upper-case _ROOT
variables. Run "cmake --help-policy CMP0144" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.

CMake variable BOOST_ROOT is set to:

C:/msys64/home/user/shadPS4/externals/ext-boost

For compatibility, find_package is ignoring the variable, but code in a
.cmake module might still use it.
This warning is for project developers. Use -Wno-dev to suppress it.

-- Could NOT find Boost (missing: Boost_DIR)
-- Could NOT find FFmpeg: (Required is at least version "5.1.2") (found )
-- Could NOT find fmt (missing: fmt_DIR)
-- Could NOT find glslang (missing: glslang_DIR)
-- Could NOT find magic_enum (missing: magic_enum_DIR)
-- Could NOT find RenderDoc (missing: RENDERDOC_INCLUDE_DIR) (Required is at least version "1.6.0")
-- Could NOT find SDL3 (missing: SDL3_DIR)
-- Could NOT find toml11 (missing: toml11_DIR)
-- Could NOT find tsl-robin-map (missing: tsl-robin-map_DIR)
-- Could NOT find VulkanMemoryAllocator (missing: VulkanMemoryAllocator_DIR)
-- Could NOT find xbyak (missing: xbyak_DIR)
-- Could NOT find xxHash: (Required is at least version "0.8.2") (found )
-- Could NOT find zlib-ng: (Required is at least version "2.1.7") (found )
-- Could NOT find Zydis (missing: Zydis_DIR)
-- Could NOT find cryptopp: (Required is at least version "8.9.0") (found )
-- {fmt} version: 11.0.2
-- Build type: Release
=> Project : cryptopp-cmake v8.9.0
-- Crypto++ from user-specified location at: C:/msys64/home/user/shadPS4/externals/cryptopp/
-- Using branch HEAD for tests
=> Module : cryptopp
-- [cryptopp] CMake version 3.30.2
-- [cryptopp] System Windows
-- [cryptopp] Processor AMD64
-- [cryptopp] CMAKE_HOST_SYSTEM_PROCESSOR : AMD64
-- [cryptopp] CMAKE_SYSTEM_PROCESSOR : AMD64
-- [cryptopp] Target architecture detected as: mingw64 -> CRYPTOPP_MINGW64
-- [cryptopp] Platform: MinGW-64
-- [cryptopp] Compiler definitions:
-- [cryptopp] Compiler options: -O2 -march=native
-- [cryptopp] Build type: Release
CMake Error at externals/ffmpeg-core/CMakeLists.txt:17 (message):
Unsupported OS.

-- Configuring incomplete, errors occurred!

Originally created by @Kubmichna on GitHub (Aug 25, 2024). Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/588 i wanted to download shadPS4 on my windows 10 pc but whenever i try i get this error on the cmake -S . -B build -DCMAKE_CXX_COMPILER="clang++.exe" -DCMAKE_C_COMPILER="clang.exe" -DCMAKE_CXX_FLAGS="-O2 -march=native" step CMake Warning (dev) at CMakeLists.txt:68 (find_package): Policy CMP0144 is not set: find_package uses upper-case <PACKAGENAME>_ROOT variables. Run "cmake --help-policy CMP0144" for policy details. Use the cmake_policy command to set the policy and suppress this warning. CMake variable BOOST_ROOT is set to: C:/msys64/home/user/shadPS4/externals/ext-boost For compatibility, find_package is ignoring the variable, but code in a .cmake module might still use it. This warning is for project developers. Use -Wno-dev to suppress it. -- Could NOT find Boost (missing: Boost_DIR) -- Could NOT find FFmpeg: (Required is at least version "5.1.2") (found ) -- Could NOT find fmt (missing: fmt_DIR) -- Could NOT find glslang (missing: glslang_DIR) -- Could NOT find magic_enum (missing: magic_enum_DIR) -- Could NOT find RenderDoc (missing: RENDERDOC_INCLUDE_DIR) (Required is at least version "1.6.0") -- Could NOT find SDL3 (missing: SDL3_DIR) -- Could NOT find toml11 (missing: toml11_DIR) -- Could NOT find tsl-robin-map (missing: tsl-robin-map_DIR) -- Could NOT find VulkanMemoryAllocator (missing: VulkanMemoryAllocator_DIR) -- Could NOT find xbyak (missing: xbyak_DIR) -- Could NOT find xxHash: (Required is at least version "0.8.2") (found ) -- Could NOT find zlib-ng: (Required is at least version "2.1.7") (found ) -- Could NOT find Zydis (missing: Zydis_DIR) -- Could NOT find cryptopp: (Required is at least version "8.9.0") (found ) -- {fmt} version: 11.0.2 -- Build type: Release => Project : cryptopp-cmake v8.9.0 -- Crypto++ from user-specified location at: C:/msys64/home/user/shadPS4/externals/cryptopp/ -- Using branch HEAD for tests => Module : cryptopp -- [cryptopp] CMake version 3.30.2 -- [cryptopp] System Windows -- [cryptopp] Processor AMD64 -- [cryptopp] CMAKE_HOST_SYSTEM_PROCESSOR : AMD64 -- [cryptopp] CMAKE_SYSTEM_PROCESSOR : AMD64 -- [cryptopp] Target architecture detected as: mingw64 -> CRYPTOPP_MINGW64 -- [cryptopp] Platform: MinGW-64 -- [cryptopp] Compiler definitions: -- [cryptopp] Compiler options: -O2 -march=native -- [cryptopp] Build type: Release CMake Error at externals/ffmpeg-core/CMakeLists.txt:17 (message): Unsupported OS. -- Configuring incomplete, errors occurred!
kerem closed this issue 2026-02-27 21:04:47 +03:00
Author
Owner

@ash-kamrip commented on GitHub (Aug 29, 2024):

facing the same issue on windows 10

<!-- gh-comment-id:2317261134 --> @ash-kamrip commented on GitHub (Aug 29, 2024): facing the same issue on windows 10
Author
Owner

@sampletext32 commented on GitHub (Aug 29, 2024):

ffmpeg-core doesn't support building with mingw

<!-- gh-comment-id:2319189239 --> @sampletext32 commented on GitHub (Aug 29, 2024): ffmpeg-core doesn't support building with mingw
Author
Owner

@yipidee commented on GitHub (Sep 1, 2024):

I had the same issue, but was able to get past it by installing the native package then building.

pacman -S mingw-w64-x86_64-ffmpeg

<!-- gh-comment-id:2323194615 --> @yipidee commented on GitHub (Sep 1, 2024): I had the same issue, but was able to get past it by installing the native package then building. `pacman -S mingw-w64-x86_64-ffmpeg`
Author
Owner

@Hermiten commented on GitHub (Sep 4, 2024):

Any update @Kubmichna ?

<!-- gh-comment-id:2328255493 --> @Hermiten commented on GitHub (Sep 4, 2024): Any update @Kubmichna ?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#137
No description provided.