shadPS4/documents/building-windows.md

1016 B

How to build shadps4 in windows

Download VStudio Community 2022 17.7

Atm it is on preview stage but there seems to be issues using clang + cmake + ninja in the current vstudio (17.6.5 ) vstudio 17.6.5 bug

You can still build with vstudio 17.6 version but it will be issues with running it inside vstudio (useful for debugging) and preview vstudio uses latest clang 16 so it might be better

So here is the link for vstudio 2020 17.7 preview (atm it is in preview 4)

vstudio 17.7 preview

Requirements

Install the following

  • Desktop development with c++

From Individual components tab install

  • C++ Clang Compiler for Windows (16.0.5)

  • MSBuild support for LLVM (clang-cl) toolset

  • Compiling

  • Open vstudio and select the clang debug or clang release . It should compile just fine