protonscr

Issue Building

vkd3dclosed
HansKristian-Work/vkd3d-proton#1039 · opened 2022-03-11 by ShulsX · updated 2022-03-13 · 2 comments · github
SShulsX 2022-03-11 github

Sorry to bother but after downloading and installing everything I run the .\package-release.sh master C:\Vulkan-Proton --no-package command and it tries to open the package-release.sh and I get the How do you want to open this file? message from windows, any idea what I could have done wrong?

HHansKristian-Work maintainer 2022-03-11 github

You're meant to run this on a Unix shell on Linux where it builds with mingw. To build natively for Windows with e.g. MSVC, there's a section about in the README.

SShulsX 2022-03-12 github

Ok I see what I did wrong, now I'm getting some errors while building.
Library d3d12 found: NO
Compiler for C supports arguments /wd4244: NO
Compiler for C supports arguments /wd4101: NO
Compiler for C supports arguments /wd4267: NO
Compiler for C supports arguments /wd4996: NO
Compiler for C supports arguments /wd4334: NO
Compiler for C supports arguments /wd4146: NO
Compiler for C supports arguments /wd4305: NO

and in Executing subproject dxil-spirv
Compiler for C++ supports arguments /wd4267: NO
Compiler for C++ supports arguments /wd4244: NO
Compiler for C++ supports arguments /wd4996: NO

and then once I use ninja -C build.64 install
FAILED: libs/d3d12/d3d12.dll.p/main.c.obj
FAILED: libs/vkd3d/libvkd3d-proton.a.p/cache.c.obj
FAILED: libs/vkd3d/libvkd3d-proton.a.p/state.c.obj
FAILED: libs/vkd3d/libvkd3d-proton.a.p/resource.c.obj
FAILED: libs/vkd3d/libvkd3d-proton.a.p/bundle.c.obj

and it stops at [97/117]

Did I miss something else? Sorry to be such a bother.

DLLs