Skip to content

Are there more comprehensive/detailed plans for shipping native libraries along with Silk.NET bindings? #436

@UltzLtd

Description

@UltzLtd

Issue by alexrp
Friday Dec 25, 2020 at 20:39 GMT
Originally opened as Ultz/NativePackages#3


Hi,

I've been looking at using Silk.NET for one of my projects. An important goal for that project is that it must be able to be shipped using dotnet publish -p:PublishSingleFile=true -r win-x64 (and win-x86, linux-x64, osx-x64) and not have too many external dependencies.

For some libraries that Silk.NET wraps, it's reasonable not to bother including them with the application since the platform will almost certainly have a reasonably up-to-date version of the library installed, as is the case for OpenGL, for example. However, for others (Assimp, GLFW, SDL, OpenAL, Vulkan, OpenXR), there's either not a system-wide library available anywhere or only on a subset of the supported platforms. For some of these (Assimp, GLFW, SDL), Silk.NET already has NuGet packages containing the native libraries, which is great. But it seems to me that the following are currently missing:

  • OpenAL (oal_soft)
  • Vulkan (mainly MoltenVK for macOS; Windows and Linux tend to have system-wide libraries available)
  • OpenXR (this ecosystem seems to be a bit confusing from my outsider perspective)

So, I have three questions:

  • Are there any plans to include the above libraries in NuGet packages to make publishing self-contained applications easier?
  • Are there such plans for new bindings being considered for SIlk.NET (e.g. FEMFX)?
  • Are there any plans to include libraries for other architectures? For example, linux-arm, linux-arm64, win-arm64 are all supported officially by .NET 5+.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions