[Bug 52915] New: Build vkd3d-git is broken (configure: error: libvulkan and libMoltenVK not found.)
https://bugs.winehq.org/show_bug.cgi?id=52915 Bug ID: 52915 Summary: Build vkd3d-git is broken (configure: error: libvulkan and libMoltenVK not found.) Product: vkd3d Version: 1.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: vkd3d Assignee: wine-bugs(a)winehq.org Reporter: berillions(a)gmail.com Distribution: --- Created attachment 72297 --> https://bugs.winehq.org/attachment.cgi?id=72297 config.log Hi, I tried to build vkd3d-git (last commit eb2c3b0b) and it fails with this error message during configure : ###### checking for -lvulkan... not found checking for -lvulkan-1... not found checking for -lMoltenVK... not found configure: error: libvulkan and libMoltenVK not found. make: *** [Makefile:1121 : config.status] Erreur 1 ###### I attach the config log. Revert these commits fix this issue : - cab16fe9034ce6492ed7cc0a97a3ee69a4085f2a - 99a3adcc19f2a64fad630948851616f52c00d553 Maxime -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=52915 Sveinar Søpler <cybermax(a)dexter.no> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cybermax(a)dexter.no --- Comment #1 from Sveinar Søpler <cybermax(a)dexter.no> --- Just built vkd3d eb2c3b0b900419385cc00bb3daf60bbd986bc858 on Ubuntu 20.04 without errors... but i did not use host= and host-alias= statements for configure, and i use lunarg-vulkan-sdk(1.3.211) installed systemwide. configure seems to find what it needs when i just use it alone tho. checking for -lvulkan... libvulkan.so.1 Guess the new SONAME checks in the patches you mentioned does not find the libs when using a custom placement with VULKAN_LIBS= statement perhaps? Using ./configure VULKAN_LIBS=-L/usr/lib/x86_64-linux-gnu/ seemed to work fine for me... but then again, i have the SDK installed as a system package. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=52915 --- Comment #2 from Maxime <berillions(a)gmail.com> --- I followed the wiki : https://wiki.winehq.org/Building_a_MinGW_WoW64_Wine_with_a_custom_vkd3d_buil... i built vulkan-1.dll from wine 7.7 source and put the dll into "$HOME/Projets/tools/vulkan-1/lib64/" That's why in my command, i have VULKAN_LIBS="-L$HOME/Projets/tools/vulkan-1/lib64/". Wine is not installed in my system, i build wine myself and don't use wine from debian repo. About lunarg-sdk, i use the same version than you but i doubt the issue come from it. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=52915 --- Comment #3 from Maxime <berillions(a)gmail.com> --- If you don't use --host, vkd3d is not build as PE lib. You'll have libvkd3d*.so libraries and Wine does not use these lib now, only PE. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=52915 Zeb Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12(a)gmail.com Summary|Build vkd3d-git is broken |Building vkd3d with custom |(configure: error: |VULKAN_LIBS no longer works |libvulkan and libMoltenVK | |not found.) | Regression SHA1| |99a3adcc19f2a64fad630948851 | |616f52c00d553 Keywords| |regression --- Comment #4 from Zeb Figura <z.figura12(a)gmail.com> --- Support for VULKAN_LIBS was intentionally removed in <https://source.winehq.org/git/vkd3d.git/commitdiff/99a3adcc19f2a64fad630948851616f52c00d553>; the intention is to use LDFLAGS instead, or alternatively replace e.g. "VULKAN_LIBS=/path/to/wine64/dlls/vulkan-1/" with "SONAME_LIBVULKAN=vulkan-1.dll". We should probably restore VULKAN_LIBS, though to allow old build trees to continue working. I'll send a patch. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=52915 --- Comment #5 from Sveinar Søpler <cybermax(a)dexter.no> --- Using SONAME_LIBVULKAN= seemed to work... But i gather there is no easy way to do a out-of-tree compile of a usable d3d12.dll with this approach then, as this is something that happens when compiling wine.. and you just use this standalone compile as a replacement of the included /wine-git/libs/vkd3d with VKD3D_PE_CFLAGS/LIBS configure flags right? PS. I would rather prefer wine-git/libs/vkd3d be updated together with the bi-weekly release of wine source-tree tbh, since this little exercise was a bit iffy :) Ah well.. maybe for the gitlabs trial project someone could do it more easily... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=52915 --- Comment #6 from Zeb Figura <z.figura12(a)gmail.com> --- (In reply to Sveinar Søpler from comment #5)
Using SONAME_LIBVULKAN= seemed to work...
But i gather there is no easy way to do a out-of-tree compile of a usable d3d12.dll with this approach then, as this is something that happens when compiling wine.. and you just use this standalone compile as a replacement of the included /wine-git/libs/vkd3d with VKD3D_PE_CFLAGS/LIBS configure flags right?
cab16fe903 is supposed to make d3d12 compilation easier, actually, by removing the need for a pre-built vulkan-1.dll. I.e. one can just specify "SONAME_LIBVULKAN=vulkan-1.dll", compile MinGW vkd3d, and then point wine to that vkd3d tree using the given instructions. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=52915 Zeb Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |f34db84c62123f4c484a81cc0ab | |70aba8c55ef93 --- Comment #7 from Zeb Figura <z.figura12(a)gmail.com> --- Support for VULKAN_LIBS has been restored by <https://source.winehq.org/git/vkd3d.git/commitdiff/f34db84c62123f4c484a81cc0ab70aba8c55ef93>. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=52915 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #8 from Nikolay Sivov <bunglehead(a)gmail.com> --- Closing bugs fixed in 1.10. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla