Skip to content

Installing Natives

squid233 edited this page Jul 14, 2023 · 13 revisions

The library loader first find the shared library from jar with path moduleName/osFamilyName/${nativeArch}/basename.suffix and extract it to ${java.io.tmpdir}/overrungl${user.name}/basename-version.suffix.

If shared library not found in jar, find it in ${overrungl.natives}/basename.suffix.

OS family names:

  • windows
  • linux
  • os x

Modules

Module Name Basename Version
GLFW glfw glfw3 3.3.8
NFD nfd nfd overrungl version
STB stb stb overrungl version

The native libraries of these modules can be imported with io.github.over-run:overrungl-<moduleName>:[overrunglVersion]:natives-<classifier>.

Supported Architectures

The <classifier> is in the brackets.

Module/Arch Linux x64 (linux) Linux ARM32 (linux-arm32) Linux ARM64 (linux-arm64) macOS x64 (macos) macOS ARM64 (macos-arm64) Windows x64 (windows) Windows ARM64 (windows-arm64)
GLFW Y N Y Y Y Y N
NFD Y Y Y Y Y Y Y
STB Y Y Y Y Y Y Y
Clone this wiki locally