sentry-native

Sentry SDK for C, C++ and native applications.

Latest version: 0.17.1

Add to xmake.lua

add_requires("sentry-native 0.17.1")

Learn how to add and link packages with Xmake →

Information

License
MIT
Recipe updated
2026-10-02T23:21:38.000Z

Platforms

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

Options

backend
Set the backend of sentry to use · Type: string

Versions

  • 0.6.3
  • 0.6.4
  • 0.6.5
  • 0.6.6
  • 0.6.7
  • 0.7.0
  • 0.7.1
  • 0.7.2
  • 0.7.5
  • 0.7.6
  • 0.7.9
  • 0.7.10
  • 0.7.11
  • 0.7.12
  • 0.7.15
  • 0.7.16
  • 0.7.17
  • 0.7.20
  • 0.8.1
  • 0.8.3
  • 0.9.1
  • 0.10.1
  • 0.11.1
  • 0.11.2
  • 0.11.3
  • 0.12.0
  • 0.12.2
  • 0.12.8
  • 0.13.1
  • 0.13.2
  • 0.13.7
  • 0.14.0
  • 0.14.2
  • 0.15.0
  • 0.15.1
  • 0.15.2
  • 0.15.3
  • 0.16.1
  • 0.16.5
  • 0.16.6
  • 0.17.1

Dependencies

Install with xrepo

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

install

xrepo install "sentry-native 0.17.1"

show info

xrepo info "sentry-native"

Link a library to your target

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

xmake.lua

add_requires("sentry-native 0.17.1")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("sentry-native")

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 "sentry-native 0.17.1" shell