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

Vortice.VulkanMemoryAllocator not working for iOS? #59

Open
JesperLykke opened this issue Mar 3, 2025 · 2 comments
Open

Vortice.VulkanMemoryAllocator not working for iOS? #59

JesperLykke opened this issue Mar 3, 2025 · 2 comments

Comments

@JesperLykke
Copy link

I'm simply getting "Missing DLL exception: VMA". Do I have to do anything else but simply adding and using the Nuget. It works fine the Android part of the application.

@amerkoleci
Copy link
Owner

Hi,
As you can see ios native libraries are not present

https://github.com/amerkoleci/Vortice.Vulkan/blob/main/src/Vortice.VulkanMemoryAllocator/Vortice.VulkanMemoryAllocator.csproj#L24

You can submit PR there with ios support if you can add it.
https://github.com/amerkoleci/native_libs

Thanks,

Amer

@jurganson
Copy link

@amerkoleci I've just stumbled on this as well, trying to import my own static iOS vma libraries. I've posted a similar question in our previous discussion :)

#44 (comment)

@amerkoleci I've began switching to Vortice.VMA however I need to specify the LibName for the dll import.

ATM I am trying to switch to Vortice.VMA on iOS and I have a statically linked .a file, which I normally import using the extern P/Invoke methods, with a import signature of [DllImport("__Internal")]

However the VmaDllImporterResolver allows for overriding the entire import process - which I assume will only work for dynamic libraries?

I see that the code generator has some functionality for adding [DllImport ... so I assume it will generate those stubs - but is there something I am missing for using them?

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

3 participants