nvapi

NVAPI is NVIDIA's core software development kit that allows direct access to NVIDIA GPUs and drivers on supported platforms.

Latest version: 2025.12.18

Add to xmake.lua

add_requires("nvapi 2025.12.18")

Learn how to add and link packages with Xmake →

Information

Recipe updated
2026-02-21T11:59:46.000Z

Platforms

  • windows: x86, x64

Options

shared
Build shared library. · Type: boolean · Default: false

Versions

  • 2025.12.18

Dependencies

No dependencies declared.

Install with xrepo

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

install

xrepo install "nvapi 2025.12.18"

show info

xrepo info "nvapi"

Link a library to your target

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

xmake.lua

add_requires("nvapi 2025.12.18")

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

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 "nvapi 2025.12.18" shell