protonscr

ninja: build stopped: subcommand failed.

dxvkclosed
doitsujin/dxvk#2081 · opened 2021-06-05 by ghost · updated 2022-03-28 · 4 comments · github
?ghost 2021-06-05 github

i am getting this problem.please help me.
**The Meson build system
Version: 0.58.0
Source dir: /home/nayeem/Downloads/dxvk-master(1)/dxvk-master
Build dir: /home/nayeem/prefix/drive_c/Games/DaysGone/BendGame/Binaries/Win64/dxvk-master/build.64
Build type: cross build
Project name: dxvk
Project version: v1.8.1
C compiler for the host machine: x86_64-w64-mingw32-gcc (gcc 9.3.0 "x86_64-w64-mingw32-gcc (GCC) 9.3-posix 20200320")
C linker for the host machine: x86_64-w64-mingw32-gcc ld.bfd 2.34
C++ compiler for the host machine: x86_64-w64-mingw32-g++ (gcc 9.3.0 "x86_64-w64-mingw32-g++ (GCC) 9.3-posix 20200320")
C++ linker for the host machine: x86_64-w64-mingw32-g++ ld.bfd 2.34
C compiler for the build machine: cc (gcc 10.2.0 "cc (Ubuntu 10.2.0-13ubuntu1) 10.2.0")
C linker for the build machine: cc ld.bfd 2.35.1
C++ compiler for the build machine: c++ (gcc 10.2.0 "c++ (Ubuntu 10.2.0-13ubuntu1) 10.2.0")
C++ linker for the build machine: c++ ld.bfd 2.35.1
Build machine cpu family: x86_64
Build machine cpu: x86_64
Host machine cpu family: x86_64
Host machine cpu: x86_64
Target machine cpu family: x86_64
Target machine cpu: x86_64
Compiler for C++ supports link arguments -Wl,--file-alignment=4096: YES
Program x86_64-w64-mingw32-windres found: YES (/usr/bin/x86_64-w64-mingw32-windres)
Compiler for C++ supports arguments -msse3: YES
Library vulkan-1 found: YES
Library d3d9 found: YES
Library d3d11 found: YES
Library dxgi found: YES
Library d3dcompiler_43 found: YES
Library d3dcompiler_47 found: YES
Program glslangValidator found: YES (/usr/bin/glslangValidator)
Program /home/nayeem/.local/bin/meson found: YES (/home/nayeem/.local/bin/meson)
Run-time dependency threads found: YES
Dependency threads found: YES unknown (cached)
Build targets in project: 13

