I'm trying to build Cairo with OpenVG support for RaspberryPi. I wanted to be able to use Cairo to show some graphics with only a terminal session and no X. The first thing I tried was building with only --enable-vg, but I was getting a link error with libEGL failing to find some stuff in libGLESv2. Adding --enable-glesv2 fixes it. But seems like if this is required by --enable-vg then maybe this should be handled automatically? Or maybe with more preprocessing it would be possible to use EGL for OpenVG without pulling in the GLESv2 stuff?
Could you show us the error you are getting? The missing symbols from libEGL sound more like a bug in libEGL (if it needs it, it should link against it).
True. My understanding from forum posts is that this only started with recent versions of the RPi videocore/GL libs. Someone also said it had to do with pthread includes, but that didn't make much sense to me. Will take me a bit of time to recreate errors locally but I'm 99% sure they are the same as given here: http://www.raspberrypi.org/phpBB3/viewtopic.php?t=7090&p=189926
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/cairo/cairo/issues/74.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.