From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] package/cegui: select libglu when libgl is detected
Date: Wed, 29 Apr 2020 22:53:15 +0200 [thread overview]
Message-ID: <20200429225315.5d39a390@windsurf.home> (raw)
In-Reply-To: <20200428195844.48124-2-b.bilas@grinn-global.com>
Hello,
Adding Bernd for libglew/libglu questions.
On Tue, 28 Apr 2020 21:58:44 +0200
Bartosz Bilas <b.bilas@grinn-global.com> wrote:
> Fixes:
> include/GL/glew.h:1205:14: fatal error: GL/glu.h: No such file or directory
>
> Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
This should not be solved inside cegui: it's the glew.h header that
includes GL/glu.h, so from the look of it, glew should depend on glu.
However, it turns out that glew has a GLEW_NO_GLU flag:
#ifndef GLEW_NO_GLU
/* this is where we can safely include GLU */
# if defined(__APPLE__) && defined(__MACH__)
# include <OpenGL/glu.h>
# else
# include <GL/glu.h>
# endif
#endif
I'm not sure how we should use that GLEW_NO_GLU flag. Should it be the
responsibility of the package using glew to define it?
Could you do a bit of research on this?
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2020-04-29 20:53 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-28 19:58 [Buildroot] [PATCH 1/2] package/cegui: force libglew when libepoxy is also enabled Bartosz Bilas
2020-04-28 19:58 ` [Buildroot] [PATCH 2/2] package/cegui: select libglu when libgl is detected Bartosz Bilas
2020-04-29 20:53 ` Thomas Petazzoni [this message]
2020-04-30 19:54 ` Bartosz Bilas
2020-05-02 9:39 ` Thomas Petazzoni
2020-05-03 17:15 ` Bernd Kuhls
2020-05-03 17:16 ` Bernd Kuhls
2020-05-09 8:28 ` Bartosz Bilas
2020-05-17 20:18 ` Bartosz Bilas
2020-04-29 20:50 ` [Buildroot] [PATCH 1/2] package/cegui: force libglew when libepoxy is also enabled Thomas Petazzoni
2020-04-30 19:50 ` Bartosz Bilas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200429225315.5d39a390@windsurf.home \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox