Archive 17/01/2023.

ERROR: Could not create window, root cause: ”

OMID-313

Hi guys,

I just finished installing Urho3D on RPi 3.
Now after reboot, I receive the following errors:

[code]root@raspberrypi:/home/pi/Urho3D/bin# . Urho3DPlayer

bash: .: Urho3DPlayer: cannot execute binary file

root@raspberrypi:/home/pi/Urho3D/bin# . NinjaSnowWar.sh

[Tue Oct 11 15:51:09 2016] INFO: Opened log file /root/.local/share/urho3d/logs/NinjaSnowWar.as.log
[Tue Oct 11 15:51:09 2016] INFO: Created 3 worker threads
[Tue Oct 11 15:51:09 2016] INFO: Added resource path /home/pi/Urho3D/bin/Data/
[Tue Oct 11 15:51:09 2016] INFO: Added resource path /home/pi/Urho3D/bin/CoreData/
[Tue Oct 11 15:51:09 2016] INFO: Added resource path /home/pi/Urho3D/bin/Autoload/LargeData/
[Tue Oct 11 15:51:09 2016] ERROR: Could not create window, root cause: ‘’[/code]

I don’t know whether the problem is GPU / OpenGL or not. Because both glxgears and NeverPutt (it’s a game) are working fine in my RPi. So I’m pretty sure I’ve installed graphics correctly.

So, what is the problem !!?
How can I solve this !!?

OMID-313

I have enabled the experimental OpenGL driver or RPi through raspi-config.
Could this be the reason of this error !?

OMID-313

I reinstalled Raspbian Jessie OS.
Then reinstalled Urho3D (experimental OpenGL disabled, and GPU=768 MB.)

Now after cmake and make, when I run ./Urho3DPlayer , it gives the following:

[Thu Oct 13 10:56:17 2016] INFO: Opened log file /home/pi/.local/share/urho3d/logs/NinjaSnowWar.as.log [Thu Oct 13 10:56:17 2016] INFO: Created 3 worker threads [Thu Oct 13 10:56:17 2016] INFO: Added resource path /home/pi/Urho3D/bin/Data/ [Thu Oct 13 10:56:17 2016] INFO: Added resource path /home/pi/Urho3D/bin/CoreData/ [Thu Oct 13 10:56:17 2016] INFO: Added resource path /home/pi/Urho3D/bin/Autoload/LargeData/ [Thu Oct 13 10:56:17 2016] ERROR: Could not create window, root cause: 'Could not initialize OpenGL / GLES library'

Now what should I do !!?