Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
>=app-emulation/dxvk-1.15 D3D9 compile fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Marcih
Apprentice
Apprentice


Joined: 19 Feb 2018
Posts: 183

PostPosted: Thu Mar 19, 2020 8:19 pm    Post subject: >=app-emulation/dxvk-1.15 D3D9 compile fails Reply with quote

Title says it all, I'm using the dxvk ebuild from tastytea's repo, fails when compiling d3d9.dll.so:
Code:
[256/257] wineg++ -Isrc/d3d9/ecc23b3@@d3d9.dll@sha -Isrc/d3d9 -I../dxvk-1.5.5/src/d3d9 -I../dxvk-1.5.5/./include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=c++17 -DNOMINMAX --no-gnu-unique -m32 -msse -msse2 -fvisibility=hidden -fvisibility-inlines-hidden -D__WIDL_objidl_generated_name_0000000C= -fPIC -MD -MQ 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_hud.cpp.o' -MF 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_hud.cpp.o.d' -o 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_hud.cpp.o' -c ../dxvk-1.5.5/src/d3d9/d3d9_hud.cpp
[257/257] wineg++  -o src/d3d9/d3d9.dll.so 'src/d3d9/ecc23b3@@d3d9.dll@sha/version.res' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_main.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_interface.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_adapter.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_monitor.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_device.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_state.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_cursor.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_swapchain.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_format.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_common_texture.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_texture.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_surface.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_volume.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_common_buffer.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_buffer.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_shader.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_vertex_declaration.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_query.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_multithread.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_options.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_stateblock.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_sampler.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_util.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_initializer.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_fixed_function.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_names.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_swvp_emu.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_format_helpers.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_hud.cpp.o' ../dxvk-1.5.5/src/d3d9/d3d9.spec -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,d3d9.dll.so -m32 -mwindows src/dxso/libdxso.a src/dxvk/libdxvk.a src/util/libutil.a src/spirv/libspirv.a src/vulkan/libvkcommon.a -pthread -ldl -lwinevulkan -Wl,--end-group '-Wl,-rpath,$ORIGIN/../dxso:$ORIGIN/../dxvk:$ORIGIN/../util:$ORIGIN/../spirv:$ORIGIN/../vulkan' -Wl,-rpath-link,/tmp/portage/app-emulation/dxvk-1.5.5/work/dxvk-1.5.5-abi_x86_32.x86/src/dxso -Wl,-rpath-link,/tmp/portage/app-emulation/dxvk-1.5.5/work/dxvk-1.5.5-abi_x86_32.x86/src/dxvk -Wl,-rpath-link,/tmp/portage/app-emulation/dxvk-1.5.5/work/dxvk-1.5.5-abi_x86_32.x86/src/util -Wl,-rpath-link,/tmp/portage/app-emulation/dxvk-1.5.5/work/dxvk-1.5.5-abi_x86_32.x86/src/spirv -Wl,-rpath-link,/tmp/portage/app-emulation/dxvk-1.5.5/work/dxvk-1.5.5-abi_x86_32.x86/src/vulkan
FAILED: src/d3d9/d3d9.dll.so
wineg++  -o src/d3d9/d3d9.dll.so 'src/d3d9/ecc23b3@@d3d9.dll@sha/version.res' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_main.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_interface.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_adapter.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_monitor.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_device.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_state.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_cursor.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_swapchain.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_format.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_common_texture.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_texture.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_surface.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_volume.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_common_buffer.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_buffer.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_shader.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_vertex_declaration.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_query.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_multithread.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_options.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_stateblock.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_sampler.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_util.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_initializer.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_fixed_function.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_names.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_swvp_emu.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_format_helpers.cpp.o' 'src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_hud.cpp.o' ../dxvk-1.5.5/src/d3d9/d3d9.spec -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,d3d9.dll.so -m32 -mwindows src/dxso/libdxso.a src/dxvk/libdxvk.a src/util/libutil.a src/spirv/libspirv.a src/vulkan/libvkcommon.a -pthread -ldl -lwinevulkan -Wl,--end-group '-Wl,-rpath,$ORIGIN/../dxso:$ORIGIN/../dxvk:$ORIGIN/../util:$ORIGIN/../spirv:$ORIGIN/../vulkan' -Wl,-rpath-link,/tmp/portage/app-emulation/dxvk-1.5.5/work/dxvk-1.5.5-abi_x86_32.x86/src/dxso -Wl,-rpath-link,/tmp/portage/app-emulation/dxvk-1.5.5/work/dxvk-1.5.5-abi_x86_32.x86/src/dxvk -Wl,-rpath-link,/tmp/portage/app-emulation/dxvk-1.5.5/work/dxvk-1.5.5-abi_x86_32.x86/src/util -Wl,-rpath-link,/tmp/portage/app-emulation/dxvk-1.5.5/work/dxvk-1.5.5-abi_x86_32.x86/src/spirv -Wl,-rpath-link,/tmp/portage/app-emulation/dxvk-1.5.5/work/dxvk-1.5.5-abi_x86_32.x86/src/vulkan
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_interface.cpp.o: in function `IDirect3D9Ex::IDirect3D9Ex()':
d3d9_interface.cpp:(.text._ZN12IDirect3D9ExC2Ev[_ZN12IDirect3D9ExC5Ev]+0x23): undefined reference to `vtable for IDirect3D9Ex'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_interface.cpp.o:(.data.rel.ro._ZTVN4dxvk14ComObjectClampI12IDirect3D9ExEE[_ZTVN4dxvk14ComObjectClampI12IDirect3D9ExEE]+0x54): undefined reference to `IDirect3D9Ex::GetAdapterDisplayModeEx(unsigned int, D3DDISPLAYMODEEX*, D3DDISPLAYROTATION*)'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_interface.cpp.o:(.data.rel.ro._ZTVN4dxvk9ComObjectI12IDirect3D9ExEE[_ZTVN4dxvk9ComObjectI12IDirect3D9ExEE]+0x54): undefined reference to `IDirect3D9Ex::GetAdapterDisplayModeEx(unsigned int, D3DDISPLAYMODEEX*, D3DDISPLAYROTATION*)'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/d3d9/ecc23b3@@d3d9.dll@sha/d3d9_interface.cpp.o:(.data.rel.ro._ZTIN4dxvk9ComObjectI12IDirect3D9ExEE[_ZTIN4dxvk9ComObjectI12IDirect3D9ExEE]+0x8): undefined reference to `typeinfo for IDirect3D9Ex'
collect2: error: ld returned 1 exit status

DKVK 1.14 builds fine, 1.15 is when D9VK got merged into DXVK, which probably why I'm getting this error now.

I can post the full log and more info if needed. Any ideas?
_________________
Bones McCracker wrote:
It wouldn't be so bad, if it didn't suck.


Last edited by Marcih on Sat Mar 21, 2020 1:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 1986
Location: Here and Away Again

PostPosted: Thu Mar 19, 2020 9:29 pm    Post subject: Reply with quote

Moved from Gamers & Players to Unsupported Software as this is about a package from an overlay..
_________________
Kind regards,
Chiitoo.

You might remember me from Gentoo projects such as Forums, LXQt, Qt, and Wine.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum