openGL-RPi-tutorial icon indicating copy to clipboard operation
openGL-RPi-tutorial copied to clipboard

OpenGL libraries not found, copied fix from https://github.com/ajstar…

Open TimFenwick15 opened this issue 5 years ago • 2 comments

…ks/openvg/pull/60/files, project builds on Raspberry Pi B+, not tested on other platforms

TimFenwick15 avatar Dec 28 '20 12:12 TimFenwick15

hi Tim,

thanks for that, clearly I did not identify the operating system. possibly not Raspbian, maybe Ubuntu...

anyway please update me any issues, and how far you progress through the course.

cheers

peepo avatar Dec 29 '20 13:12 peepo

Hey, thanks for your response. I didn't think this might not have been intended for Raspbian, or give any detail on my PR what I was doing!

I find on whatever version of Raspbian I'm on on a Pi B+, GLESv2 and EGL aren't found but brcmGLESv2 and brcmEGL are - change taken from here: https://github.com/ajstarks/openvg/pull/60/files

I also found some of the examples didn't compile, and I had to change a header file as per this comment: https://github.com/tangrams/tangram-es/issues/235#issuecomment-127802789 - this clearly isn't an issue with this library, just good to know :)

All the examples I've tried so far work with these two changes. Happy for this PR to be closed/deleted, unless you think this information would be useful to anyone else.

Thanks

TimFenwick15 avatar Dec 29 '20 13:12 TimFenwick15