OGLES on the Raspberry Pi

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
AGarlicMonkey
Posts: 2
Joined: Tue Nov 10, 2015 7:52 pm

OGLES on the Raspberry Pi

Post by AGarlicMonkey »

Hi,
I have been trying for the past couple of days to get the ogl-es version of irrlicht to compile on the raspberry pi 2. Thanks to previous forums posts I managed to get the engine to compile and to get the examples to compile as well. However, when I try to run the example on the pi the window opens and nothing gets drawn and I get a message in the terminal saying "Could not get EGL display". Can anybody give any insight into this? I can get the hello_triangle to compile fine in opt/vc/src so i don't think it is a problem with my pi specifically. Could it be that I missed out something I needed to do to the engine?

Any help would be greatly appreciated
Thanks
polylux
Posts: 267
Joined: Thu Aug 27, 2009 12:39 pm
Location: EU

Re: OGLES on the Raspberry Pi

Post by polylux »

Just guessing here but maybe you use an Xorg driver that's not capable of rendering egl (fbdev for example). What's your distro?
beer->setMotivationCallback(this);
AGarlicMonkey
Posts: 2
Joined: Tue Nov 10, 2015 7:52 pm

Re: OGLES on the Raspberry Pi

Post by AGarlicMonkey »

I'm using Raspbian. I know this can work on raspbian because people have got the OpenGL ES version to work on it in the past (even on the pi 1) but irrlicht has changed a lot since then and some of the fixes don't apply anymore
Post Reply