https://bugs.winehq.org/show_bug.cgi?id=46835
Bug ID: 46835 Summary: Wine fails to compile with current git (73355cab96de112f5125907424b37289afc6ebe7 Product: Wine Version: 4.3 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: jeremielapuree@yahoo.fr Distribution: Ubuntu
With current git in ubuntu 18.10, wine fails to compile the d3d12 dll with the following error message
gcc -c -o d3d12_main.o d3d12_main.c -I. -I../../include -I/usr/include/vkd3d -D__WINESRC__ -D_REENTRANT \ -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \ -Wignored-qualifiers -Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits \ -Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 \ -gstrict-dwarf -fno-omit-frame-pointer -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 d3d12_main.c: In function ‘D3D12CreateDevice’: d3d12_main.c:280:52: error: storage size of ‘optional_extensions_info’ isn’t known struct vkd3d_optional_instance_extensions_info optional_extensions_info; ^~~~~~~~~~~~~~~~~~~~~~~~ d3d12_main.c:321:37: error: ‘VKD3D_STRUCTURE_TYPE_OPTIONAL_INSTANCE_EXTENSIONS_INFO’ undeclared (first use in this function); did you mean ‘VKD3D_STRUCTURE_TYPE_INSTANCE_CREATE_INFO’? optional_extensions_info.type = VKD3D_STRUCTURE_TYPE_OPTIONAL_INSTANCE_EXTENSIONS_INFO;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VKD3D_STRUCTURE_TYPE_INSTANCE_CREATE_INFO d3d12_main.c:321:37: note: each undeclared identifier is reported only once for each function it appears in d3d12_main.c:280:52: warning: unused variable ‘optional_extensions_info’ [-Wunused-variable] struct vkd3d_optional_instance_extensions_info optional_extensions_info; ^~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:170: d3d12_main.o] Error 1
https://bugs.winehq.org/show_bug.cgi?id=46835
--- Comment #1 from Józef Kucia joseph.kucia@gmail.com --- Created attachment 63874 --> https://bugs.winehq.org/attachment.cgi?id=63874 Patch
https://bugs.winehq.org/show_bug.cgi?id=46835
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=46835
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |joseph.kucia@gmail.com Summary|Wine fails to compile with |Wine fails to compile with |current git |vkd3d 1.0 |(73355cab96de112f5125907424 | |b37289afc6ebe7 |
https://bugs.winehq.org/show_bug.cgi?id=46835
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #2 from joaopa jeremielapuree@yahoo.fr --- Fixed in current git (sha fa26231748...) But obviously, there is no support for D3D12 in ubuntu 18.10 because libvkd3d is 1.0.4, that is too old.
https://bugs.winehq.org/show_bug.cgi?id=46835
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |72cf4a99c6a0215d6bb18d27477 | |9aa99b2c67bc5
https://bugs.winehq.org/show_bug.cgi?id=46835
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.4.