Archive 17/01/2023.

Error on Raspberry Pi 2

toliaferrode

Hi, I’m relatively new to Urho3D and am just trying to master compiling it.

I started with compiling on PC, and it works as expected. When I try to compile on the Pi, it compiles, but when I try to run the samples I get “Could not initialize EGL.” I tried searching for my problem but nothing came up.

I might be putting the cart before the horse, but my game idea eventually requires the Raspberry Pi. Any help would be greatly appreciated, thanks.

weitjong

It’s a long shot. The minimum requirement is stated in our online documentation.

Have you changed the configuration of your Pi to allocate more memory for GPU?

toliaferrode

Thanks for the reply. I realized that I only had 64 MB for the GPU. I changed it to 128, 256, and even 512 and it still says the same thing.

It also says “DR12: xcb_connect failed.” twice and “DR13: xcb_connect failed.”

toliaferrode

I should note that I got the precompiled binary distribution to work months ago.

weitjong

Were you building the binaries from source this time round? Or they are pre-built version again? We have upgraded the sysroot for RPI CI build to Raspbian Jessie just recently. Is your RPI still running Wheezy?

toliaferrode

Hey again. I built it from source and am on Raspbian Jessie.

Decided to re-test the pre-built package again today and it works like a charm.