NVIDIA Holoscan SDK v2.4.0
Holoscan v2.4.0

Function holoscan::viz::Init(GLFWwindow *, InitFlags)

void holoscan::viz::Init(GLFWwindow *window, InitFlags flags = InitFlags::NONE)

Initialize Holoviz using an existing GLFW window.

Note that this functionality is not supported when using the Wayland display server protocol and statically linking GLFW. Reason: GLFW maintains a global variable with state when using Wayland. When statically linking the GLFW library binaries (which is the default for the Holoviz library) there are different global for the app binary, which creates the GLFW windon and the Holobiz binary, which is trying to use it. This results in a segfault.

Parameters
  • window – GLFW window

  • flags – init flags

Previous Function holoscan::viz::ImageYuvRange
Next Function holoscan::viz::Init(uint32_t, uint32_t, const char *, InitFlags, const char *)
© Copyright 2022-2024, NVIDIA. Last updated on Oct 1, 2024.