[Buildroot] [PATCH 03/10 v7] package/mesa3d-headers: new package

Yann E. MORIN yann.morin.1998 at free.fr
Wed Feb 11 18:02:01 UTC 2015


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.  |
'------------------------------^-------^------------------^--------------------'


More information about the buildroot mailing list