osgwidgetwindow: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/osgwidgetwindow - from package: openscenegraph

You may install the required package with command apt-get install {package}
Error in other languages:
osgwidgetwindow: bevel nie gevind nie
osgwidgetwindow: comandă negăsită
osgwidgetwindow: comando não encontrado
osgwidgetwindow: commande introuvable
osgwidgetwindow: command not found
osgwidgetwindow: käsku ei ole
osgwidgetwindow: không tìm thấy lệnh
osgwidgetwindow: komanda nerasta
osgwidgetwindow: Kommando nicht gefunden.
osgwidgetwindow: kommandot finns inte
osgwidgetwindow: komut yok
osgwidgetwindow: nie znaleziono polecenia
osgwidgetwindow: níor aimsíodh an t-ordú
osgwidgetwindow: no se encontró la orden
osgwidgetwindow: no s'ha trobat l'ordre
osgwidgetwindow: opdracht niet gevonden
osgwidgetwindow: parancs nem található
osgwidgetwindow: perintah tidak ditemukan
osgwidgetwindow: príkaz nenájdený
osgwidgetwindow: příkaz nenalezen
osgwidgetwindow: команда не найдена
osgwidgetwindow: командата не е открита
osgwidgetwindow: 命令找不到
osgwidgetwindow: コマンドが見つかりません