Subject: dxvk 1.5.5 build fails

From: Maxim Cournoyer <[email-masked]>
Date: Tue, 03 Nov 2020 00:00:15 -0500

Hello,

It compiles but fails to link:

FAILED: src/d3d11/d3d11.dll.so 
ld: src/d3d11/bca5607@@d3d11.dll@sha/d3d11_gdi.cpp.o: in function `dxvk::D3D11GDISurface::D3D11GDISurface(ID3D11Resource*, unsigned int)':
/tmp/guix-build-dxvk32-1.5.5.drv-0/build/../source/src/d3d11/d3d11_gdi.cpp:29: undefined reference to `CreateCompatibleDC'
ld: src/d3d11/d3d11.dll.so: hidden symbol `CreateCompatibleDC' isn't defined
ld: final link failed: bad value
collect2: error: ld returned 1 exit status
winegcc: /gnu/store/abbd4d3ippd9iv8s5z7zk0ii3k98m9bx-gcc-9.3.0/bin/g++ failed
[253/257] Compiling C++ object 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_hud.cpp.o'.
[254/257] Compiling C++ object 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_swvp_emu.cpp.o'.
[255/257] Compiling C++ object 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_fixed_function.cpp.o'.
[256/257] Compiling C++ object 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_device.cpp.o'.
ninja: build stopped: subcommand failed.
command "ninja" "-j" "24" failed with status 1
builder for `/gnu/store/d7caf3zpd39dh0vfzy2jbr49sx2k5v2q-dxvk32-1.5.5.drv' failed with exit code 1
@ build-failed /gnu/store/d7caf3zpd39dh0vfzy2jbr49sx2k5v2q-dxvk32-1.5.5.drv - 1 builder for `/gnu/store/d7caf3zpd39dh0vfzy2jbr49sx2k5v2q-dxvk32-1.5.5.drv' failed with exit code 1
derivation '/gnu/store/d7caf3zpd39dh0vfzy2jbr49sx2k5v2q-dxvk32-1.5.5.drv' offloaded to '127.0.0.1' failed: build of `/gnu/store/d7caf3zpd39dh0vfzy2jbr49sx2k5v2q-dxvk32-1.5.5.drv' failed
build of /gnu/store/d7caf3zpd39dh0vfzy2jbr49sx2k5v2q-dxvk32-1.5.5.drv
failed

Thanks,

Maxim