Sporif/dxvk-async

Unbuildable since upstream commit 80e125a130d18b222a24501d7f23d539a529efe3

Gigas002 opened this issue · 2 comments

Can be reproduced with master branch, first noticed with this commit: doitsujin/dxvk@80e125a

Steps to reproduce:

git clone https://github.com/doitsujin/dxvk && cd dxvk
git checkout 80e125a130d18b222a24501d7f23d539a529efe3
git clone https://github.com/Sporif/dxvk-async
patch --forward --strip=1 --input="dxvk-async/dxvk-async.patch"
./package-release.sh release build/ --no-package

Build log:

$ ./package-release.sh release build/ --no-package
The Meson build system
Version: 0.62.1
Source dir: /home/gigas/documents/repos/dxvk
Build dir: /home/gigas/documents/repos/dxvk/build/dxvk-release/build.64
Build type: cross build
Project name: dxvk
Project version: v1.10.1
C compiler for the host machine: x86_64-w64-mingw32-gcc (gcc 11.2.0 "x86_64-w64-mingw32-gcc (GCC) 11.2.0")
C linker for the host machine: x86_64-w64-mingw32-gcc ld.bfd 2.38
C++ compiler for the host machine: x86_64-w64-mingw32-g++ (gcc 11.2.0 "x86_64-w64-mingw32-g++ (GCC) 11.2.0")
C++ linker for the host machine: x86_64-w64-mingw32-g++ ld.bfd 2.38
C compiler for the build machine: cc (gcc 12.1.0 "cc (GCC) 12.1.0")
C linker for the build machine: cc ld.bfd 2.38
C++ compiler for the build machine: c++ (gcc 12.1.0 "c++ (GCC) 12.1.0")
C++ linker for the build machine: c++ ld.bfd 2.38
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 arguments -DNOMINMAX: YES 
Compiler for C++ supports arguments -D_WIN32_WINNT=0xa00: YES 
Compiler for C++ supports arguments -msse: YES 
Compiler for C++ supports arguments -msse2: YES 
Compiler for C++ supports arguments -msse3: YES 
Compiler for C++ supports arguments -mfpmath=sse: YES 
Compiler for C++ supports arguments -Wimplicit-fallthrough: YES 
Compiler for C++ supports arguments -Wno-unused-private-field: NO 
Compiler for C++ supports arguments -Wno-microsoft-exception-spec: NO 
Compiler for C supports arguments -DNOMINMAX: YES 
Compiler for C supports arguments -D_WIN32_WINNT=0xa00: YES 
Compiler for C supports arguments -msse: YES 
Compiler for C supports arguments -msse2: YES 
Compiler for C supports arguments -msse3: YES 
Compiler for C supports arguments -mfpmath=sse: YES 
Compiler for C supports arguments -Wimplicit-fallthrough: YES 
Compiler for C supports arguments -Wno-unused-private-field: NO 
Compiler for C supports arguments -Wno-microsoft-exception-spec: NO 
Compiler for C++ supports link arguments -static: YES 
Compiler for C++ supports link arguments -static-libgcc: YES 
Compiler for C++ supports link arguments -static-libstdc++: YES 
Compiler for C++ supports link arguments -Wl,--file-alignment=4096: YES 
Compiler for C supports link arguments -static: YES 
Compiler for C supports link arguments -static-libgcc: YES 
Compiler for C supports link arguments -static-libstdc++: YES 
Compiler for C supports link arguments -Wl,--file-alignment=4096: 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 x86_64-w64-mingw32-windres found: YES
Run-time dependency threads found: YES
Dependency threads found: YES unknown (cached)
Build targets in project: 13
NOTICE: Future-deprecated features used:
 * 0.56.0: {'meson.source_root'}

dxvk v1.10.1

  User defined options
    Cross files : /home/gigas/documents/repos/dxvk/build-win64.txt
    bindir      : x64
    buildtype   : release
    libdir      : x64
    prefix      : /home/gigas/documents/repos/dxvk/build/dxvk-release
    strip       : True
    build_id    : false
    enable_tests: false

Found ninja-1.11.0 at /usr/bin/ninja
[98/277] Compiling C++ object src/dxvk/libdxvk.a.p/dxvk_graphics.cpp.obj
FAILED: src/dxvk/libdxvk.a.p/dxvk_graphics.cpp.obj 
x86_64-w64-mingw32-g++ -Isrc/dxvk/libdxvk.a.p -Isrc/dxvk -I../../../src/dxvk -I../../../include -I. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++17 -O3 -DNOMINMAX -D_WIN32_WINNT=0xa00 -msse -msse2 -msse3 -mfpmath=sse -Wimplicit-fallthrough -pthread -MD -MQ src/dxvk/libdxvk.a.p/dxvk_graphics.cpp.obj -MF src/dxvk/libdxvk.a.p/dxvk_graphics.cpp.obj.d -o src/dxvk/libdxvk.a.p/dxvk_graphics.cpp.obj -c ../../../src/dxvk/dxvk_graphics.cpp
../../../src/dxvk/dxvk_graphics.cpp:90:8: error: no declaration matches ‘void dxvk::DxvkGraphicsPipeline::compilePipeline(const dxvk::DxvkGraphicsPipelineStateInfo&, const dxvk::DxvkRenderPass*)’
   90 |   void DxvkGraphicsPipeline::compilePipeline(
      |        ^~~~~~~~~~~~~~~~~~~~
In file included from ../../../src/dxvk/dxvk_context_state.h:7,
                 from ../../../src/dxvk/dxvk_context.h:6,
                 from ../../../src/dxvk/dxvk_device.h:7,
                 from ../../../src/dxvk/dxvk_graphics.cpp:3:
../../../src/dxvk/dxvk_graphics.h:219:10: note: candidate is: ‘bool dxvk::DxvkGraphicsPipeline::compilePipeline(const dxvk::DxvkGraphicsPipelineStateInfo&, const dxvk::DxvkRenderPass*)’
  219 |     bool compilePipeline(
      |          ^~~~~~~~~~~~~~~
../../../src/dxvk/dxvk_graphics.h:146:9: note: ‘class dxvk::DxvkGraphicsPipeline’ defined here
  146 |   class DxvkGraphicsPipeline {
      |         ^~~~~~~~~~~~~~~~~~~~
[111/277] Compiling C++ object src/dxvk/libdxvk.a.p/dxvk_openvr.cpp.obj
ninja: build stopped: subcommand failed.

Thanks for letting me know, I just pushed a fixed version.

Awesome! 👍