Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 03/10 v7] package/mesa3d-headers: new package
Date: Wed, 11 Feb 2015 19:02:01 +0100	[thread overview]
Message-ID: <20150211180201.GB4003@free.fr> (raw)
In-Reply-To: <20150211150602.7fbe2f38@nserafini-N550JK>

Nicolas, All,

On 2015-02-11 15:06 +0100, Nicolas Serafini spake thusly:
> I have done some build tests with the nvidia-tegra packages and opengl
> support.
> 
> I was able to build QT5 with opengl without problem but I get errors
> with QT4.
> 
> This is a known problem of QT4 with the inclusion of eglplatform.h
> inside which there is an inclusion of X11 headers.

I'm not sure I understand. Is that an known issue because of Buildroot,
or is that a known issue that also happens outside Buildroot?

I mean: is that problem caused by Buildroot?

> The result is that we have some conflicting #define. For me this can be
> resolved by adding several #undef at the end of eglplatform.h.
> 
> Here is the end of my eglplatform.h header
> 
>  typedef khronos_int32_t EGLint;
> 
>  #undef None
>  #undef KeyPress
>  #undef KeyRelease
>  #undef FocusIn
>  #undef FocusOut
>  #undef FontChange
>  #undef CursorShape
>  #undef Bool
>  #undef Status
>  #undef Unsorted
>  #undef GrayScale
>  #undef Expose
>  
>  #endif /* __eglplatform_h */

Well, I'm not too fond of patching those headers.

I do not completely grok all the inter-relations between X, egl and all
the other stuff, so I'd prefer we do not have such hack, especially if
the answer to my question aboce is that the issue is not caused by
Buildroot.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2015-02-11 18:02 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-10 20:01 [Buildroot] [PATCH 0/10 v7] NVidia GPU binary blobs for x86 and ARM (branch yem/gfx2) Yann E. MORIN
2015-02-10 20:01 ` [Buildroot] [PATCH 01/10 v7] package/python-lxml: new host package Yann E. MORIN
2015-02-10 20:01 ` [Buildroot] [PATCH 02/10 v7] package/python-lxml: add target variant Yann E. MORIN
2015-02-10 20:01 ` [Buildroot] [PATCH 03/10 v7] package/mesa3d-headers: new package Yann E. MORIN
2015-02-11 14:06   ` Nicolas Serafini
2015-02-11 18:02     ` Yann E. MORIN [this message]
2015-02-12 17:25       ` Nicolas Serafini
2015-02-20 12:39       ` Jérôme Pouiller
2015-02-14  9:09   ` Thomas Petazzoni
2015-02-14  9:12     ` Yann E. MORIN
2015-02-21 16:43   ` Thomas Petazzoni
2015-02-10 20:01 ` [Buildroot] [PATCH 04/10 v7] package/mesa3d-headers: also install dri header and .pc file Yann E. MORIN
2015-02-21 16:45   ` Thomas Petazzoni
2015-02-10 20:01 ` [Buildroot] [PATCH 05/10 v7] package/nvidia-driver: add NVidia's OpenGL binary blob Yann E. MORIN
2015-02-10 20:01 ` [Buildroot] [PATCH 06/10 v7] package/nvidia-driver: Add gl.pc Yann E. MORIN
2015-04-24 20:16   ` Bernd Kuhls
2015-04-24 20:53     ` Yann E. MORIN
2015-02-10 20:01 ` [Buildroot] [PATCH 07/10 v7] package/nvidia-driver: build the kernel module Yann E. MORIN
2015-02-21 22:30   ` Thomas Petazzoni
2015-02-10 20:01 ` [Buildroot] [PATCH 08/10 v7] package/nvidia-tegra23-binaries: new package Yann E. MORIN
2015-02-11 13:42   ` Nicolas Serafini
2015-02-11 17:52     ` Yann E. MORIN
2015-02-21 22:46   ` Thomas Petazzoni
2015-02-21 22:58     ` Yann E. MORIN
2015-02-23 11:41       ` Nicolas Serafini
2015-03-04 22:39         ` Laurent Colloud
2015-03-06 23:15           ` Yann E. MORIN
2015-03-07  8:03             ` Thomas Petazzoni
2015-03-07  9:53               ` Bernd Kuhls
2015-03-07 13:01               ` Yann E. MORIN
2015-03-07 13:19                 ` Thomas Petazzoni
2015-03-07 15:04                   ` Yann E. MORIN
2015-03-09 19:25                     ` Laurent Colloud
2015-03-09 21:27                       ` Yann E. MORIN
2015-03-10 10:07                         ` Nicolas Serafini
2015-03-07  8:05             ` Thomas Petazzoni
2015-03-07  8:06         ` Thomas Petazzoni
2015-02-10 20:01 ` [Buildroot] [PATCH 09/10 v7] package.nvidia-tegra23-binaries: add gstreamer plugins Yann E. MORIN
2015-02-10 20:01 ` [Buildroot] [PATCH 10/10 v7] package/nvidia-tegra23-codecs: new package Yann E. MORIN
2015-02-10 20:10 ` [Buildroot] [PATCH 0/10 v7] NVidia GPU binary blobs for x86 and ARM (branch yem/gfx2) Yann E. MORIN
2015-02-14  8:59 ` Thomas Petazzoni

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=20150211180201.GB4003@free.fr \
    --to=yann.morin.1998@free.fr \
    --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