mono / VulkanSharp

Open source .NET binding for the Vulkan API
MIT License
536 stars 62 forks source link

OS X libvulkan.so, Vulkan config file overwriting. #89

Open Bambofy opened 4 years ago

Bambofy commented 4 years ago

When using VulkanSharp on OS X i keep getting the error as follows:

So i remapped the DLL in the 'Vulkan.dll.config' file and used version 1.2.0 and it resolved the error.

From

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <dllmap dll="vulkan-1" target="vulkan.so" />
</configuration>

to


<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <dllmap dll="vulkan-1" target="Users/x/Documents/Development/Libraries/vulkansdk-macos-1.2.135.0/macOS/lib/libvulkan.dylib" />
</configuration>

But now it looks like the .config file is being overwritten sometimes by the build system so i have to keep changing the path back.

Cheers!

gabereiser commented 4 years ago

you are probably changing it in your bin dir (output) instead of in the project itself. Change it in src/Vulkan/VulkanSharp.dll.config