Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

libEGL requires libGLESv2? But doesn't link? #110

Open
chinasaur opened this Issue Oct 25, 2012 · 7 comments

Comments

Projects
None yet
4 participants

See here:
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=67&t=20005&p=194090

It's not such a big deal, but seems a bit broken.

Ruffio commented Jun 24, 2015

@chinasaur is this still an issue?

Yes, still an issue, keeps PyOpenGL from loading the library (there's other issues loading it on the rpi, but that's definitely one of them).

jgueytat commented Feb 2, 2016

I come from the following page: https://www.raspberrypi.org/forums/viewtopic.php?t=20005

Tool: Yocto
Layer: meta-qt
Recipe: qtbase
Option: gles2

The compilation fails with the same error. Meaning that addind the library -lGLESv2 makes the compilation works again.

I don't know what is expected...
I would say that qt should add the library while enabling the option gles2. I'll keep investigate.

Best Regards,

Ruffio commented Mar 24, 2016

@jgueytat did your investifation reveal anything?

It is just that you can't link -lEGL without -lGLESv2. It's working together. Nothing to worry about.
My issue was related to the way I was compiling through Yocto, meta-qt5,...

I guess this is the same problem with Python.

So every piece of code that want to work with EGL should link with GLESv2.

I guess there is nothing to worry about on this repository.

Cheers,

Ruffio commented Jul 30, 2016

@chinasaur if there is nothing to fix, please close this issue.

Did you take a look at the original thread posted above? Either this is a bloated dep that should be factored out, or it's really needed in which case it should be linked by EGL or added to the EGL build opts so that it doesn't cause issues. I'm not working with this lib at the moment, but it sounds like several other people have run against this.

Coacher added a commit to Coacher/mpv that referenced this issue Jan 26, 2017

Coacher added a commit to Coacher/mpv that referenced this issue Jan 26, 2017

Coacher added a commit to Coacher/mpv that referenced this issue Jan 27, 2017

Coacher added a commit to Coacher/mpv that referenced this issue Sep 17, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment