#69340 closed update (fixed)
vulkan-loader: Update to 1.3.275.0 & install cmake files
Reported by: | DanielO (Daniel O'Connor) | Owned by: | judaew (Vadym-Valdis Yudaiev) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | haspatch | Cc: | |
Port: | vulkan-loader |
Description
This patch updates vulkan-loader to the latest version and installs the cmake files so other projects can find it. I needed this to build scopehal.
Attachments (1)
Change History (6)
Changed 9 months ago by DanielO (Daniel O'Connor)
Attachment: | vulkan-loader-update.diff added |
---|
comment:1 Changed 9 months ago by DanielO (Daniel O'Connor)
comment:2 Changed 9 months ago by ryandesign (Ryan Carsten Schmidt)
It needs to use the absolute path of the library when calling dlopen
.
comment:3 Changed 9 months ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to judaew |
---|---|
Status: | new → assigned |
comment:4 Changed 9 months ago by judaew (Vadym-Valdis Yudaiev)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:5 Changed 9 months ago by judaew (Vadym-Valdis Yudaiev)
Please let me know if after update, vulkan-loader
doesn't work properly.
Note: See
TracTickets for help on using
tickets.
One issue with this is that I needed to set
DYLD_LIBRARY_PATH=/opt/local/lib
otherwise the application exits with an exceptionlibc++abi: terminating due to uncaught exception of type std::runtime_error: Failed to load vulkan library!
.I am not sure what the "right way" to solve it is - vulkan-loader calls bare dlopen() at https://github.com/KhronosGroup/Vulkan-Hpp/blob/982afd292962405deb2ff2707cd8659a682293d1/snippets/DynamicLoader.hpp#L13