[DXVK] Error while compiling DXVK

[DXVK] Error while compiling DXVK:

I’m on Manjaro. I’ve installed all the dependencies and I’m trying to build the legacy branch and I get this error:

[draco@draco-pc dxvk]$ meson --cross-file build-win64.txt --prefix ~/store2t/downloads/dxvk_builds/ build.w64 The Meson build system Version: 0.47.0 Source dir: /home/draco/store2t/downloads/dxvk Build dir: /home/draco/store2t/downloads/dxvk/build.w64 Build type: cross build Project name: dxvk Project version: undefined meson.build:1:0: ERROR: Compiler /usr/bin/x86_64-w64-mingw32-gcc can not compile programs. 

A full log can be found at /home/draco/store2t/downloads/dxvk/build.w64/meson-logs/meson-log.txt

The log is here because it’s long:

https://pastebin.com/36VbVNby 

The important part is that it can’t find some libraries:

Sanity check compile stderr: /usr/lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/bin/ld: cannot find crt2.o: No such file or directory /usr/lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/bin/ld: cannot find crtbegin.o: No such file or directory /usr/lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lmingw32 /usr/lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lgcc /usr/lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lgcc_eh /usr/lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lmoldname /usr/lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lmingwex /usr/lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lmsvcrt /usr/lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/bin/ld: cannot find -ladvapi32 /usr/lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lshell32 /usr/lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/bin/ld: cannot find -luser32 /usr/lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lkernel32 /usr/lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lmingw32 /usr/lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lgcc /usr/lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lgcc_eh /usr/lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lmoldname /usr/lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lmingwex /usr/lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lmsvcrt /usr/lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/bin/ld: cannot find crtend.o: No such file or directory collect2: error: ld returned 1 exit status 

But these files exists somewhere in /usr/:

[draco@draco-pc dxvk]$ find /usr/ -name crt* [...] /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/32/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/32/crtprec32.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/32/crtprec64.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/32/crtfastmath.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/32/crtbeginT.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/32/crtprec80.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/32/crtbeginS.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/32/crtbegin.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/32/crtend.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/crtprec32.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/crtprec64.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/crtfastmath.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/crtbeginT.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/crtprec80.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/crtbeginS.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/crtbegin.o /usr/lib/gcc/x86_64-pc-linux-gnu/8.1.1/crtend.o /usr/lib/wine/crtdll.dll.so /usr/lib/wine/fakedlls/crtdll.dll /usr/lib/crtn.o /usr/lib/crt1.o 

Any Ideas what to do?

submitted by /u/PM_mePicturesYouLike
[link] [comments] via GNU/Linux Gaming on Reddit