OpenGL ES and Linux

Chris Healy cphealy at gmail.com
Tue Dec 17 07:49:53 PST 2013


Aleksander,

Here's the first instance of an error related to the lack of Xlib:

[ 25%] Building CXX object
dispatch/CMakeFiles/glproc_egl.dir/glproc_egl.cpp.o
In file included from
/home/chealy/SSD/rdu/factory/build_armv7l-ims-linux-gnueabi/apitrace-4.0/apitrace-4.0/thirdparty/khronos/EGL/egl.h:36[
26%] ,
                 from
/home/chealy/SSD/rdu/factory/build_armv7l-ims-linux-gnueabi/apitrace-4.0/apitrace-4.0/dispatch/eglimports.hpp:44,
                 from
/home/chealy/SSD/rdu/factory/build_armv7l-ims-linux-gnueabi/apitrace-4.0/apitrace-4.0/dispatch/glimports.hpp:127,
                 from
/home/chealy/SSD/rdu/factory/build_armv7l-ims-linux-gnueabi/apitrace-4.0/apitrace-4.0/dispatch/glproc.hpp:5,
                 from
/home/chealy/SSD/rdu/factory/build_armv7l-ims-linux-gnueabi/apitrace-4.0/apitrace-4.0/dispatch/glproc_egl.cpp:27:
/home/chealy/SSD/rdu/factory/build_armv7l-ims-linux-gnueabi/apitrace-4.0/apitrace-4.0/thirdparty/khronos/EGL/eglplatform.h:105:22:
error: X11/Xlib.h: No such file or directory
/home/chealy/SSD/rdu/factory/build_armv7l-ims-linux-gnueabi/apitrace-4.0/apitrace-4.0/thirdparty/khronos/EGL/eglplatform.h:106:23:
error: X11/Xutil.h: No such file or directory

There are additional related errors after this.  I've put the full build
here:  http://pastebin.com/DigJNdF5




On Tue, Dec 17, 2013 at 1:42 AM, Alexander Monakov <amonakov at ispras.ru>wrote:

> On Mon, 16 Dec 2013, Chris Healy wrote:
>
> > I have a platform that runs Linux on an ARM with OpenGL ES 2.0 and
> without
> > X.  This platform configuration does not seem to be supported by apitrace
> > as the build fails looking for X deps.
>
> As far as I'm aware, it's not a hard failure.
>
> > I did a little digging and did not see any options to allow supporting an
> > "X"less configuration with Linux.  Is this an oversight or intentional
> > design decision?
>
> Building without Xlib should work automatically.  It works for me.
>
> > Is there any reason that this combination could not be supported?
>
> This combination should work; apitrace and egltrace.so should be built;
> this
> is how apitrace is built for Android (although there are some
> Android-specific
> bits in the build machinery, but they are not relevant to this issue).
>
> I don't know what went wrong in your case since you didn't show your build
> logs.
>
> Alexander
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/apitrace/attachments/20131217/0498f747/attachment.html>


More information about the apitrace mailing list