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

error building on ubuntu 20.10 #7

Open
Lyzziedu31 opened this issue Jan 29, 2021 · 2 comments
Open

error building on ubuntu 20.10 #7

Lyzziedu31 opened this issue Jan 29, 2021 · 2 comments

Comments

@Lyzziedu31
Copy link

`The Meson build system
Version: 0.55.3
Source dir: /home/lyzzie/dxvk-tools/dxvk-master
Build dir: /home/lyzzie/dxvk-tools/DXVKBUILD/dxvk-master/build.64
Build type: cross build
Project name: dxvk
Project version: v1.7.3
C compiler for the build machine: ccache 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: ccache 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
C compiler for the host machine: ccache 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: ccache 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
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
Program x86_64-w64-mingw32-windres found: 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
Run-time dependency threads found: YES
Dependency threads found: YES unknown (cached)
Build targets in project: 14

Found ninja-1.10.0 at /usr/bin/ninja
[24/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_blit_frag_1d.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_blit_frag_1d.frag
[25/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_blit_frag_2d.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_blit_frag_2d.frag
[26/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_blit_frag_3d.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_blit_frag_3d.frag
[27/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_clear_buffer_u.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_clear_buffer_u.comp
[28/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_clear_buffer_f.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_clear_buffer_f.comp
[29/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_clear_image1darr_f.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_clear_image1darr_f.comp
[30/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_clear_image2d_f.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_clear_image2d_f.comp
[31/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_clear_image1d_f.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_clear_image1d_f.comp
[32/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_clear_image2darr_u.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_clear_image2darr_u.comp
[33/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_clear_image1d_u.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_clear_image1d_u.comp
[34/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_clear_image2d_u.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_clear_image2d_u.comp
[35/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_clear_image1darr_u.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_clear_image1darr_u.comp
[36/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_clear_image2darr_f.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_clear_image2darr_f.comp
[37/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_copy_color_2d.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_copy_color_2d.frag
[38/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_clear_image3d_u.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_clear_image3d_u.comp
[39/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_clear_image3d_f.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_clear_image3d_f.comp
[40/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_copy_depth_1d.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_copy_depth_1d.frag
[42/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_copy_depth_2d.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_copy_depth_2d.frag
[43/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_copy_color_ms.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_copy_color_ms.frag
[44/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_copy_color_1d.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_copy_color_1d.frag
[45/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_copy_depth_ms.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_copy_depth_ms.frag
[46/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_copy_depth_stencil_1d.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_copy_depth_stencil_1d.frag
[47/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_copy_depth_stencil_2d.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_copy_depth_stencil_2d.frag
[48/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_fullscreen_geom.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_fullscreen_geom.geom
[49/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_copy_depth_stencil_ms.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_copy_depth_stencil_ms.frag
[50/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_fullscreen_vert.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_fullscreen_vert.vert
[51/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_resolve_frag_d.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_resolve_frag_d.frag
[52/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_fullscreen_layer_vert.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_fullscreen_layer_vert.vert
[53/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_resolve_frag_ds.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_resolve_frag_ds.frag
[54/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_pack_d24s8.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_pack_d24s8.comp
[55/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_pack_d32s8.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_pack_d32s8.comp
[56/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_resolve_frag_f_amd.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_resolve_frag_f_amd.frag
[57/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_resolve_frag_u.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_resolve_frag_u.frag
[58/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_resolve_frag_f.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_resolve_frag_f.frag
[59/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_resolve_frag_i.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_resolve_frag_i.frag
[60/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_unpack_d24s8.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_unpack_d24s8.comp
[63/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_unpack_d24s8_as_d32s8.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_unpack_d24s8_as_d32s8.comp
[64/269] Generating 'src/dxvk/libdxvk.a.p/dxvk_unpack_d32s8.h'.
../../../dxvk-master/src/dxvk/shaders/dxvk_unpack_d32s8.comp
[73/269] Generating 'src/dxvk/libdxvk.a.p/hud_line_frag.h'.
../../../dxvk-master/src/dxvk/hud/shaders/hud_line_frag.frag
[78/269] Generating 'src/dxvk/libdxvk.a.p/hud_line_vert.h'.
../../../dxvk-master/src/dxvk/hud/shaders/hud_line_vert.vert
[84/269] Generating 'src/dxvk/libdxvk.a.p/hud_text_frag.h'.
../../../dxvk-master/src/dxvk/hud/shaders/hud_text_frag.frag
[88/269] Generating 'src/dxvk/libdxvk.a.p/hud_text_vert.h'.
../../../dxvk-master/src/dxvk/hud/shaders/hud_text_vert.vert
[108/269] Generating 'src/d3d11/d3d11.dll.p/dxgi_presenter_frag.h'.
../../../dxvk-master/src/d3d11/../dxgi/shaders/dxgi_presenter_frag.frag
[109/269] Generating 'src/d3d11/d3d11.dll.p/dxgi_presenter_vert.h'.
../../../dxvk-master/src/d3d11/../dxgi/shaders/dxgi_presenter_vert.vert
[198/269] Compiling C++ object src/dxgi/dxgi.dll.p/dxgi_main.cpp.obj
FAILED: src/dxgi/dxgi.dll.p/dxgi_main.cpp.obj
ccache x86_64-w64-mingw32-g++ -Isrc/dxgi/dxgi.dll.p -Isrc/dxgi -I../../../dxvk-master/src/dxgi -I../../../dxvk-master/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++17 -O3 -DNOMINMAX -MD -MQ src/dxgi/dxgi.dll.p/dxgi_main.cpp.obj -MF src/dxgi/dxgi.dll.p/dxgi_main.cpp.obj.d -o src/dxgi/dxgi.dll.p/dxgi_main.cpp.obj -c ../../../dxvk-master/src/dxgi/dxgi_main.cpp
In file included from ../../../dxvk-master/src/dxgi/dxgi_main.cpp:1:
../../../dxvk-master/src/dxgi/dxgi_factory.h:13:41: error: ‘IDXGIFactory7’ was not declared in this scope; did you mean ‘IDXGIFactory1’?
13 | class DxgiFactory : public DxgiObject {
| ^~~~~~~~~~~~~
| IDXGIFactory1
../../../dxvk-master/src/dxgi/dxgi_factory.h:13:54: error: template argument 1 is invalid
13 | class DxgiFactory : public DxgiObject {
| ^
../../../dxvk-master/src/dxgi/dxgi_factory.h:75:13: error: ‘DXGI_GPU_PREFERENCE’ has not been declared
75 | DXGI_GPU_PREFERENCE GpuPreference,
| ^~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:20:31: error: ‘HRESULT dxvk::DxgiFactory::QueryInterface(const IID&, void**)’ marked ‘final’, but is not virtual
20 | HRESULT STDMETHODCALLTYPE QueryInterface(
| ^~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:24:31: error: ‘HRESULT dxvk::DxgiFactory::GetParent(const IID&, void**)’ marked ‘final’, but is not virtual
24 | HRESULT STDMETHODCALLTYPE GetParent(
| ^~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:28:28: error: ‘BOOL dxvk::DxgiFactory::IsWindowedStereoEnabled()’ marked ‘final’, but is not virtual
28 | BOOL STDMETHODCALLTYPE IsWindowedStereoEnabled() final;
| ^~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:30:31: error: ‘HRESULT dxvk::DxgiFactory::CreateSoftwareAdapter(HMODULE, IDXGIAdapter**)’ marked ‘final’, but is not virtual
30 | HRESULT STDMETHODCALLTYPE CreateSoftwareAdapter(
| ^~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:34:31: error: ‘HRESULT dxvk::DxgiFactory::CreateSwapChain(IUnknown*, DXGI_SWAP_CHAIN_DESC*, IDXGISwapChain**)’ marked ‘final’, but is not virtual
34 | HRESULT STDMETHODCALLTYPE CreateSwapChain(
| ^~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:39:31: error: ‘HRESULT dxvk::DxgiFactory::CreateSwapChainForHwnd(IUnknown*, HWND, const DXGI_SWAP_CHAIN_DESC1*, const DXGI_SWAP_CHAIN_FULLSCREEN_DESC*, IDXGIOutput*, IDXGISwapChain1**)’ marked ‘final’, but is not virtual
39 | HRESULT STDMETHODCALLTYPE CreateSwapChainForHwnd(
| ^~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:47:31: error: ‘HRESULT dxvk::DxgiFactory::CreateSwapChainForCoreWindow(IUnknown*, IUnknown*, const DXGI_SWAP_CHAIN_DESC1*, IDXGIOutput*, IDXGISwapChain1**)’ marked ‘final’, but is not virtual
47 | HRESULT STDMETHODCALLTYPE CreateSwapChainForCoreWindow(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:54:31: error: ‘HRESULT dxvk::DxgiFactory::CreateSwapChainForComposition(IUnknown*, const DXGI_SWAP_CHAIN_DESC1*, IDXGIOutput*, IDXGISwapChain1**)’ marked ‘final’, but is not virtual
54 | HRESULT STDMETHODCALLTYPE CreateSwapChainForComposition(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:60:31: error: ‘HRESULT dxvk::DxgiFactory::EnumAdapters(UINT, IDXGIAdapter**)’ marked ‘final’, but is not virtual
60 | HRESULT STDMETHODCALLTYPE EnumAdapters(
| ^~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:64:31: error: ‘HRESULT dxvk::DxgiFactory::EnumAdapters1(UINT, IDXGIAdapter1**)’ marked ‘final’, but is not virtual
64 | HRESULT STDMETHODCALLTYPE EnumAdapters1(
| ^~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:68:31: error: ‘HRESULT dxvk::DxgiFactory::EnumAdapterByLuid(LUID, const IID&, void**)’ marked ‘final’, but is not virtual
68 | HRESULT STDMETHODCALLTYPE EnumAdapterByLuid(
| ^~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:79:31: error: ‘HRESULT dxvk::DxgiFactory::EnumWarpAdapter(const IID&, void**)’ marked ‘final’, but is not virtual
79 | HRESULT STDMETHODCALLTYPE EnumWarpAdapter(
| ^~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:83:31: error: ‘HRESULT dxvk::DxgiFactory::GetWindowAssociation(HWND__)’ marked ‘final’, but is not virtual
83 | HRESULT STDMETHODCALLTYPE GetWindowAssociation(
| ^~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:86:31: error: ‘HRESULT dxvk::DxgiFactory::GetSharedResourceAdapterLuid(HANDLE, LUID*)’ marked ‘final’, but is not virtual
86 | HRESULT STDMETHODCALLTYPE GetSharedResourceAdapterLuid(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:90:31: error: ‘HRESULT dxvk::DxgiFactory::MakeWindowAssociation(HWND, UINT)’ marked ‘final’, but is not virtual
90 | HRESULT STDMETHODCALLTYPE MakeWindowAssociation(
| ^~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:94:28: error: ‘BOOL dxvk::DxgiFactory::IsCurrent()’ marked ‘final’, but is not virtual
94 | BOOL STDMETHODCALLTYPE IsCurrent() final;
| ^~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:96:31: error: ‘HRESULT dxvk::DxgiFactory::RegisterOcclusionStatusWindow(HWND, UINT, DWORD*)’ marked ‘final’, but is not virtual
96 | HRESULT STDMETHODCALLTYPE RegisterOcclusionStatusWindow(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:101:31: error: ‘HRESULT dxvk::DxgiFactory::RegisterStereoStatusEvent(HANDLE, DWORD*)’ marked ‘final’, but is not virtual
101 | HRESULT STDMETHODCALLTYPE RegisterStereoStatusEvent(
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:105:31: error: ‘HRESULT dxvk::DxgiFactory::RegisterStereoStatusWindow(HWND, UINT, DWORD*)’ marked ‘final’, but is not virtual
105 | HRESULT STDMETHODCALLTYPE RegisterStereoStatusWindow(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:110:31: error: ‘HRESULT dxvk::DxgiFactory::RegisterOcclusionStatusEvent(HANDLE, DWORD*)’ marked ‘final’, but is not virtual
110 | HRESULT STDMETHODCALLTYPE RegisterOcclusionStatusEvent(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:114:28: error: ‘void dxvk::DxgiFactory::UnregisterStereoStatus(DWORD)’ marked ‘final’, but is not virtual
114 | void STDMETHODCALLTYPE UnregisterStereoStatus(
| ^~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:117:28: error: ‘void dxvk::DxgiFactory::UnregisterOcclusionStatus(DWORD)’ marked ‘final’, but is not virtual
117 | void STDMETHODCALLTYPE UnregisterOcclusionStatus(
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:120:28: error: ‘UINT dxvk::DxgiFactory::GetCreationFlags()’ marked ‘final’, but is not virtual
120 | UINT STDMETHODCALLTYPE GetCreationFlags() final;
| ^~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:122:31: error: ‘HRESULT dxvk::DxgiFactory::CheckFeatureSupport(DXGI_FEATURE, void*, UINT)’ marked ‘final’, but is not virtual
122 | HRESULT STDMETHODCALLTYPE CheckFeatureSupport(
| ^~~~~~~~~~~~~~~~~~~
In file included from ../../../dxvk-master/src/dxgi/dxgi_include.h:14,
from ../../../dxvk-master/src/dxgi/dxgi_format.h:3,
from ../../../dxvk-master/src/dxgi/dxgi_adapter.h:6,
from ../../../dxvk-master/src/dxgi/dxgi_factory.h:5,
from ../../../dxvk-master/src/dxgi/dxgi_main.cpp:1:
../../../dxvk-master/src/dxgi/../util/com/com_pointer.h: In instantiation of ‘static void dxvk::ComRef_<T, Public>::incRef(T*) [with T = dxvk::DxgiFactory; bool Public = true]’:
../../../dxvk-master/src/dxgi/../util/com/com_pointer.h:136:23: required from ‘void dxvk::Com<T, Public>::incRef() const [with T = dxvk::DxgiFactory; bool Public = true]’
../../../dxvk-master/src/dxgi/../util/com/com_pointer.h:57:13: required from ‘dxvk::Com<T, Public>::Com(T*) [with T = dxvk::DxgiFactory; bool Public = true]’
../../../dxvk-master/src/dxgi/dxgi_main.cpp:10:55: required from here
../../../dxvk-master/src/dxgi/../util/com/com_pointer.h:27:39: error: ‘class dxvk::DxgiFactory’ has no member named ‘AddRef’
27 | static void incRef(T* ptr) { ptr->AddRef(); }
| ~~~~~^~~~~~
../../../dxvk-master/src/dxgi/../util/com/com_pointer.h: In instantiation of ‘static void dxvk::ComRef_<T, Public>::decRef(T*) [with T = dxvk::DxgiFactory; bool Public = true]’:
../../../dxvk-master/src/dxgi/../util/com/com_pointer.h:141:23: required from ‘void dxvk::Com<T, Public>::decRef() const [with T = dxvk::DxgiFactory; bool Public = true]’
../../../dxvk-master/src/dxgi/../util/com/com_pointer.h:98:13: required from ‘dxvk::Com<T, Public>::~Com() [with T = dxvk::DxgiFactory; bool Public = true]’
../../../dxvk-master/src/dxgi/dxgi_main.cpp:10:55: required from here
../../../dxvk-master/src/dxgi/../util/com/com_pointer.h:28:39: error: ‘class dxvk::DxgiFactory’ has no member named ‘Release’
28 | static void decRef(T* ptr) { ptr->Release(); }
| ~~~~~^~~~~~~
[199/269] Compiling C++ object src/dxgi/dxgi.dll.p/dxgi_adapter.cpp.obj
FAILED: src/dxgi/dxgi.dll.p/dxgi_adapter.cpp.obj
ccache x86_64-w64-mingw32-g++ -Isrc/dxgi/dxgi.dll.p -Isrc/dxgi -I../../../dxvk-master/src/dxgi -I../../../dxvk-master/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++17 -O3 -DNOMINMAX -MD -MQ src/dxgi/dxgi.dll.p/dxgi_adapter.cpp.obj -MF src/dxgi/dxgi.dll.p/dxgi_adapter.cpp.obj.d -o src/dxgi/dxgi.dll.p/dxgi_adapter.cpp.obj -c ../../../dxvk-master/src/dxgi/dxgi_adapter.cpp
In file included from ../../../dxvk-master/src/dxgi/dxgi_adapter.cpp:8:
../../../dxvk-master/src/dxgi/dxgi_factory.h:13:41: error: ‘IDXGIFactory7’ was not declared in this scope; did you mean ‘IDXGIFactory2’?
13 | class DxgiFactory : public DxgiObject {
| ^~~~~~~~~~~~~
| IDXGIFactory2
../../../dxvk-master/src/dxgi/dxgi_factory.h:13:54: error: template argument 1 is invalid
13 | class DxgiFactory : public DxgiObject {
| ^
../../../dxvk-master/src/dxgi/dxgi_factory.h:75:13: error: ‘DXGI_GPU_PREFERENCE’ has not been declared
75 | DXGI_GPU_PREFERENCE GpuPreference,
| ^~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:20:31: error: ‘HRESULT dxvk::DxgiFactory::QueryInterface(const IID&, void
)’ marked ‘final’, but is not virtual
20 | HRESULT STDMETHODCALLTYPE QueryInterface(
| ^~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:24:31: error: ‘HRESULT dxvk::DxgiFactory::GetParent(const IID&, void**)’ marked ‘final’, but is not virtual
24 | HRESULT STDMETHODCALLTYPE GetParent(
| ^~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:28:28: error: ‘BOOL dxvk::DxgiFactory::IsWindowedStereoEnabled()’ marked ‘final’, but is not virtual
28 | BOOL STDMETHODCALLTYPE IsWindowedStereoEnabled() final;
| ^~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:30:31: error: ‘HRESULT dxvk::DxgiFactory::CreateSoftwareAdapter(HMODULE, IDXGIAdapter**)’ marked ‘final’, but is not virtual
30 | HRESULT STDMETHODCALLTYPE CreateSoftwareAdapter(
| ^~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:34:31: error: ‘HRESULT dxvk::DxgiFactory::CreateSwapChain(IUnknown*, DXGI_SWAP_CHAIN_DESC*, IDXGISwapChain**)’ marked ‘final’, but is not virtual
34 | HRESULT STDMETHODCALLTYPE CreateSwapChain(
| ^~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:39:31: error: ‘HRESULT dxvk::DxgiFactory::CreateSwapChainForHwnd(IUnknown*, HWND, const DXGI_SWAP_CHAIN_DESC1*, const DXGI_SWAP_CHAIN_FULLSCREEN_DESC*, IDXGIOutput*, IDXGISwapChain1**)’ marked ‘final’, but is not virtual
39 | HRESULT STDMETHODCALLTYPE CreateSwapChainForHwnd(
| ^~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:47:31: error: ‘HRESULT dxvk::DxgiFactory::CreateSwapChainForCoreWindow(IUnknown*, IUnknown*, const DXGI_SWAP_CHAIN_DESC1*, IDXGIOutput*, IDXGISwapChain1**)’ marked ‘final’, but is not virtual
47 | HRESULT STDMETHODCALLTYPE CreateSwapChainForCoreWindow(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:54:31: error: ‘HRESULT dxvk::DxgiFactory::CreateSwapChainForComposition(IUnknown*, const DXGI_SWAP_CHAIN_DESC1*, IDXGIOutput*, IDXGISwapChain1**)’ marked ‘final’, but is not virtual
54 | HRESULT STDMETHODCALLTYPE CreateSwapChainForComposition(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:60:31: error: ‘HRESULT dxvk::DxgiFactory::EnumAdapters(UINT, IDXGIAdapter**)’ marked ‘final’, but is not virtual
60 | HRESULT STDMETHODCALLTYPE EnumAdapters(
| ^~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:64:31: error: ‘HRESULT dxvk::DxgiFactory::EnumAdapters1(UINT, IDXGIAdapter1**)’ marked ‘final’, but is not virtual
64 | HRESULT STDMETHODCALLTYPE EnumAdapters1(
| ^~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:68:31: error: ‘HRESULT dxvk::DxgiFactory::EnumAdapterByLuid(LUID, const IID&, void**)’ marked ‘final’, but is not virtual
68 | HRESULT STDMETHODCALLTYPE EnumAdapterByLuid(
| ^~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:79:31: error: ‘HRESULT dxvk::DxgiFactory::EnumWarpAdapter(const IID&, void**)’ marked ‘final’, but is not virtual
79 | HRESULT STDMETHODCALLTYPE EnumWarpAdapter(
| ^~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:83:31: error: ‘HRESULT dxvk::DxgiFactory::GetWindowAssociation(HWND__)’ marked ‘final’, but is not virtual
83 | HRESULT STDMETHODCALLTYPE GetWindowAssociation(
| ^~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:86:31: error: ‘HRESULT dxvk::DxgiFactory::GetSharedResourceAdapterLuid(HANDLE, LUID*)’ marked ‘final’, but is not virtual
86 | HRESULT STDMETHODCALLTYPE GetSharedResourceAdapterLuid(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:90:31: error: ‘HRESULT dxvk::DxgiFactory::MakeWindowAssociation(HWND, UINT)’ marked ‘final’, but is not virtual
90 | HRESULT STDMETHODCALLTYPE MakeWindowAssociation(
| ^~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:94:28: error: ‘BOOL dxvk::DxgiFactory::IsCurrent()’ marked ‘final’, but is not virtual
94 | BOOL STDMETHODCALLTYPE IsCurrent() final;
| ^~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:96:31: error: ‘HRESULT dxvk::DxgiFactory::RegisterOcclusionStatusWindow(HWND, UINT, DWORD*)’ marked ‘final’, but is not virtual
96 | HRESULT STDMETHODCALLTYPE RegisterOcclusionStatusWindow(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:101:31: error: ‘HRESULT dxvk::DxgiFactory::RegisterStereoStatusEvent(HANDLE, DWORD*)’ marked ‘final’, but is not virtual
101 | HRESULT STDMETHODCALLTYPE RegisterStereoStatusEvent(
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:105:31: error: ‘HRESULT dxvk::DxgiFactory::RegisterStereoStatusWindow(HWND, UINT, DWORD*)’ marked ‘final’, but is not virtual
105 | HRESULT STDMETHODCALLTYPE RegisterStereoStatusWindow(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:110:31: error: ‘HRESULT dxvk::DxgiFactory::RegisterOcclusionStatusEvent(HANDLE, DWORD*)’ marked ‘final’, but is not virtual
110 | HRESULT STDMETHODCALLTYPE RegisterOcclusionStatusEvent(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:114:28: error: ‘void dxvk::DxgiFactory::UnregisterStereoStatus(DWORD)’ marked ‘final’, but is not virtual
114 | void STDMETHODCALLTYPE UnregisterStereoStatus(
| ^~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:117:28: error: ‘void dxvk::DxgiFactory::UnregisterOcclusionStatus(DWORD)’ marked ‘final’, but is not virtual
117 | void STDMETHODCALLTYPE UnregisterOcclusionStatus(
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:120:28: error: ‘UINT dxvk::DxgiFactory::GetCreationFlags()’ marked ‘final’, but is not virtual
120 | UINT STDMETHODCALLTYPE GetCreationFlags() final;
| ^~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:122:31: error: ‘HRESULT dxvk::DxgiFactory::CheckFeatureSupport(DXGI_FEATURE, void*, UINT)’ marked ‘final’, but is not virtual
122 | HRESULT STDMETHODCALLTYPE CheckFeatureSupport(
| ^~~~~~~~~~~~~~~~~~~
In file included from ../../../dxvk-master/src/dxgi/dxgi_include.h:14,
from ../../../dxvk-master/src/dxgi/dxgi_format.h:3,
from ../../../dxvk-master/src/dxgi/dxgi_adapter.h:6,
from ../../../dxvk-master/src/dxgi/dxgi_adapter.cpp:6:
../../../dxvk-master/src/dxgi/../util/com/com_pointer.h: In instantiation of ‘static void dxvk::ComRef_<T, Public>::incRef(T*) [with T = dxvk::DxgiFactory; bool Public = true]’:
../../../dxvk-master/src/dxgi/../util/com/com_pointer.h:136:23: required from ‘void dxvk::Com<T, Public>::incRef() const [with T = dxvk::DxgiFactory; bool Public = true]’
../../../dxvk-master/src/dxgi/../util/com/com_pointer.h:57:13: required from ‘dxvk::Com<T, Public>::Com(T*) [with T = dxvk::DxgiFactory; bool Public = true]’
../../../dxvk-master/src/dxgi/dxgi_adapter.cpp:63:21: required from here
../../../dxvk-master/src/dxgi/../util/com/com_pointer.h:27:39: error: ‘class dxvk::DxgiFactory’ has no member named ‘AddRef’
27 | static void incRef(T* ptr) { ptr->AddRef(); }
| ~~~~~^~~~~~
../../../dxvk-master/src/dxgi/../util/com/com_pointer.h: In instantiation of ‘static void dxvk::ComRef_<T, Public>::decRef(T*) [with T = dxvk::DxgiFactory; bool Public = true]’:
../../../dxvk-master/src/dxgi/../util/com/com_pointer.h:141:23: required from ‘void dxvk::Com<T, Public>::decRef() const [with T = dxvk::DxgiFactory; bool Public = true]’
../../../dxvk-master/src/dxgi/../util/com/com_pointer.h:98:13: required from ‘dxvk::Com<T, Public>::~Com() [with T = dxvk::DxgiFactory; bool Public = true]’
../../../dxvk-master/src/dxgi/dxgi_adapter.cpp:63:21: required from here
../../../dxvk-master/src/dxgi/../util/com/com_pointer.h:28:39: error: ‘class dxvk::DxgiFactory’ has no member named ‘Release’
28 | static void decRef(T* ptr) { ptr->Release(); }
| ~~~~~^~~~~~~
[201/269] Compiling C++ object src/d3d11/d3d11.dll.p/.._dxgi_dxgi_swapchain.cpp.obj
FAILED: src/d3d11/d3d11.dll.p/.._dxgi_dxgi_swapchain.cpp.obj
ccache x86_64-w64-mingw32-g++ -Isrc/d3d11/d3d11.dll.p -Isrc/d3d11 -I../../../dxvk-master/src/d3d11 -I../../../dxvk-master/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++17 -O3 -DNOMINMAX -MD -MQ src/d3d11/d3d11.dll.p/.._dxgi_dxgi_swapchain.cpp.obj -MF src/d3d11/d3d11.dll.p/.._dxgi_dxgi_swapchain.cpp.obj.d -o src/d3d11/d3d11.dll.p/.._dxgi_dxgi_swapchain.cpp.obj -c ../../../dxvk-master/src/dxgi/dxgi_swapchain.cpp
In file included from ../../../dxvk-master/src/dxgi/dxgi_swapchain.cpp:1:
../../../dxvk-master/src/dxgi/dxgi_factory.h:13:41: error: ‘IDXGIFactory7’ was not declared in this scope; did you mean ‘IDXGIFactory1’?
13 | class DxgiFactory : public DxgiObject {
| ^~~~~~~~~~~~~
| IDXGIFactory1
../../../dxvk-master/src/dxgi/dxgi_factory.h:13:54: error: template argument 1 is invalid
13 | class DxgiFactory : public DxgiObject {
| ^
../../../dxvk-master/src/dxgi/dxgi_factory.h:75:13: error: ‘DXGI_GPU_PREFERENCE’ has not been declared
75 | DXGI_GPU_PREFERENCE GpuPreference,
| ^~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:20:31: error: ‘HRESULT dxvk::DxgiFactory::QueryInterface(const IID&, void
)’ marked ‘final’, but is not virtual
20 | HRESULT STDMETHODCALLTYPE QueryInterface(
| ^~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:24:31: error: ‘HRESULT dxvk::DxgiFactory::GetParent(const IID&, void**)’ marked ‘final’, but is not virtual
24 | HRESULT STDMETHODCALLTYPE GetParent(
| ^~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:28:28: error: ‘BOOL dxvk::DxgiFactory::IsWindowedStereoEnabled()’ marked ‘final’, but is not virtual
28 | BOOL STDMETHODCALLTYPE IsWindowedStereoEnabled() final;
| ^~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:30:31: error: ‘HRESULT dxvk::DxgiFactory::CreateSoftwareAdapter(HMODULE, IDXGIAdapter**)’ marked ‘final’, but is not virtual
30 | HRESULT STDMETHODCALLTYPE CreateSoftwareAdapter(
| ^~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:34:31: error: ‘HRESULT dxvk::DxgiFactory::CreateSwapChain(IUnknown*, DXGI_SWAP_CHAIN_DESC*, IDXGISwapChain**)’ marked ‘final’, but is not virtual
34 | HRESULT STDMETHODCALLTYPE CreateSwapChain(
| ^~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:39:31: error: ‘HRESULT dxvk::DxgiFactory::CreateSwapChainForHwnd(IUnknown*, HWND, const DXGI_SWAP_CHAIN_DESC1*, const DXGI_SWAP_CHAIN_FULLSCREEN_DESC*, IDXGIOutput*, IDXGISwapChain1**)’ marked ‘final’, but is not virtual
39 | HRESULT STDMETHODCALLTYPE CreateSwapChainForHwnd(
| ^~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:47:31: error: ‘HRESULT dxvk::DxgiFactory::CreateSwapChainForCoreWindow(IUnknown*, IUnknown*, const DXGI_SWAP_CHAIN_DESC1*, IDXGIOutput*, IDXGISwapChain1**)’ marked ‘final’, but is not virtual
47 | HRESULT STDMETHODCALLTYPE CreateSwapChainForCoreWindow(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:54:31: error: ‘HRESULT dxvk::DxgiFactory::CreateSwapChainForComposition(IUnknown*, const DXGI_SWAP_CHAIN_DESC1*, IDXGIOutput*, IDXGISwapChain1**)’ marked ‘final’, but is not virtual
54 | HRESULT STDMETHODCALLTYPE CreateSwapChainForComposition(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:60:31: error: ‘HRESULT dxvk::DxgiFactory::EnumAdapters(UINT, IDXGIAdapter**)’ marked ‘final’, but is not virtual
60 | HRESULT STDMETHODCALLTYPE EnumAdapters(
| ^~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:64:31: error: ‘HRESULT dxvk::DxgiFactory::EnumAdapters1(UINT, IDXGIAdapter1**)’ marked ‘final’, but is not virtual
64 | HRESULT STDMETHODCALLTYPE EnumAdapters1(
| ^~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:68:31: error: ‘HRESULT dxvk::DxgiFactory::EnumAdapterByLuid(LUID, const IID&, void**)’ marked ‘final’, but is not virtual
68 | HRESULT STDMETHODCALLTYPE EnumAdapterByLuid(
| ^~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:79:31: error: ‘HRESULT dxvk::DxgiFactory::EnumWarpAdapter(const IID&, void**)’ marked ‘final’, but is not virtual
79 | HRESULT STDMETHODCALLTYPE EnumWarpAdapter(
| ^~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:83:31: error: ‘HRESULT dxvk::DxgiFactory::GetWindowAssociation(HWND__)’ marked ‘final’, but is not virtual
83 | HRESULT STDMETHODCALLTYPE GetWindowAssociation(
| ^~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:86:31: error: ‘HRESULT dxvk::DxgiFactory::GetSharedResourceAdapterLuid(HANDLE, LUID*)’ marked ‘final’, but is not virtual
86 | HRESULT STDMETHODCALLTYPE GetSharedResourceAdapterLuid(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:90:31: error: ‘HRESULT dxvk::DxgiFactory::MakeWindowAssociation(HWND, UINT)’ marked ‘final’, but is not virtual
90 | HRESULT STDMETHODCALLTYPE MakeWindowAssociation(
| ^~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:94:28: error: ‘BOOL dxvk::DxgiFactory::IsCurrent()’ marked ‘final’, but is not virtual
94 | BOOL STDMETHODCALLTYPE IsCurrent() final;
| ^~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:96:31: error: ‘HRESULT dxvk::DxgiFactory::RegisterOcclusionStatusWindow(HWND, UINT, DWORD*)’ marked ‘final’, but is not virtual
96 | HRESULT STDMETHODCALLTYPE RegisterOcclusionStatusWindow(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:101:31: error: ‘HRESULT dxvk::DxgiFactory::RegisterStereoStatusEvent(HANDLE, DWORD*)’ marked ‘final’, but is not virtual
101 | HRESULT STDMETHODCALLTYPE RegisterStereoStatusEvent(
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:105:31: error: ‘HRESULT dxvk::DxgiFactory::RegisterStereoStatusWindow(HWND, UINT, DWORD*)’ marked ‘final’, but is not virtual
105 | HRESULT STDMETHODCALLTYPE RegisterStereoStatusWindow(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:110:31: error: ‘HRESULT dxvk::DxgiFactory::RegisterOcclusionStatusEvent(HANDLE, DWORD*)’ marked ‘final’, but is not virtual
110 | HRESULT STDMETHODCALLTYPE RegisterOcclusionStatusEvent(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:114:28: error: ‘void dxvk::DxgiFactory::UnregisterStereoStatus(DWORD)’ marked ‘final’, but is not virtual
114 | void STDMETHODCALLTYPE UnregisterStereoStatus(
| ^~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:117:28: error: ‘void dxvk::DxgiFactory::UnregisterOcclusionStatus(DWORD)’ marked ‘final’, but is not virtual
117 | void STDMETHODCALLTYPE UnregisterOcclusionStatus(
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:120:28: error: ‘UINT dxvk::DxgiFactory::GetCreationFlags()’ marked ‘final’, but is not virtual
120 | UINT STDMETHODCALLTYPE GetCreationFlags() final;
| ^~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:122:31: error: ‘HRESULT dxvk::DxgiFactory::CheckFeatureSupport(DXGI_FEATURE, void*, UINT)’ marked ‘final’, but is not virtual
122 | HRESULT STDMETHODCALLTYPE CheckFeatureSupport(
| ^~~~~~~~~~~~~~~~~~~
[202/269] Compiling C++ object src/dxgi/dxgi.dll.p/dxgi_swapchain.cpp.obj
FAILED: src/dxgi/dxgi.dll.p/dxgi_swapchain.cpp.obj
ccache x86_64-w64-mingw32-g++ -Isrc/dxgi/dxgi.dll.p -Isrc/dxgi -I../../../dxvk-master/src/dxgi -I../../../dxvk-master/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++17 -O3 -DNOMINMAX -MD -MQ src/dxgi/dxgi.dll.p/dxgi_swapchain.cpp.obj -MF src/dxgi/dxgi.dll.p/dxgi_swapchain.cpp.obj.d -o src/dxgi/dxgi.dll.p/dxgi_swapchain.cpp.obj -c ../../../dxvk-master/src/dxgi/dxgi_swapchain.cpp
In file included from ../../../dxvk-master/src/dxgi/dxgi_swapchain.cpp:1:
../../../dxvk-master/src/dxgi/dxgi_factory.h:13:41: error: ‘IDXGIFactory7’ was not declared in this scope; did you mean ‘IDXGIFactory1’?
13 | class DxgiFactory : public DxgiObject {
| ^~~~~~~~~~~~~
| IDXGIFactory1
../../../dxvk-master/src/dxgi/dxgi_factory.h:13:54: error: template argument 1 is invalid
13 | class DxgiFactory : public DxgiObject {
| ^
../../../dxvk-master/src/dxgi/dxgi_factory.h:75:13: error: ‘DXGI_GPU_PREFERENCE’ has not been declared
75 | DXGI_GPU_PREFERENCE GpuPreference,
| ^~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:20:31: error: ‘HRESULT dxvk::DxgiFactory::QueryInterface(const IID&, void
)’ marked ‘final’, but is not virtual
20 | HRESULT STDMETHODCALLTYPE QueryInterface(
| ^~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:24:31: error: ‘HRESULT dxvk::DxgiFactory::GetParent(const IID&, void**)’ marked ‘final’, but is not virtual
24 | HRESULT STDMETHODCALLTYPE GetParent(
| ^~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:28:28: error: ‘BOOL dxvk::DxgiFactory::IsWindowedStereoEnabled()’ marked ‘final’, but is not virtual
28 | BOOL STDMETHODCALLTYPE IsWindowedStereoEnabled() final;
| ^~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:30:31: error: ‘HRESULT dxvk::DxgiFactory::CreateSoftwareAdapter(HMODULE, IDXGIAdapter**)’ marked ‘final’, but is not virtual
30 | HRESULT STDMETHODCALLTYPE CreateSoftwareAdapter(
| ^~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:34:31: error: ‘HRESULT dxvk::DxgiFactory::CreateSwapChain(IUnknown*, DXGI_SWAP_CHAIN_DESC*, IDXGISwapChain**)’ marked ‘final’, but is not virtual
34 | HRESULT STDMETHODCALLTYPE CreateSwapChain(
| ^~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:39:31: error: ‘HRESULT dxvk::DxgiFactory::CreateSwapChainForHwnd(IUnknown*, HWND, const DXGI_SWAP_CHAIN_DESC1*, const DXGI_SWAP_CHAIN_FULLSCREEN_DESC*, IDXGIOutput*, IDXGISwapChain1**)’ marked ‘final’, but is not virtual
39 | HRESULT STDMETHODCALLTYPE CreateSwapChainForHwnd(
| ^~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:47:31: error: ‘HRESULT dxvk::DxgiFactory::CreateSwapChainForCoreWindow(IUnknown*, IUnknown*, const DXGI_SWAP_CHAIN_DESC1*, IDXGIOutput*, IDXGISwapChain1**)’ marked ‘final’, but is not virtual
47 | HRESULT STDMETHODCALLTYPE CreateSwapChainForCoreWindow(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:54:31: error: ‘HRESULT dxvk::DxgiFactory::CreateSwapChainForComposition(IUnknown*, const DXGI_SWAP_CHAIN_DESC1*, IDXGIOutput*, IDXGISwapChain1**)’ marked ‘final’, but is not virtual
54 | HRESULT STDMETHODCALLTYPE CreateSwapChainForComposition(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:60:31: error: ‘HRESULT dxvk::DxgiFactory::EnumAdapters(UINT, IDXGIAdapter**)’ marked ‘final’, but is not virtual
60 | HRESULT STDMETHODCALLTYPE EnumAdapters(
| ^~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:64:31: error: ‘HRESULT dxvk::DxgiFactory::EnumAdapters1(UINT, IDXGIAdapter1**)’ marked ‘final’, but is not virtual
64 | HRESULT STDMETHODCALLTYPE EnumAdapters1(
| ^~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:68:31: error: ‘HRESULT dxvk::DxgiFactory::EnumAdapterByLuid(LUID, const IID&, void**)’ marked ‘final’, but is not virtual
68 | HRESULT STDMETHODCALLTYPE EnumAdapterByLuid(
| ^~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:79:31: error: ‘HRESULT dxvk::DxgiFactory::EnumWarpAdapter(const IID&, void**)’ marked ‘final’, but is not virtual
79 | HRESULT STDMETHODCALLTYPE EnumWarpAdapter(
| ^~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:83:31: error: ‘HRESULT dxvk::DxgiFactory::GetWindowAssociation(HWND__)’ marked ‘final’, but is not virtual
83 | HRESULT STDMETHODCALLTYPE GetWindowAssociation(
| ^~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:86:31: error: ‘HRESULT dxvk::DxgiFactory::GetSharedResourceAdapterLuid(HANDLE, LUID*)’ marked ‘final’, but is not virtual
86 | HRESULT STDMETHODCALLTYPE GetSharedResourceAdapterLuid(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:90:31: error: ‘HRESULT dxvk::DxgiFactory::MakeWindowAssociation(HWND, UINT)’ marked ‘final’, but is not virtual
90 | HRESULT STDMETHODCALLTYPE MakeWindowAssociation(
| ^~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:94:28: error: ‘BOOL dxvk::DxgiFactory::IsCurrent()’ marked ‘final’, but is not virtual
94 | BOOL STDMETHODCALLTYPE IsCurrent() final;
| ^~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:96:31: error: ‘HRESULT dxvk::DxgiFactory::RegisterOcclusionStatusWindow(HWND, UINT, DWORD*)’ marked ‘final’, but is not virtual
96 | HRESULT STDMETHODCALLTYPE RegisterOcclusionStatusWindow(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:101:31: error: ‘HRESULT dxvk::DxgiFactory::RegisterStereoStatusEvent(HANDLE, DWORD*)’ marked ‘final’, but is not virtual
101 | HRESULT STDMETHODCALLTYPE RegisterStereoStatusEvent(
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:105:31: error: ‘HRESULT dxvk::DxgiFactory::RegisterStereoStatusWindow(HWND, UINT, DWORD*)’ marked ‘final’, but is not virtual
105 | HRESULT STDMETHODCALLTYPE RegisterStereoStatusWindow(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:110:31: error: ‘HRESULT dxvk::DxgiFactory::RegisterOcclusionStatusEvent(HANDLE, DWORD*)’ marked ‘final’, but is not virtual
110 | HRESULT STDMETHODCALLTYPE RegisterOcclusionStatusEvent(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:114:28: error: ‘void dxvk::DxgiFactory::UnregisterStereoStatus(DWORD)’ marked ‘final’, but is not virtual
114 | void STDMETHODCALLTYPE UnregisterStereoStatus(
| ^~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:117:28: error: ‘void dxvk::DxgiFactory::UnregisterOcclusionStatus(DWORD)’ marked ‘final’, but is not virtual
117 | void STDMETHODCALLTYPE UnregisterOcclusionStatus(
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:120:28: error: ‘UINT dxvk::DxgiFactory::GetCreationFlags()’ marked ‘final’, but is not virtual
120 | UINT STDMETHODCALLTYPE GetCreationFlags() final;
| ^~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:122:31: error: ‘HRESULT dxvk::DxgiFactory::CheckFeatureSupport(DXGI_FEATURE, void*, UINT)’ marked ‘final’, but is not virtual
122 | HRESULT STDMETHODCALLTYPE CheckFeatureSupport(
| ^~~~~~~~~~~~~~~~~~~
[203/269] Compiling C++ object src/dxgi/dxgi.dll.p/dxgi_output.cpp.obj
FAILED: src/dxgi/dxgi.dll.p/dxgi_output.cpp.obj
ccache x86_64-w64-mingw32-g++ -Isrc/dxgi/dxgi.dll.p -Isrc/dxgi -I../../../dxvk-master/src/dxgi -I../../../dxvk-master/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++17 -O3 -DNOMINMAX -MD -MQ src/dxgi/dxgi.dll.p/dxgi_output.cpp.obj -MF src/dxgi/dxgi.dll.p/dxgi_output.cpp.obj.d -o src/dxgi/dxgi.dll.p/dxgi_output.cpp.obj -c ../../../dxvk-master/src/dxgi/dxgi_output.cpp
In file included from ../../../dxvk-master/src/dxgi/dxgi_output.cpp:11:
../../../dxvk-master/src/dxgi/dxgi_factory.h:13:41: error: ‘IDXGIFactory7’ was not declared in this scope; did you mean ‘IDXGIFactory1’?
13 | class DxgiFactory : public DxgiObject {
| ^~~~~~~~~~~~~
| IDXGIFactory1
../../../dxvk-master/src/dxgi/dxgi_factory.h:13:54: error: template argument 1 is invalid
13 | class DxgiFactory : public DxgiObject {
| ^
../../../dxvk-master/src/dxgi/dxgi_factory.h:75:13: error: ‘DXGI_GPU_PREFERENCE’ has not been declared
75 | DXGI_GPU_PREFERENCE GpuPreference,
| ^~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:20:31: error: ‘HRESULT dxvk::DxgiFactory::QueryInterface(const IID&, void
)’ marked ‘final’, but is not virtual
20 | HRESULT STDMETHODCALLTYPE QueryInterface(
| ^~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:24:31: error: ‘HRESULT dxvk::DxgiFactory::GetParent(const IID&, void**)’ marked ‘final’, but is not virtual
24 | HRESULT STDMETHODCALLTYPE GetParent(
| ^~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:28:28: error: ‘BOOL dxvk::DxgiFactory::IsWindowedStereoEnabled()’ marked ‘final’, but is not virtual
28 | BOOL STDMETHODCALLTYPE IsWindowedStereoEnabled() final;
| ^~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:30:31: error: ‘HRESULT dxvk::DxgiFactory::CreateSoftwareAdapter(HMODULE, IDXGIAdapter**)’ marked ‘final’, but is not virtual
30 | HRESULT STDMETHODCALLTYPE CreateSoftwareAdapter(
| ^~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:34:31: error: ‘HRESULT dxvk::DxgiFactory::CreateSwapChain(IUnknown*, DXGI_SWAP_CHAIN_DESC*, IDXGISwapChain**)’ marked ‘final’, but is not virtual
34 | HRESULT STDMETHODCALLTYPE CreateSwapChain(
| ^~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:39:31: error: ‘HRESULT dxvk::DxgiFactory::CreateSwapChainForHwnd(IUnknown*, HWND, const DXGI_SWAP_CHAIN_DESC1*, const DXGI_SWAP_CHAIN_FULLSCREEN_DESC*, IDXGIOutput*, IDXGISwapChain1**)’ marked ‘final’, but is not virtual
39 | HRESULT STDMETHODCALLTYPE CreateSwapChainForHwnd(
| ^~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:47:31: error: ‘HRESULT dxvk::DxgiFactory::CreateSwapChainForCoreWindow(IUnknown*, IUnknown*, const DXGI_SWAP_CHAIN_DESC1*, IDXGIOutput*, IDXGISwapChain1**)’ marked ‘final’, but is not virtual
47 | HRESULT STDMETHODCALLTYPE CreateSwapChainForCoreWindow(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:54:31: error: ‘HRESULT dxvk::DxgiFactory::CreateSwapChainForComposition(IUnknown*, const DXGI_SWAP_CHAIN_DESC1*, IDXGIOutput*, IDXGISwapChain1**)’ marked ‘final’, but is not virtual
54 | HRESULT STDMETHODCALLTYPE CreateSwapChainForComposition(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:60:31: error: ‘HRESULT dxvk::DxgiFactory::EnumAdapters(UINT, IDXGIAdapter**)’ marked ‘final’, but is not virtual
60 | HRESULT STDMETHODCALLTYPE EnumAdapters(
| ^~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:64:31: error: ‘HRESULT dxvk::DxgiFactory::EnumAdapters1(UINT, IDXGIAdapter1**)’ marked ‘final’, but is not virtual
64 | HRESULT STDMETHODCALLTYPE EnumAdapters1(
| ^~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:68:31: error: ‘HRESULT dxvk::DxgiFactory::EnumAdapterByLuid(LUID, const IID&, void**)’ marked ‘final’, but is not virtual
68 | HRESULT STDMETHODCALLTYPE EnumAdapterByLuid(
| ^~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:79:31: error: ‘HRESULT dxvk::DxgiFactory::EnumWarpAdapter(const IID&, void**)’ marked ‘final’, but is not virtual
79 | HRESULT STDMETHODCALLTYPE EnumWarpAdapter(
| ^~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:83:31: error: ‘HRESULT dxvk::DxgiFactory::GetWindowAssociation(HWND__)’ marked ‘final’, but is not virtual
83 | HRESULT STDMETHODCALLTYPE GetWindowAssociation(
| ^~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:86:31: error: ‘HRESULT dxvk::DxgiFactory::GetSharedResourceAdapterLuid(HANDLE, LUID*)’ marked ‘final’, but is not virtual
86 | HRESULT STDMETHODCALLTYPE GetSharedResourceAdapterLuid(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:90:31: error: ‘HRESULT dxvk::DxgiFactory::MakeWindowAssociation(HWND, UINT)’ marked ‘final’, but is not virtual
90 | HRESULT STDMETHODCALLTYPE MakeWindowAssociation(
| ^~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:94:28: error: ‘BOOL dxvk::DxgiFactory::IsCurrent()’ marked ‘final’, but is not virtual
94 | BOOL STDMETHODCALLTYPE IsCurrent() final;
| ^~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:96:31: error: ‘HRESULT dxvk::DxgiFactory::RegisterOcclusionStatusWindow(HWND, UINT, DWORD*)’ marked ‘final’, but is not virtual
96 | HRESULT STDMETHODCALLTYPE RegisterOcclusionStatusWindow(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:101:31: error: ‘HRESULT dxvk::DxgiFactory::RegisterStereoStatusEvent(HANDLE, DWORD*)’ marked ‘final’, but is not virtual
101 | HRESULT STDMETHODCALLTYPE RegisterStereoStatusEvent(
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:105:31: error: ‘HRESULT dxvk::DxgiFactory::RegisterStereoStatusWindow(HWND, UINT, DWORD*)’ marked ‘final’, but is not virtual
105 | HRESULT STDMETHODCALLTYPE RegisterStereoStatusWindow(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:110:31: error: ‘HRESULT dxvk::DxgiFactory::RegisterOcclusionStatusEvent(HANDLE, DWORD*)’ marked ‘final’, but is not virtual
110 | HRESULT STDMETHODCALLTYPE RegisterOcclusionStatusEvent(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:114:28: error: ‘void dxvk::DxgiFactory::UnregisterStereoStatus(DWORD)’ marked ‘final’, but is not virtual
114 | void STDMETHODCALLTYPE UnregisterStereoStatus(
| ^~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:117:28: error: ‘void dxvk::DxgiFactory::UnregisterOcclusionStatus(DWORD)’ marked ‘final’, but is not virtual
117 | void STDMETHODCALLTYPE UnregisterOcclusionStatus(
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:120:28: error: ‘UINT dxvk::DxgiFactory::GetCreationFlags()’ marked ‘final’, but is not virtual
120 | UINT STDMETHODCALLTYPE GetCreationFlags() final;
| ^~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:122:31: error: ‘HRESULT dxvk::DxgiFactory::CheckFeatureSupport(DXGI_FEATURE, void*, UINT)’ marked ‘final’, but is not virtual
122 | HRESULT STDMETHODCALLTYPE CheckFeatureSupport(
| ^~~~~~~~~~~~~~~~~~~
[204/269] Compiling C++ object src/dxgi/dxgi.dll.p/dxgi_factory.cpp.obj
FAILED: src/dxgi/dxgi.dll.p/dxgi_factory.cpp.obj
ccache x86_64-w64-mingw32-g++ -Isrc/dxgi/dxgi.dll.p -Isrc/dxgi -I../../../dxvk-master/src/dxgi -I../../../dxvk-master/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -std=c++17 -O3 -DNOMINMAX -MD -MQ src/dxgi/dxgi.dll.p/dxgi_factory.cpp.obj -MF src/dxgi/dxgi.dll.p/dxgi_factory.cpp.obj.d -o src/dxgi/dxgi.dll.p/dxgi_factory.cpp.obj -c ../../../dxvk-master/src/dxgi/dxgi_factory.cpp
In file included from ../../../dxvk-master/src/dxgi/dxgi_factory.cpp:1:
../../../dxvk-master/src/dxgi/dxgi_factory.h:13:41: error: ‘IDXGIFactory7’ was not declared in this scope; did you mean ‘IDXGIFactory1’?
13 | class DxgiFactory : public DxgiObject {
| ^~~~~~~~~~~~~
| IDXGIFactory1
../../../dxvk-master/src/dxgi/dxgi_factory.h:13:54: error: template argument 1 is invalid
13 | class DxgiFactory : public DxgiObject {
| ^
../../../dxvk-master/src/dxgi/dxgi_factory.h:75:13: error: ‘DXGI_GPU_PREFERENCE’ has not been declared
75 | DXGI_GPU_PREFERENCE GpuPreference,
| ^~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:20:31: error: ‘HRESULT dxvk::DxgiFactory::QueryInterface(const IID&, void
)’ marked ‘final’, but is not virtual
20 | HRESULT STDMETHODCALLTYPE QueryInterface(
| ^~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:24:31: error: ‘HRESULT dxvk::DxgiFactory::GetParent(const IID&, void**)’ marked ‘final’, but is not virtual
24 | HRESULT STDMETHODCALLTYPE GetParent(
| ^~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:28:28: error: ‘BOOL dxvk::DxgiFactory::IsWindowedStereoEnabled()’ marked ‘final’, but is not virtual
28 | BOOL STDMETHODCALLTYPE IsWindowedStereoEnabled() final;
| ^~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:30:31: error: ‘HRESULT dxvk::DxgiFactory::CreateSoftwareAdapter(HMODULE, IDXGIAdapter**)’ marked ‘final’, but is not virtual
30 | HRESULT STDMETHODCALLTYPE CreateSoftwareAdapter(
| ^~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:34:31: error: ‘HRESULT dxvk::DxgiFactory::CreateSwapChain(IUnknown*, DXGI_SWAP_CHAIN_DESC*, IDXGISwapChain**)’ marked ‘final’, but is not virtual
34 | HRESULT STDMETHODCALLTYPE CreateSwapChain(
| ^~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:39:31: error: ‘HRESULT dxvk::DxgiFactory::CreateSwapChainForHwnd(IUnknown*, HWND, const DXGI_SWAP_CHAIN_DESC1*, const DXGI_SWAP_CHAIN_FULLSCREEN_DESC*, IDXGIOutput*, IDXGISwapChain1**)’ marked ‘final’, but is not virtual
39 | HRESULT STDMETHODCALLTYPE CreateSwapChainForHwnd(
| ^~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:47:31: error: ‘HRESULT dxvk::DxgiFactory::CreateSwapChainForCoreWindow(IUnknown*, IUnknown*, const DXGI_SWAP_CHAIN_DESC1*, IDXGIOutput*, IDXGISwapChain1**)’ marked ‘final’, but is not virtual
47 | HRESULT STDMETHODCALLTYPE CreateSwapChainForCoreWindow(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:54:31: error: ‘HRESULT dxvk::DxgiFactory::CreateSwapChainForComposition(IUnknown*, const DXGI_SWAP_CHAIN_DESC1*, IDXGIOutput*, IDXGISwapChain1**)’ marked ‘final’, but is not virtual
54 | HRESULT STDMETHODCALLTYPE CreateSwapChainForComposition(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:60:31: error: ‘HRESULT dxvk::DxgiFactory::EnumAdapters(UINT, IDXGIAdapter**)’ marked ‘final’, but is not virtual
60 | HRESULT STDMETHODCALLTYPE EnumAdapters(
| ^~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:64:31: error: ‘HRESULT dxvk::DxgiFactory::EnumAdapters1(UINT, IDXGIAdapter1**)’ marked ‘final’, but is not virtual
64 | HRESULT STDMETHODCALLTYPE EnumAdapters1(
| ^~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:68:31: error: ‘HRESULT dxvk::DxgiFactory::EnumAdapterByLuid(LUID, const IID&, void**)’ marked ‘final’, but is not virtual
68 | HRESULT STDMETHODCALLTYPE EnumAdapterByLuid(
| ^~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:79:31: error: ‘HRESULT dxvk::DxgiFactory::EnumWarpAdapter(const IID&, void**)’ marked ‘final’, but is not virtual
79 | HRESULT STDMETHODCALLTYPE EnumWarpAdapter(
| ^~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:83:31: error: ‘HRESULT dxvk::DxgiFactory::GetWindowAssociation(HWND__)’ marked ‘final’, but is not virtual
83 | HRESULT STDMETHODCALLTYPE GetWindowAssociation(
| ^~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:86:31: error: ‘HRESULT dxvk::DxgiFactory::GetSharedResourceAdapterLuid(HANDLE, LUID*)’ marked ‘final’, but is not virtual
86 | HRESULT STDMETHODCALLTYPE GetSharedResourceAdapterLuid(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:90:31: error: ‘HRESULT dxvk::DxgiFactory::MakeWindowAssociation(HWND, UINT)’ marked ‘final’, but is not virtual
90 | HRESULT STDMETHODCALLTYPE MakeWindowAssociation(
| ^~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:94:28: error: ‘BOOL dxvk::DxgiFactory::IsCurrent()’ marked ‘final’, but is not virtual
94 | BOOL STDMETHODCALLTYPE IsCurrent() final;
| ^~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:96:31: error: ‘HRESULT dxvk::DxgiFactory::RegisterOcclusionStatusWindow(HWND, UINT, DWORD*)’ marked ‘final’, but is not virtual
96 | HRESULT STDMETHODCALLTYPE RegisterOcclusionStatusWindow(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:101:31: error: ‘HRESULT dxvk::DxgiFactory::RegisterStereoStatusEvent(HANDLE, DWORD*)’ marked ‘final’, but is not virtual
101 | HRESULT STDMETHODCALLTYPE RegisterStereoStatusEvent(
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:105:31: error: ‘HRESULT dxvk::DxgiFactory::RegisterStereoStatusWindow(HWND, UINT, DWORD*)’ marked ‘final’, but is not virtual
105 | HRESULT STDMETHODCALLTYPE RegisterStereoStatusWindow(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:110:31: error: ‘HRESULT dxvk::DxgiFactory::RegisterOcclusionStatusEvent(HANDLE, DWORD*)’ marked ‘final’, but is not virtual
110 | HRESULT STDMETHODCALLTYPE RegisterOcclusionStatusEvent(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:114:28: error: ‘void dxvk::DxgiFactory::UnregisterStereoStatus(DWORD)’ marked ‘final’, but is not virtual
114 | void STDMETHODCALLTYPE UnregisterStereoStatus(
| ^~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:117:28: error: ‘void dxvk::DxgiFactory::UnregisterOcclusionStatus(DWORD)’ marked ‘final’, but is not virtual
117 | void STDMETHODCALLTYPE UnregisterOcclusionStatus(
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:120:28: error: ‘UINT dxvk::DxgiFactory::GetCreationFlags()’ marked ‘final’, but is not virtual
120 | UINT STDMETHODCALLTYPE GetCreationFlags() final;
| ^~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.h:122:31: error: ‘HRESULT dxvk::DxgiFactory::CheckFeatureSupport(DXGI_FEATURE, void*, UINT)’ marked ‘final’, but is not virtual
122 | HRESULT STDMETHODCALLTYPE CheckFeatureSupport(
| ^~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.cpp: In constructor ‘dxvk::DxgiFactory::DxgiFactory(UINT)’:
../../../dxvk-master/src/dxgi/dxgi_factory.cpp:10:25: error: no matching function for call to ‘dxvk::DxgiMonitorInfo::DxgiMonitorInfo(dxvk::DxgiFactory*)’
10 | m_flags (Flags) {
| ^
In file included from ../../../dxvk-master/src/dxgi/dxgi_output.h:3,
from ../../../dxvk-master/src/dxgi/dxgi_adapter.h:8,
from ../../../dxvk-master/src/dxgi/dxgi_factory.h:5,
from ../../../dxvk-master/src/dxgi/dxgi_factory.cpp:1:
../../../dxvk-master/src/dxgi/dxgi_monitor.h:16:5: note: candidate: ‘dxvk::DxgiMonitorInfo::DxgiMonitorInfo(IUnknown*)’
16 | DxgiMonitorInfo(IUnknown* pParent);
| ^~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_monitor.h:16:31: note: no known conversion for argument 1 from ‘dxvk::DxgiFactory*’ to ‘IUnknown*’
16 | DxgiMonitorInfo(IUnknown* pParent);
| ~~~~~~~~~~^~~~~~~
In file included from /usr/share/mingw-w64/include/corecrt.h:10,
from /usr/share/mingw-w64/include/crtdefs.h:10,
from /usr/share/mingw-w64/include/stddef.h:7,
from /usr/lib/gcc/x86_64-w64-mingw32/9.3-posix/include/stddef.h:1,
from /usr/lib/gcc/x86_64-w64-mingw32/9.3-posix/include/c++/bits/cxxabi_init_exception.h:38,
from /usr/lib/gcc/x86_64-w64-mingw32/9.3-posix/include/c++/bits/exception_ptr.h:38,
from /usr/lib/gcc/x86_64-w64-mingw32/9.3-posix/include/c++/exception:143,
from /usr/lib/gcc/x86_64-w64-mingw32/9.3-posix/include/c++/new:40,
from /usr/lib/gcc/x86_64-w64-mingw32/9.3-posix/include/c++/ext/new_allocator.h:33,
from /usr/lib/gcc/x86_64-w64-mingw32/9.3-posix/include/c++/x86_64-w64-mingw32/bits/c++allocator.h:33,
from /usr/lib/gcc/x86_64-w64-mingw32/9.3-posix/include/c++/bits/allocator.h:46,
from /usr/lib/gcc/x86_64-w64-mingw32/9.3-posix/include/c++/vector:64,
from ../../../dxvk-master/src/dxgi/dxgi_factory.h:3,
from ../../../dxvk-master/src/dxgi/dxgi_factory.cpp:1:
../../../dxvk-master/src/dxgi/dxgi_factory.cpp: In member function ‘HRESULT dxvk::DxgiFactory::QueryInterface(const IID&, void
)’:
../../../dxvk-master/src/dxgi/dxgi_factory.cpp:35:26: error: ‘IDXGIFactory6’ was not declared in this scope; did you mean ‘IDXGIFactory1’?
35 | || riid == __uuidof(IDXGIFactory6)
| ^~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.cpp:35:17: error: no matching function for call to ‘__mingw_uuidof< >()’
35 | || riid == __uuidof(IDXGIFactory6)
| ^~~~~~~~
In file included from /usr/share/mingw-w64/include/winnt.h:635,
from /usr/share/mingw-w64/include/minwindef.h:163,
from /usr/share/mingw-w64/include/windef.h:8,
from /usr/share/mingw-w64/include/windows.h:69,
from ../../../dxvk-master/src/dxgi/../util/com/com_include.h:10,
from ../../../dxvk-master/src/dxgi/../util/com/com_guid.h:6,
from ../../../dxvk-master/src/dxgi/dxgi_include.h:12,
from ../../../dxvk-master/src/dxgi/dxgi_format.h:3,
from ../../../dxvk-master/src/dxgi/dxgi_adapter.h:6,
from ../../../dxvk-master/src/dxgi/dxgi_factory.h:5,
from ../../../dxvk-master/src/dxgi/dxgi_factory.cpp:1:
/usr/share/mingw-w64/include/guiddef.h:32:58: note: candidate: ‘template constexpr const GUID& __mingw_uuidof()’
32 | extension template constexpr const GUID &__mingw_uuidof();
| ^~~~~~~~~~~~~~
/usr/share/mingw-w64/include/guiddef.h:32:58: note: template argument deduction/substitution failed:
In file included from /usr/share/mingw-w64/include/corecrt.h:10,
from /usr/share/mingw-w64/include/crtdefs.h:10,
from /usr/share/mingw-w64/include/stddef.h:7,
from /usr/lib/gcc/x86_64-w64-mingw32/9.3-posix/include/stddef.h:1,
from /usr/lib/gcc/x86_64-w64-mingw32/9.3-posix/include/c++/bits/cxxabi_init_exception.h:38,
from /usr/lib/gcc/x86_64-w64-mingw32/9.3-posix/include/c++/bits/exception_ptr.h:38,
from /usr/lib/gcc/x86_64-w64-mingw32/9.3-posix/include/c++/exception:143,
from /usr/lib/gcc/x86_64-w64-mingw32/9.3-posix/include/c++/new:40,
from /usr/lib/gcc/x86_64-w64-mingw32/9.3-posix/include/c++/ext/new_allocator.h:33,
from /usr/lib/gcc/x86_64-w64-mingw32/9.3-posix/include/c++/x86_64-w64-mingw32/bits/c++allocator.h:33,
from /usr/lib/gcc/x86_64-w64-mingw32/9.3-posix/include/c++/bits/allocator.h:46,
from /usr/lib/gcc/x86_64-w64-mingw32/9.3-posix/include/c++/vector:64,
from ../../../dxvk-master/src/dxgi/dxgi_factory.h:3,
from ../../../dxvk-master/src/dxgi/dxgi_factory.cpp:1:
../../../dxvk-master/src/dxgi/dxgi_factory.cpp:35:17: error: template argument 1 is invalid
35 | || riid == __uuidof(IDXGIFactory6)
| ^~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.cpp:36:26: error: ‘IDXGIFactory7’ was not declared in this scope; did you mean ‘IDXGIFactory1’?
36 | || riid == __uuidof(IDXGIFactory7)) {
| ^~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.cpp:36:17: error: no matching function for call to ‘__mingw_uuidof< >()’
36 | || riid == __uuidof(IDXGIFactory7)) {
| ^~~~~~~~
In file included from /usr/share/mingw-w64/include/winnt.h:635,
from /usr/share/mingw-w64/include/minwindef.h:163,
from /usr/share/mingw-w64/include/windef.h:8,
from /usr/share/mingw-w64/include/windows.h:69,
from ../../../dxvk-master/src/dxgi/../util/com/com_include.h:10,
from ../../../dxvk-master/src/dxgi/../util/com/com_guid.h:6,
from ../../../dxvk-master/src/dxgi/dxgi_include.h:12,
from ../../../dxvk-master/src/dxgi/dxgi_format.h:3,
from ../../../dxvk-master/src/dxgi/dxgi_adapter.h:6,
from ../../../dxvk-master/src/dxgi/dxgi_factory.h:5,
from ../../../dxvk-master/src/dxgi/dxgi_factory.cpp:1:
/usr/share/mingw-w64/include/guiddef.h:32:58: note: candidate: ‘template constexpr const GUID& __mingw_uuidof()’
32 | extension template constexpr const GUID &__mingw_uuidof();
| ^~~~~~~~~~~~~~
/usr/share/mingw-w64/include/guiddef.h:32:58: note: template argument deduction/substitution failed:
In file included from /usr/share/mingw-w64/include/corecrt.h:10,
from /usr/share/mingw-w64/include/crtdefs.h:10,
from /usr/share/mingw-w64/include/stddef.h:7,
from /usr/lib/gcc/x86_64-w64-mingw32/9.3-posix/include/stddef.h:1,
from /usr/lib/gcc/x86_64-w64-mingw32/9.3-posix/include/c++/bits/cxxabi_init_exception.h:38,
from /usr/lib/gcc/x86_64-w64-mingw32/9.3-posix/include/c++/bits/exception_ptr.h:38,
from /usr/lib/gcc/x86_64-w64-mingw32/9.3-posix/include/c++/exception:143,
from /usr/lib/gcc/x86_64-w64-mingw32/9.3-posix/include/c++/new:40,
from /usr/lib/gcc/x86_64-w64-mingw32/9.3-posix/include/c++/ext/new_allocator.h:33,
from /usr/lib/gcc/x86_64-w64-mingw32/9.3-posix/include/c++/x86_64-w64-mingw32/bits/c++allocator.h:33,
from /usr/lib/gcc/x86_64-w64-mingw32/9.3-posix/include/c++/bits/allocator.h:46,
from /usr/lib/gcc/x86_64-w64-mingw32/9.3-posix/include/c++/vector:64,
from ../../../dxvk-master/src/dxgi/dxgi_factory.h:3,
from ../../../dxvk-master/src/dxgi/dxgi_factory.cpp:1:
../../../dxvk-master/src/dxgi/dxgi_factory.cpp:36:17: error: template argument 1 is invalid
36 | || riid == __uuidof(IDXGIFactory7)) {
| ^~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.cpp: In member function ‘HRESULT dxvk::DxgiFactory::CreateSwapChainForHwnd(IUnknown*, HWND, const DXGI_SWAP_CHAIN_DESC1*, const DXGI_SWAP_CHAIN_FULLSCREEN_DESC*, IDXGIOutput*, IDXGISwapChain1**)’:
../../../dxvk-master/src/dxgi/dxgi_factory.cpp:135:39: error: cannot convert ‘dxvk::DxgiFactory*’ to ‘IDXGIFactory*’
135 | pRestrictToOutput, ppSwapChain);
| ^
In file included from ../../../dxvk-master/src/dxgi/dxgi_adapter.h:7,
from ../../../dxvk-master/src/dxgi/dxgi_factory.h:5,
from ../../../dxvk-master/src/dxgi/dxgi_factory.cpp:1:
../../../dxvk-master/src/dxgi/dxgi_interfaces.h:345:37: note: initializing argument 1 of ‘virtual HRESULT IWineDXGISwapChainFactory::CreateSwapChainForHwnd(IDXGIFactory*, HWND, const DXGI_SWAP_CHAIN_DESC1*, const DXGI_SWAP_CHAIN_FULLSCREEN_DESC*, IDXGIOutput*, IDXGISwapChain1**)’
345 | IDXGIFactory* pFactory,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.cpp: At global scope:
../../../dxvk-master/src/dxgi/dxgi_factory.cpp:230:11: error: ‘DXGI_GPU_PREFERENCE’ has not been declared
230 | DXGI_GPU_PREFERENCE GpuPreference,
| ^~~~~~~~~~~~~~~~~~~
../../../dxvk-master/src/dxgi/dxgi_factory.cpp: In member function ‘HRESULT dxvk::DxgiFactory::EnumAdapterByGpuPreference(UINT, int, const IID&, void**)’:
../../../dxvk-master/src/dxgi/dxgi_factory.cpp:242:26: error: ‘DXGI_GPU_PREFERENCE_MINIMUM_POWER’ was not declared in this scope
242 | if (GpuPreference == DXGI_GPU_PREFERENCE_MINIMUM_POWER)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../../dxvk-master/src/dxgi/dxgi_include.h:14,
from ../../../dxvk-master/src/dxgi/dxgi_format.h:3,
from ../../../dxvk-master/src/dxgi/dxgi_adapter.h:6,
from ../../../dxvk-master/src/dxgi/dxgi_factory.h:5,
from ../../../dxvk-master/src/dxgi/dxgi_factory.cpp:1:
../../../dxvk-master/src/dxgi/../util/com/com_pointer.h: In instantiation of ‘T* dxvk::ref(T*) [with T = dxvk::DxgiFactory]’:
../../../dxvk-master/src/dxgi/dxgi_factory.cpp:37:28: required from here
../../../dxvk-master/src/dxgi/../util/com/com_pointer.h:17:15: error: ‘class dxvk::DxgiFactory’ has no member named ‘AddRef’
17 | object->AddRef();
| ~~~~~~~~^~~~~~
[211/269] Compiling C++ object src/d3d11/d3d11.dll.p/.._d3d10_d3d10_texture.cpp.obj
ninja: build stopped: subcommand failed.

real 0m10,882s
user 1m9,005s
sys 0m6,248s

exit cleanup done
`

@Tk-Glitch
Copy link
Member

It looks like your mingw toolchain is outdated.

@sigzegv
Copy link

sigzegv commented Apr 25, 2021

A workaround is to but the dxvk source to release instead of git in the config, lie this, mingw will not be used to build dxvk.

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

No branches or pull requests

3 participants