[GH-ISSUE #737] [Win11] Not Building via MSYS2 on x86 #188

Closed
opened 2026-02-27 21:05:02 +03:00 by kerem · 2 comments
Owner

Originally created by @DamnNameTaken on GitHub (Sep 2, 2024).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/737

Hi, ive been trying to build using option 2 and encountered this error,
I am on Windows 11 and all prior commands executed without issue.

-- Building for: Ninja
-- The C compiler identification is Clang 18.1.8
-- The CXX compiler identification is Clang 18.1.8
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/msys64/mingw64/bin/clang.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/msys64/mingw64/bin/clang++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 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 )
-- Looking for pthread_mutex_timedlock
-- Looking for pthread_mutex_timedlock - found
-- Looking for _LIBCPP_VERSION
-- Looking for _LIBCPP_VERSION - not found
-- {fmt} version: 11.0.2
-- Build type: Release
-- Performing Test HAS_NULLPTR_WARNING
-- Performing Test HAS_NULLPTR_WARNING - Success
-- The ASM compiler identification is Clang with GNU-like command-line
-- Found assembler: C:/msys64/mingw64/bin/clang.exe
=> Project : cryptopp-cmake v8.9.0
-- Found Git: C:/msys64/usr/bin/git.exe (found version "2.46.0")
-- Crypto++ from user-specified location at: C:/msys64/home/Samuel/shadPS4/externals/cryptopp
-- Using branch HEAD for tests
=> Module : cryptopp
-- [cryptopp] CMake version 3.30.3
-- [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] Performing Test CRYPTOPP_HAVE_SSE2
-- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE2 - Success
-- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE3
-- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE3 - Success
-- [cryptopp] Performing Test CRYPTOPP_HAVE_SSSE3
-- [cryptopp] Performing Test CRYPTOPP_HAVE_SSSE3 - Success
-- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE41
-- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE41 - Success
-- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE42
-- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE42 - Success
-- [cryptopp] Performing Test CRYPTOPP_HAVE_CLMUL
-- [cryptopp] Performing Test CRYPTOPP_HAVE_CLMUL - Success
-- [cryptopp] Performing Test CRYPTOPP_HAVE_AESNI
-- [cryptopp] Performing Test CRYPTOPP_HAVE_AESNI - Success
-- [cryptopp] Performing Test CRYPTOPP_HAVE_AVX
-- [cryptopp] Performing Test CRYPTOPP_HAVE_AVX - Success
-- [cryptopp] Performing Test CRYPTOPP_HAVE_AVX2
-- [cryptopp] Performing Test CRYPTOPP_HAVE_AVX2 - Success
-- [cryptopp] Performing Test CRYPTOPP_HAVE_SHANI
-- [cryptopp] Performing Test CRYPTOPP_HAVE_SHANI - Success
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- [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 @DamnNameTaken on GitHub (Sep 2, 2024). Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/737 Hi, ive been trying to build using option 2 and encountered this error, I am on Windows 11 and all prior commands executed without issue. ``` -- Building for: Ninja -- The C compiler identification is Clang 18.1.8 -- The CXX compiler identification is Clang 18.1.8 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/msys64/mingw64/bin/clang.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/msys64/mingw64/bin/clang++.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- 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 ) -- Looking for pthread_mutex_timedlock -- Looking for pthread_mutex_timedlock - found -- Looking for _LIBCPP_VERSION -- Looking for _LIBCPP_VERSION - not found -- {fmt} version: 11.0.2 -- Build type: Release -- Performing Test HAS_NULLPTR_WARNING -- Performing Test HAS_NULLPTR_WARNING - Success -- The ASM compiler identification is Clang with GNU-like command-line -- Found assembler: C:/msys64/mingw64/bin/clang.exe => Project : cryptopp-cmake v8.9.0 -- Found Git: C:/msys64/usr/bin/git.exe (found version "2.46.0") -- Crypto++ from user-specified location at: C:/msys64/home/Samuel/shadPS4/externals/cryptopp -- Using branch HEAD for tests => Module : cryptopp -- [cryptopp] CMake version 3.30.3 -- [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] Performing Test CRYPTOPP_HAVE_SSE2 -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE2 - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE3 -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE3 - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSSE3 -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSSE3 - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE41 -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE41 - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE42 -- [cryptopp] Performing Test CRYPTOPP_HAVE_SSE42 - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_CLMUL -- [cryptopp] Performing Test CRYPTOPP_HAVE_CLMUL - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_AESNI -- [cryptopp] Performing Test CRYPTOPP_HAVE_AESNI - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_AVX -- [cryptopp] Performing Test CRYPTOPP_HAVE_AVX - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_AVX2 -- [cryptopp] Performing Test CRYPTOPP_HAVE_AVX2 - Success -- [cryptopp] Performing Test CRYPTOPP_HAVE_SHANI -- [cryptopp] Performing Test CRYPTOPP_HAVE_SHANI - Success -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- [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:05:02 +03:00
Author
Owner

@LeDragoX commented on GitHub (Sep 2, 2024):

ffmpeg can't compile on MSYS2, you'll need to install mingw-w64-x86_64-ffmpeg first:

pacman -S --needed mingw-w64-x86_64-ffmpeg

Then try to build again.

<!-- gh-comment-id:2325086547 --> @LeDragoX commented on GitHub (Sep 2, 2024): ffmpeg can't compile on MSYS2, you'll need to install `mingw-w64-x86_64-ffmpeg` first: ```sh pacman -S --needed mingw-w64-x86_64-ffmpeg ``` Then try to build again.
Author
Owner

@DamnNameTaken commented on GitHub (Sep 2, 2024):

Yes that did the trick,
Thank You!

<!-- gh-comment-id:2325125381 --> @DamnNameTaken commented on GitHub (Sep 2, 2024): Yes that did the trick, Thank You!
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#188
No description provided.