openscenegraph

The OpenSceneGraph is an open source high performance 3D graphics toolkit.

Latest version: 3.6.5

Add to xmake.lua

add_requires("openscenegraph 3.6.5")

Learn how to add and link packages with Xmake →

Information

Recipe updated
2025-02-11T03:51:22.000Z

Platforms

  • linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
  • macosx: x86_64, arm64
  • windows: x86, x64, arm, arm64, arm64ec

Options

colladadom
Enable the colladadom plugin. · Type: boolean · Default: false
dcmtk
Enable the dcmtk plugin. · Type: boolean · Default: false
ffmpeg
Enable the ffmpeg plugin. · Type: boolean · Default: false
fontconfig
Enable the fontconfig plugin. · Type: boolean · Default: false
freetype
Enable the freetype plugin. · Type: boolean · Default: false
glib
Enable the glib plugin. · Type: boolean · Default: false
jasper
Enable the jasper plugin. · Type: boolean · Default: false
libsdl
Enable the libsdl2 plugin (deprecated, use libsdl2 config instead). · Type: boolean
libsdl2
Enable the libsdl2 plugin. · Type: boolean · Default: false
nvtt
Enable the nvtt plugin. · Type: boolean · Default: false
openexr
Enable the openexr plugin. · Type: boolean · Default: false
tools
Enable to build OSG Applications. · Type: boolean · Default: false

Versions

  • 3.6.5

Dependencies

Install with xrepo

Install the package independently of a project and inspect its available configuration.

install

xrepo install "openscenegraph 3.6.5"

show info

xrepo info "openscenegraph"

Link a library to your target

Declare the requirement, then attach the library to the target that uses it.

xmake.lua

add_requires("openscenegraph 3.6.5")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("openscenegraph")

Open a package environment

Open a shell with the environment exported by this package. Use the executable names documented by the package.

enter shell

xrepo env -b "openscenegraph 3.6.5" shell