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

Cannot compile DXVK - src/dxvk_config/meson.build:7:0: ERROR: Unknown variable "dxvk_msvc". #14

Closed JooJooBee666 closed 2 years ago

JooJooBee666 commented 3 years ago

Trying to build DXVK on Ubuntu 21.04 using custom MINGW and GCC:

CUSTOM_MINGW_PATH="/home/user/source/mostlyportable-gcc/mingw-mostlyportable-10.2.1-releases-gcc.10.2.0.r580.g17010bddb23/"
CUSTOM_GCC_PATH="/home/user/source/mostlyportable-gcc/gcc-mostlyportable-10.2.1-releases-gcc.10.2.0.r579.g331be8c78ce/"

Here's the full build log:

BUILDING

#################
The Meson build system
Version: 0.56.2
Source dir: /media/oldlinux/home/user/source/PKGBUILDS/dxvk-tools/dxvk-master
Build dir: /media/oldlinux/home/user/source/PKGBUILDS/dxvk-tools/DXVKBUILD/dxvk-master/build.64
Build type: cross build
Project name: dxvk
Project version: v1.9.2
C compiler for the host machine: ccache x86_64-w64-mingw32-gcc (gcc 10.2.1 "x86_64-w64-mingw32-gcc (TkG-mostlyportable) 10.2.1 20201129")
C linker for the host machine: x86_64-w64-mingw32-gcc ld.bfd 2.35
C++ compiler for the host machine: ccache x86_64-w64-mingw32-g++ (gcc 10.2.1 "x86_64-w64-mingw32-g++ (TkG-mostlyportable) 10.2.1 20201129")
C++ linker for the host machine: x86_64-w64-mingw32-g++ ld.bfd 2.35
C compiler for the build machine: ccache cc (gcc 10.2.1 "cc (TkG-mostlyportable) 10.2.1 20201129")
C linker for the build machine: cc ld.bfd 2.35
C++ compiler for the build machine: ccache c++ (gcc 10.2.1 "c++ (TkG-mostlyportable) 10.2.1 20201129")
C++ linker for the build machine: c++ ld.bfd 2.35
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
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)
Run-time dependency threads found: YES
Dependency threads found: YES unknown (cached)

src/dxvk_config/meson.build:7:0: ERROR: Unknown variable "dxvk_msvc".

A full log can be found at /media/oldlinux/home/user/source/PKGBUILDS/dxvk-tools/DXVKBUILD/dxvk-master/build.64/meson-logs/meson-log.txt

real    0m6.544s
user    0m3.726s
sys     0m0.910s

exit cleanup done

tkg wine/proton and vkd3d build fine.

Tk-Glitch commented 2 years ago

The issue was supposedly upstream and wwas fixed since. Closing.