shadPS4/documents/building-windows.md

29 lines
1016 B
Markdown
Raw Normal View History

# 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](https://developercommunity.visualstudio.com/t/cmake-generates-bad-dependencies-for-rc/10398924?q=cmake%20dependencies)
2023-07-24 11:20:39 +02:00
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](https://learn.microsoft.com/en-us/visualstudio/releases/2022/release-notes-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