<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 22.06.2020 22:01, Thomas Petazzoni
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:20200622220133.0e142645@windsurf.home">
      <pre class="moz-quote-pre" wrap="">On Mon, 22 Jun 2020 21:37:15 +0200
Bartosz Bilas <a class="moz-txt-link-rfc2396E" href="mailto:b.bilas@grinn-global.com"><b.bilas@grinn-global.com></a> wrote:

</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">No, we wouldn't because libglu is selected only when we have 
BR2_PACKAGE_HAS_LIBGL option set.
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
libepoxy is a library for handling the load of OpenGL library, and has:

        depends on BR2_PACKAGE_HAS_LIBEGL || BR2_PACKAGE_HAS_LIBGL

So basically, when you have HAS_LIBGL=y, you can have either libepoxy
*OR* libglew/libglu used by Irrlicht.
</pre>
    </blockquote>
    Oh right, somehow I hadn't seen this line before...<br>
    <blockquote type="cite"
      cite="mid:20200622220133.0e142645@windsurf.home">
      <pre class="moz-quote-pre" wrap="">
</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">Libepoxy doesn't provide it so even if 
we use glew instead of libepoxy we have to select libglu because cegui 
directly includes GL/glu.h here -> 
<a class="moz-txt-link-freetext" href="https://github.com/cegui/cegui/blob/v0-8-7/cegui/include/CEGUI/RendererModules/OpenGL/GL.h#L45">https://github.com/cegui/cegui/blob/v0-8-7/cegui/include/CEGUI/RendererModules/OpenGL/GL.h#L45</a>
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
That is exactly the code I have pasted below, please see my comments inline.

</pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <pre class="moz-quote-pre" wrap="">This is confirmed by ./cegui/include/CEGUI/RendererModules/OpenGL/GL.h,
which contains:

#if defined CEGUI_USE_EPOXY
</pre>
        </blockquote>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
So if the OpenGL loader is libepoxy, we are here...

</pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <pre class="moz-quote-pre" wrap="">
#include <epoxy/gl.h>

#elif defined CEGUI_USE_GLEW
</pre>
        </blockquote>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
*OR* if the OpenGL loader is glew, we are here, and we indeed include
GLU unconditionally.

So I stand to my position: according to the code, if you're using
libepoxy as the OpenGL loader, you don't need Glew, and you don't need
GLU.</pre>
    </blockquote>
    I agree with you now, so basically we have to select glu only when
    glew is used and that should solve the <span
      class="tlid-translation translation" lang="en"><span title=""
        class="">problem discussed...</span></span>
    <blockquote type="cite"
      cite="mid:20200622220133.0e142645@windsurf.home">
      <pre class="moz-quote-pre" wrap="">

Thomas
</pre>
    </blockquote>
    Best<br>
    Bartek<br>
  </body>
</html>