WindowGLFW: Failed create window

Hi @sparth21,

  1. please do not install different CUDA versions then what was is installed by default using the SDK Manager.
    DW software and other dependencies can face issues while running if you do that as they are all dependent on CUDA.
    the CUDA version that comes with the SDK Manager installation is compatible with all the software needed for your development.

  2. the sample “sample_hello_world” is the only one that does not open a window for graphic display, and therefore that sample ran successfully.
    the error “WindowGLFW: Failed create window” describes a situation where a graphic window could not be opened.
    you are probably using ssh connection to run the sample, or you don’t have a display connected to your device.

  • in case you have a display connected to your device and you are using ssh to execute the sample remotely please make sure that the environment variable DISPLAY is set (usually set to 0 if only one display is connected - execute export DISPLAY=:0 before running the sample)
  • in case you don’t have a display connected to your device or you have one connected but do not want to run the sample with a graphical display, you can use the input parameter --offscreen=true for the running the sample and the sample will run with no graphical display.
2 Likes