diff options
author | Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> | 2018-03-14 16:20:36 +0700 |
---|---|---|
committer | Khang Nguyen <khang.nguyen.xv@rvc.renesas.com> | 2018-03-22 13:36:54 +0700 |
commit | 62cf2081e6e274d80bfc867c8ee2f48e1751c7df (patch) | |
tree | 17a6f52ecde6a49c98f1a1eff866f48dd3c204c3 /meta-rcar-gen3/docs/sample/conf/h3ulcb/poky-gcc | |
parent | 8b9882947cf6e9508eacdf543bd88a07d88f6598 (diff) |
rcar-gen3: glmark2: Fix glmark2 build failure
glmark2 fails to build in YP v2.4 environment with the following error:
| Checking for 'libpng12' : not found
| Checking for 'libpng15' : not found
| Checking for 'gbm' : not found
This commit modifies recipe to fix this issue.
It also applies a patch to avoid the following error:
| ../src/gl-state-egl.cpp: In member function 'bool GLStateEGL::gotValidDisplay()':
| ../src/gl-state-egl.cpp:420:41: error: 'EGL_PLATFORM_GBM_KHR' was not declared in this scope
| #define GLMARK2_NATIVE_EGL_DISPLAY_ENUM EGL_PLATFORM_GBM_KHR
| ^
| ../src/gl-state-egl.cpp:444:17: note: in expansion of macro 'GLMARK2_NATIVE_EGL_DISPLAY_ENUM'
| GLMARK2_NATIVE_EGL_DISPLAY_ENUM, native_display_, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| ../src/gl-state-egl.cpp:420:41: note: suggested alternative: 'EGL_PLATFORM_GBM_MESA'
| #define GLMARK2_NATIVE_EGL_DISPLAY_ENUM EGL_PLATFORM_GBM_KHR
| ^
| ../src/gl-state-egl.cpp:444:17: note: in expansion of macro 'GLMARK2_NATIVE_EGL_DISPLAY_ENUM'
| GLMARK2_NATIVE_EGL_DISPLAY_ENUM, native_display_, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Khang Nguyen <khang.nguyen.xv@rvc.renesas.com>
Signed-off-by: Takamitsu Honda <takamitsu.honda.pv@renesas.com>
Diffstat (limited to 'meta-rcar-gen3/docs/sample/conf/h3ulcb/poky-gcc')
0 files changed, 0 insertions, 0 deletions