Frogging-Family / dxvk-tools

dxvk and vkd3d-proton scripts to build/patch/install/update, Lutris and Proton-tkg compatible
61 stars 13 forks source link

Build Error on Arch Linux: src/dxvk_config/meson.build:7:47: ERROR: Unknown variable "dll_ext". #26

Closed SrLebre closed 5 months ago

SrLebre commented 5 months ago
./updxvk build

[Frog Image Here]

HEAD is now at 60cfafe0 [d3d9] Fix strange type in dynamic vertex upload
Removing src/dxvk_config/
Removing src/meson.build.orig
#################

YOUR TREE WAS CONSIDERED DIRTY AND HAS BEEN CLEARED

#################
mkdir: cannot create directory ‘dxvk-master’: File exists
Already up to date.
#################

NO REVERT PATCH DETECTED - MOVING ON

#################
#################

APPLYING PATCH ../DXVKBUILD/patches/dxvk_config.dxvkpatch

#################
patching file src/dxvk_config/dxvk_config.cpp
patching file src/dxvk_config/dxvk_config.def
patching file src/dxvk_config/dxvk_config.h
patching file src/dxvk_config/dxvk_config.spec
patching file src/dxvk_config/meson.build
patching file src/dxvk_config/version.rc
patching file src/meson.build
Hunk #1 succeeded at 3 with fuzz 1 (offset 1 line).
ccache was found and will be used
#################

BUILDING

#################
The Meson build system
Version: 1.4.0
Source dir: .../dxvk-tools/dxvk-master
Build dir: .../dxvk-tools/DXVKBUILD/dxvk-master/build.64
Build type: cross build
Project name: dxvk
Project version: v2.3.1
C compiler for the host machine: ccache x86_64-w64-mingw32-gcc (gcc 13.1.0 "x86_64-w64-mingw32-gcc (GCC) 13.1.0")
C linker for the host machine: x86_64-w64-mingw32-gcc ld.bfd 2.39
C++ compiler for the host machine: ccache x86_64-w64-mingw32-g++ (gcc 13.1.0 "x86_64-w64-mingw32-g++ (GCC) 13.1.0")
C++ linker for the host machine: x86_64-w64-mingw32-g++ ld.bfd 2.39
C compiler for the build machine: ccache cc (gcc 14.1.1 "cc (GCC) 14.1.1 20240522")
C linker for the build machine: cc ld.bfd 2.42.0
C++ compiler for the build machine: ccache c++ (gcc 14.1.1 "c++ (GCC) 14.1.1 20240522")
C++ linker for the build machine: c++ ld.bfd 2.42.0
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
Found pkg-config: NO
Found CMake: NO
Run-time dependency libdisplay-info found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency libdisplay-info

Executing subproject libdisplay-info 

libdisplay-info| Project name: libdisplay-info
libdisplay-info| Project version: 0.0.0
libdisplay-info| C compiler for the host machine: ccache x86_64-w64-mingw32-gcc (gcc 13.1.0 "x86_64-w64-mingw32-gcc (GCC) 13.1.0")
libdisplay-info| C linker for the host machine: x86_64-w64-mingw32-gcc ld.bfd 2.39
libdisplay-info| C compiler for the build machine: ccache cc (gcc 14.1.1 "cc (GCC) 14.1.1 20240522")
libdisplay-info| C linker for the build machine: cc ld.bfd 2.42.0
libdisplay-info| Program tool/gen-search-table.py found: YES (/home/main/Repos/dxvk-tools/dxvk-master/subprojects/libdisplay-info/tool/gen-search-table.py)
libdisplay-info| Library m found: YES
libdisplay-info| Compiler for C supports arguments -Wundef: YES
libdisplay-info| Compiler for C supports arguments -Wmissing-prototypes: YES
libdisplay-info| Compiler for C supports arguments -Walloca: YES
libdisplay-info| Compiler for C supports arguments -Wdeclaration-after-statement: YES
libdisplay-info| Compiler for C supports arguments -Wconversion: YES
libdisplay-info| Compiler for C supports arguments -Wno-unused-parameter: YES
libdisplay-info| Compiler for C supports arguments -Wno-missing-field-initializers: YES
libdisplay-info| Compiler for C supports arguments -Werror=implicit: YES
libdisplay-info| Build targets in project: 2
libdisplay-info| Subproject libdisplay-info finished.

Dependency libdisplay-info from subproject subprojects/libdisplay-info found: YES 0.0.0
Library d3d9 found: YES
Library d3d11 found: YES
Library dxgi found: YES
Library d3dcompiler_47 found: YES
Program x86_64-w64-mingw32-windres found: 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-missing-field-initializers: YES 
Compiler for C++ supports arguments -Wno-unused-parameter: YES 
Compiler for C++ supports arguments -Wno-cast-function-type: 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 -Wno-extern-c-compat: NO 
Compiler for C++ supports arguments -Wno-unused-const-variable: YES 
Compiler for C++ supports arguments -Wno-missing-braces: YES 
Compiler for C++ supports arguments -DNOMINMAX: YES 
Compiler for C++ supports arguments -D_WIN32_WINNT=0xa00: YES 
Compiler for C++ supports arguments -DDXVK_WSI_WIN32: 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-missing-field-initializers: YES (cached)
Compiler for C supports arguments -Wno-unused-parameter: YES (cached)
Compiler for C supports arguments -Wno-cast-function-type: 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 -Wno-extern-c-compat: NO 
Compiler for C supports arguments -Wno-unused-const-variable: YES 
Compiler for C supports arguments -Wno-missing-braces: YES 
Compiler for C supports arguments -DNOMINMAX: YES 
Compiler for C supports arguments -D_WIN32_WINNT=0xa00: YES 
Compiler for C supports arguments -DDXVK_WSI_WIN32: 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 
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 
Program glslang found: YES (/usr/bin/glslang)
Run-time dependency threads found: YES
Dependency threads found: YES unknown (cached)

src/dxvk_config/meson.build:7:47: ERROR: Unknown variable "dll_ext".

A full log can be found at .../dxvk-tools/DXVKBUILD/dxvk-master/build.64/meson-logs/meson-log.txt

real    0m1.542s
user    0m0.534s
sys     0m0.307s

exit cleanup done
Tk-Glitch commented 5 months ago

Fixed with https://github.com/Frogging-Family/dxvk-tools/commit/bec16df66b36b2c81389085de944a4e95b72ca45