neuronalmotion / qtrpi

An easy-to-use environment to cross-compile Qt applications for Raspberry Pi from your desktop.
MIT License
104 stars 40 forks source link

The OpenGL ES 2.0 functionality test failed! #85

Closed cpfaivre closed 6 years ago

cpfaivre commented 6 years ago

When using init-qtrpi-full.sh , the building of qmake fails with: The OpenGL ES 2.0 functionality test failed!

cpfaivre commented 6 years ago

I found the problem. Fix:

/opt/qtrpi/raspbian/sysroot-full/opt/vc/lib

sudo ln -s libbrcmEGL.so libEGL.so sudo ln -s libbrcmGLESv2.so libGLESv2.so sudo ln -s libbrcmOpenVG.so libOpenVG.so sudo ln -s libbrcmWFC.so libWFC.so

I also did this in: /opt/qtrpi/raspbian/sysroot-minimal. I not sure if that was necessary

GuillaumeLazar commented 6 years ago

It seems you are using a Raspbian Stretch not a Raspbian Jessie.

cpfaivre commented 6 years ago

I change the scripts to download the last version of Jessie and had this problem. I realized that it also worked on Stretch. It seems to work well on Stretch with no problems so far.

Thanks