protonscr

So perhaps we could get a solution visual studio build?

dxvkclosed question
doitsujin/dxvk#1281 · opened 2019-12-17 by LethalManBoob · updated 2024-08-12 · 7 comments · github
LLethalManBoob 2019-12-17 github

Would love to use this but im way past done hunting down software for each git, no disrespect to you of course.

Mmisyltoad 2019-12-17 github

MinGW builds can be found at https://git.froggi.es/doitsujin/dxvk/-/jobs for every commit (as of recently)

As for compiling with Visual Studio, just use meson --backend vs2019 --buildtype release build in a Visual Studio command prompt to generate solution files.

Ddoitsujin maintainer 2019-12-17 github

What Josh said, meson can generate that automatically. I do not intend to provide solutions for what amounts to probably 25 different Visual Studio versions within less than a year that wouldn't end up working for most people anyway (at least that's my experience with building anything on Wundows).

LLethalManBoob 2019-12-17 github

(i put the files in the mentioned directory) C:\Users\user\source\repos>meson --backend vs2019 --buildtype release build
'meson' is not recognized as an internal or external command,
operable program or batch file.

Mmisyltoad 2019-12-17 github

Installing meson might be a good idea.

Mmisyltoad 2020-01-24 github

Can this be closed?

Ddoitsujin maintainer 2020-01-24 github

Yes.

Bbo3b 2024-08-12 github

Adding some detail in the very unlikely case that someone else runs across this. Or maybe me, 2 years from now when I've forgotten what I did to get this working.

Using meson --backend vs2019 --buildtype release build works as described, with a few gotchas.

  • You need to install the meson build system, and also need the glslang tool. It's also sufficient to just cmake the glslang tool and target the install where you can add it to the path.
  • If you want to build for x64, you need to run the x64 version of the VS command prompt. By default it is a 32 bit environment and will only create an x86 target.
  • The d3d8 build fails to build. It cannot find the d3d8.h header file, and after being provided that from include/native/directx/ it has some other missing reference, so unless you need to work out the details, disable it in the configuration.
  • You cannot easily build to vs2017 as a target, because you need a C++17 compliant compiler.

Nothing extracted yet.