SPIRV-Cross.NET icon indicating copy to clipboard operation
SPIRV-Cross.NET copied to clipboard

Unable to load native library on linux

Open Itay2805 opened this issue 4 years ago • 3 comments

It seems that the method SPIRVCross.SPIRV.LoadNativeLibrary tries to look for spirv-cross-c-shared.so but the file is actually named libspirv-cross-c-shared.so. Normally this would be fine since it should add the prefix automatically, but I guess because you give it a full path it does not do that...

I think this might also affect mac because it has the same prefix...

Itay2805 avatar Dec 20 '21 17:12 Itay2805

Can confirm i am getting the same issue

Beyley avatar Mar 28 '22 00:03 Beyley

Hello, sorry for the long delay. He was pretty busy. I'll try to fix this, but for some reason it works for me. any PR is appreciated @Itay2805 @Beyley

FaberSanZ avatar Apr 16 '22 17:04 FaberSanZ

Hello, sorry for the long delay. He was pretty busy. I'll try to fix this, but for some reason it works for me. any PR is appreciated @Itay2805 @Beyley

i think this only happened for me when i compiled from source

Beyley avatar Apr 16 '22 20:04 Beyley