Found ninja-1.10.0 at /usr/bin/ninja
[2/271] Generating version.h with a custom command
fatal: not a git repository (or any of the parent directories): .git
[5/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_blit_frag_1d.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_blit_frag_1d.frag
[6/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_blit_frag_2d.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_blit_frag_2d.frag
[7/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_blit_frag_3d.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_blit_frag_3d.frag
[8/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_clear_buffer_u.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_clear_buffer_u.comp
[9/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_clear_buffer_f.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_clear_buffer_f.comp
[11/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_clear_image1d_u.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_clear_image1d_u.comp
[12/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_clear_image1d_f.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_clear_image1d_f.comp
[14/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_clear_image1darr_f.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_clear_image1darr_f.comp
[15/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_clear_image1darr_u.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_clear_image1darr_u.comp
[16/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_clear_image2d_f.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_clear_image2d_f.comp
[17/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_clear_image2d_u.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_clear_image2d_u.comp
[18/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_clear_image2darr_f.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_clear_image2darr_f.comp
[19/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_clear_image3d_u.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_clear_image3d_u.comp
[21/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_clear_image3d_f.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_clear_image3d_f.comp
[22/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_clear_image2darr_u.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_clear_image2darr_u.comp
[24/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_copy_color_1d.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_copy_color_1d.frag
[25/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_copy_color_2d.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_copy_color_2d.frag
[26/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_copy_depth_1d.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_copy_depth_1d.frag
[28/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_copy_depth_stencil_1d.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_copy_depth_stencil_1d.frag
[29/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_copy_color_ms.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_copy_color_ms.frag
[31/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_copy_depth_2d.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_copy_depth_2d.frag
[32/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_copy_depth_ms.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_copy_depth_ms.frag
[33/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_copy_depth_stencil_2d.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_copy_depth_stencil_2d.frag
[36/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_copy_depth_stencil_ms.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_copy_depth_stencil_ms.frag
[37/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_fullscreen_vert.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_fullscreen_vert.vert
[39/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_fullscreen_geom.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_fullscreen_geom.geom
[41/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_pack_d24s8.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_pack_d24s8.comp
[42/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_fullscreen_layer_vert.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_fullscreen_layer_vert.vert
[43/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_pack_d32s8.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_pack_d32s8.comp
[44/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_present_frag.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_present_frag.frag
[45/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_present_frag_blit.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_present_frag_blit.frag
[46/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_present_frag_ms_amd.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_present_frag_ms_amd.frag
[47/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_present_frag_ms.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_present_frag_ms.frag
[48/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_present_vert.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_present_vert.vert
[49/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_resolve_frag_ds.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_resolve_frag_ds.frag
[50/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_resolve_frag_d.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_resolve_frag_d.frag
[52/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_resolve_frag_f.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_resolve_frag_f.frag
[53/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_resolve_frag_f_amd.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_resolve_frag_f_amd.frag
[54/271] Generating 'src/dxgi/dxgi.dll.p/version.o'.
FAILED: src/dxgi/dxgi.dll.p/version.o
/usr/bin/x86_64-w64-mingw32-windres -i '../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxgi/version.rc' -o src/dxgi/dxgi.dll.p/version.o
sh: 1: Syntax error: "(" unexpected
/usr/bin/x86_64-w64-mingw32-windres: preprocessing failed.
[55/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_resolve_frag_i.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_resolve_frag_i.frag
[56/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_unpack_d24s8.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_unpack_d24s8.comp
[57/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_unpack_d32s8.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_unpack_d32s8.comp
[58/271] Generating 'src/dxvk/libdxvk.a.p/hud_line_vert.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/hud/shaders/hud_line_vert.vert
[59/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_resolve_frag_u.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_resolve_frag_u.frag
[60/271] Generating 'src/dxvk/libdxvk.a.p/dxvk_unpack_d24s8_as_d32s8.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/shaders/dxvk_unpack_d24s8_as_d32s8.comp
[61/271] Generating 'src/dxvk/libdxvk.a.p/hud_text_frag.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/hud/shaders/hud_text_frag.frag
[62/271] Generating 'src/dxvk/libdxvk.a.p/hud_line_frag.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/hud/shaders/hud_line_frag.frag
[63/271] Generating 'src/dxvk/libdxvk.a.p/hud_text_vert.h'.
../../../../../../../../../Downloads/dxvk-master(1)/dxvk-master/src/dxvk/hud/shaders/hud_text_vert.vert
[71/271] Compiling C++ object src/util/libutil.a.p/config_config.cpp.obj
ninja: build stopped: subcommand failed.**

Software information

ubuntu 20.10

System information

  • GPU:1660 super
  • Driver:465.19.01
  • Wine version: 6.0
  • DXVK version: not installed
IIglu47 2021-06-05 github

It seems that this error occurs if you use not git, but archives of the source.
I tested https://github.com/doitsujin/dxvk/archive/refs/tags/v1.8.1.tar.gz
it gave these lines:

[1/268] Generating version.h with a custom command
fatal: git repository not found (or one of its directories up to mount point /)
I stop searching at the file system boundary (since GIT_DISCOVERY_ACROSS_FILESYSTEM is not installed).

but fallback for vcs_tag seems works correct and the build ended successfully anyway.

Also as far as I see Ubuntu 20.10 uses Mingw-w64 compiler and headers version 7.0: https://packages.ubuntu.com/source/groovy/mingw-w64
but dxvk requires at least 8.0 anyway

If you do not have the build environment you can use ready-made binary builds provided by Github Actions workflows:
https://github.com/doitsujin/dxvk/actions/workflows/artifacts.yml?query=branch%3Amaster

current dxvk master: https://github.com/doitsujin/dxvk/actions/runs/896877748#artifacts ->
(direct link) https://github.com/doitsujin/dxvk/suites/2884553377/artifacts/64549932

?ghost 2021-06-05 github

I tested https://github.com/doitsujin/dxvk/archive/refs/tags/v1.8.1.tar.gz

actually i want that for playing days gone. for that a person in reddit said to use dxvk master to install it.
After downloading it should I just paste em in wine's folders.can u please tell where to do it.
are they both same??

IIglu47 2021-06-05 github

No, not same. DXVK master branch contains some additional recent changes over tag-version, which will be contained in the next future tag version.

I don't know exactly how you manage your Wine builds, but for something that is installed as system Wine this instruction should be enough:
(from here https://github.com/doitsujin/dxvk#how-to-use)

export WINEPREFIX=/path/to/.wine-prefix
./setup_dxvk.sh install

But I would like to note that this issue-tracker is not a very suitable place for solving local issues related to the initial installation and configuration of Wine
and I have no idea if it will be enough for this particular game the Wine build that comes with the X distribution at this point.
Probably the best option would be to get some of the missing information, for example, in that place on reddit from those people who apparently have experience with this game and in what way they did it.

Please don't forget about security and be careful when downloading any ready-made binaries not from your distribution's repository.

?ghost 2021-06-05 github

Okk.currently leaving all these as my exam are in a month.
Thank you.😊😊

Launch options

DLLs