You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have previously successfully used skia-safe in conjunction with ash and vk-mem-rs to build a Vulkan-based 3D application with an overlay rendered with Skia. This was with version 0.47.0 of skia-safe.
I have now started on another application with a similar setup, using the latest version of skia-safe - 0.62.0. Unfortunately with this version I encounter duplicate symbol errors for the symbols from Vulkan Memory Allocator (VMA). VMA is used internally in Skia, which is conflicting with my use via vk-mem-rs (Rust bindings for VMA). Since Skia does not expose VMA's API publicly, is there any way to hide these symbols so that they do not conflict with those linked by vk-mem-rs?
I am not yet sure what was different in the earlier version of skia-safe that allowed linking to succeed, since that version still depended on VMA. Note that I am using the same version of vk-mem-rs as before.
Note that all of the above is with MSVC x86_64 on Windows 10. I have not yet tested whether this works on other platforms.
The text was updated successfully, but these errors were encountered:
Indeed, I have just tried switching to version 0.47.0 from 0.62.0 on my current project, and that links successfully. I will try to find the version that introduces the problem.
I have previously successfully used skia-safe in conjunction with ash and vk-mem-rs to build a Vulkan-based 3D application with an overlay rendered with Skia. This was with version 0.47.0 of skia-safe.
I have now started on another application with a similar setup, using the latest version of skia-safe - 0.62.0. Unfortunately with this version I encounter duplicate symbol errors for the symbols from Vulkan Memory Allocator (VMA). VMA is used internally in Skia, which is conflicting with my use via vk-mem-rs (Rust bindings for VMA). Since Skia does not expose VMA's API publicly, is there any way to hide these symbols so that they do not conflict with those linked by vk-mem-rs?
I am not yet sure what was different in the earlier version of skia-safe that allowed linking to succeed, since that version still depended on VMA. Note that I am using the same version of vk-mem-rs as before.
Note that all of the above is with MSVC x86_64 on Windows 10. I have not yet tested whether this works on other platforms.
The text was updated successfully, but these errors were encountered: