Skip to content

Installing Natives

squid233 edited this page May 26, 2024 · 12 revisions

The library loader first find the shared library from path ${overrungl.natives}/basename.suffix.

If shared library not found in local, then find it in jar with path moduleName/osFamilyName-nativeArch/basename.suffix and extract it to ${java.io.tmpdir}/overrungl${user.name}/basename-version.suffix.

OS family names:

  • freebsd
  • linux
  • macos
  • windows

Modules

Module Name Basename
GLFW glfw glfw
NFD (Native File Dialog) nfd nfd
STB stb stb

The artifact id of these native libraries are io.github.over-run:overrungl-<moduleName>:[overrunglVersion]:natives-<classifier>.

Supported Architectures

Name <classifier>
FreeBSD x64 freebsd
Linux x64 linux
Linux arm32 linux-arm32
Linux arm64 linux-arm64
Linux ppc64le linux-ppc64le
Linux riscv64 linux-riscv64
macOS x64 macos
macOS arm64 macos-arm64
Windows x64 windows
Windows arm64 windows-arm64
Module Unsupported Arch
GLFW None
NFD None
STB None
Clone this wiki locally