手機 - Motorola XT897 - Sailfish OS - 解決KHR/khrplatform.h: No such file or directory問題



問題如下:

In file included from /usr/include/SDL2/SDL_opengles2.h:35,
from main.c:7:
/usr/include/GLES2/gl2platform.h:20:10: fatal error: KHR/khrplatform.h: No such file or directory
#include <KHR/khrplatform.h>
^~~~~~~~~~~~~~~~~~~
compilation terminated.

解法如下:

$ sudo pkcon install libhybris-libEGL-devel