dotnet / dotnet/Silk.NET

Silk.NET.WebGPU can't load native library on linux-x64

Open
#2,465 1 comment 1 reaction 0 assignees View on GitHub
area-Core/Infrastructure/Codegen bug
Dominant language
C#
Stars
5.2k
Forks
477
Avg merge
3d 16h
Merged PRs (30d)
2

Description

```xml






```

```
Unhandled exception. System.IO.FileNotFoundException: Could not load from any of the possible library names! Please make sure that the library is installed and in the right place!
at Silk.NET.WebGPU.WebGPU.CreateDefaultContext(String[] n)
at Silk.NET.WebGPU.WebGPU.GetApi()
```

`libglfw.so.3` and `libwgpu_native.so` are in the output under `runtimes/linux-x64/native`

If I manually copy those libraries to the root it works:

```xml






```

Why is Silk trying to load the native library from the root executable path instead of the relative runtimes directory it sets up?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.