Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

master fails to compile on F31 #473

Closed
n1trux opened this issue Dec 11, 2019 · 5 comments
Closed

master fails to compile on F31 #473

n1trux opened this issue Dec 11, 2019 · 5 comments

Comments

@n1trux
Copy link

n1trux commented Dec 11, 2019

When I want to compile 2f7d3d0, I currently get

[144/261] Linking target src/dxgi/dxgi.dll.
FAILED: src/dxgi/dxgi.dll 
x86_64-w64-mingw32-g++  -o src/dxgi/dxgi.dll 'src/dxgi/cde8a16@@dxgi@sha/version.o' 'src/dxgi/cde8a16@@dxgi@sha/dxgi_adapter.cpp.obj' 'src/dxgi/cde8a16@@dxgi@sha/dxgi_enums.cpp.obj' 'src/dxgi/cde8a16@@dxgi@sha/dxgi_factory.cpp.obj' 'src/dxgi/cde8a16@@dxgi@sha/dxgi_format.cpp.obj' 'src/dxgi/cde8a16@@dxgi@sha/dxgi_main.cpp.obj' 'src/dxgi/cde8a16@@dxgi@sha/dxgi_monitor.cpp.obj' 'src/dxgi/cde8a16@@dxgi@sha/dxgi_options.cpp.obj' 'src/dxgi/cde8a16@@dxgi@sha/dxgi_output.cpp.obj' 'src/dxgi/cde8a16@@dxgi@sha/dxgi_swapchain.cpp.obj' ../../../d9vk-master/src/dxgi/dxgi.def -Wl,--allow-shlib-undefined -Wl,-O1 -shared ../../../d9vk-master/src/dxgi/dxgi.def -Wl,--start-group -Wl,--out-implib=src/dxgi/dxgi.dll.a -static -static-libgcc -static-libstdc++ src/dxvk/libdxvk.a src/util/libutil.a src/spirv/libspirv.a src/vulkan/libvkcommon.a -pthread /tmp/d9vk-master/lib32/vulkan-1.lib -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 -Wl,--end-group
/usr/lib/gcc/x86_64-w64-mingw32/9.2.1/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lpthread

and with --winelib:

[208/260] Linking target src/d3d10/d3d10core.dll.so.
FAILED: src/d3d10/d3d10core.dll.so 
wineg++  -o src/d3d10/d3d10core.dll.so 'src/d3d10/c74346f@@d3d10core.dll@sha/version10_core.res' 'src/d3d10/c74346f@@d3d10core.dll@sha/d3d10_main.cpp.o' 'src/d3d10/c74346f@@d3d10core.dll@sha/d3d10_reflection.cpp.o' 'src/d3d10/c74346f@@d3d10core.dll@sha/d3d10_state_block.cpp.o' ../../../d9vk-master/src/d3d10/d3d10core.spec -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,d3d10core.dll.so -m64 -mwindows src/dxbc/libdxbc.a src/dxvk/libdxvk.a src/util/libutil.a src/spirv/libspirv.a src/vulkan/libvkcommon.a -L/tmp/d9vk-master/lib32 -ld3dcompiler_43 -ldxgi -ld3d11 -pthread -ldl -lwinevulkan -Wl,--end-group '-Wl,-rpath,$ORIGIN/../dxbc:$ORIGIN/../dxvk:$ORIGIN/../util:$ORIGIN/../spirv:$ORIGIN/../vulkan' -Wl,-rpath-link,/tmp/d9vk/dxvk-master/build.64/src/dxbc -Wl,-rpath-link,/tmp/d9vk/dxvk-master/build.64/src/dxvk -Wl,-rpath-link,/tmp/d9vk/dxvk-master/build.64/src/util -Wl,-rpath-link,/tmp/d9vk/dxvk-master/build.64/src/spirv -Wl,-rpath-link,/tmp/d9vk/dxvk-master/build.64/src/vulkan
/usr/bin/ld: src/d3d10/c74346f@@d3d10core.dll@sha/d3d10_main.cpp.o: in function `D3D10ReflectShader':
d3d10_main.cpp:(.text+0xcf1): undefined reference to `D3DReflect'
/usr/bin/ld: src/d3d10/c74346f@@d3d10core.dll@sha/d3d10_main.cpp.o: in function `D3D10CompileShader':
d3d10_main.cpp:(.text+0xed9): undefined reference to `D3DCompile'
/usr/bin/ld: src/d3d10/c74346f@@d3d10core.dll@sha/d3d10_main.cpp.o: in function `D3D10CreateBlob':
d3d10_main.cpp:(.text+0xc41): undefined reference to `D3DCreateBlob'
/usr/bin/ld: src/d3d10/c74346f@@d3d10core.dll@sha/d3d10_main.cpp.o: in function `D3D10GetInputSignatureBlob':
d3d10_main.cpp:(.text+0xc51): undefined reference to `D3DGetInputSignatureBlob'
/usr/bin/ld: src/d3d10/c74346f@@d3d10core.dll@sha/d3d10_main.cpp.o: in function `D3D10GetOutputSignatureBlob':
d3d10_main.cpp:(.text+0xc61): undefined reference to `D3DGetOutputSignatureBlob'
/usr/bin/ld: src/d3d10/c74346f@@d3d10core.dll@sha/d3d10_main.cpp.o: in function `D3D10DisassembleShader':
d3d10_main.cpp:(.text+0x1424): undefined reference to `D3DDisassemble'
/usr/bin/ld: src/d3d10/c74346f@@d3d10core.dll@sha/d3d10_main.cpp.o: in function `D3D10PreprocessShader':
d3d10_main.cpp:(.text+0x1431): undefined reference to `D3DPreprocess'

when compiling on Fedora 31. How do I resolve this? The problem seems to originate from this change: doitsujin/dxvk@8c1063b

@n1trux n1trux changed the title Fails to compile on F31 master fails to compile on F31 Dec 11, 2019
@misyltoad
Copy link
Owner

Use a newer MinGW.

@n1trux
Copy link
Author

n1trux commented Dec 11, 2019

I used 6.0.0-2. Sad that you don't care.

@misyltoad
Copy link
Owner

You are correct.

@n1trux
Copy link
Author

n1trux commented Dec 11, 2019

Just for the lulz: Why is your README wrong when it says you should use 6.0?

@misyltoad
Copy link
Owner

Why is your README wrong

That's not my README, that's the DXVK one.
It's failing in upstream (https://github.com/doitsujin/dxvk) code anyway.

Make an issue there if you're so inclined but you're probably just going to get the README to bump up the version number.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants