Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

So perhaps we could get a solution visual studio build? #1281

Closed
LethalManBoob opened this issue Dec 17, 2019 · 7 comments
Closed

So perhaps we could get a solution visual studio build? #1281

LethalManBoob opened this issue Dec 17, 2019 · 7 comments
Labels

Comments

@LethalManBoob
Copy link

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

@misyltoad
Copy link
Collaborator

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.

@doitsujin
Copy link
Owner

doitsujin commented Dec 17, 2019

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).

@LethalManBoob
Copy link
Author

(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.

@misyltoad
Copy link
Collaborator

Installing meson might be a good idea.

@misyltoad
Copy link
Collaborator

Can this be closed?

@doitsujin
Copy link
Owner

Yes.

@bo3b
Copy link

bo3b commented Aug 12, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants