How is the Vulkan backend intended to be used? #811
Unanswered
tompsweeney
asked this question in
Q&A
Replies: 1 comment
-
|
Hello! Sorry for the late response here. I think the easiest approach here is simply to delete the included Vulkan Memory Allocator and modify the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using Vulkan for 3D rendering in my game. I've just started integrating RmlUi into the game, but I'm having some issues. Here are the details:
I've created a separate static library as part of my CMake build that includes:
- RmlUi_Platform_SDL.cpp
- RmlUi_Renderer_VK.cpp
- RmlUi_Backend_SDL_VK.cpp
Here's the relevant section of my top level CMakeLists.txt file:
When I attempt to link this static library into my game, I'm getting LNK2005 (already defined) errors for all of the Vulkan Memory Allocator functions. I'm using the official Vulkan Memory Allocator library and would like to keep doing so, but I don't see how I can use the RmlUi vulkan renderer backend since it includes its own version of the main vulkan header as well as Vulkan Memory Allocator.
How is the vulkan rendering backend supposed to integrate with a project that's already using Vulkan?
Beta Was this translation helpful? Give feedback.
All reactions