[ 16%] Building CXX object CMakeFiles/native.dir/SDL/SDLGLGraphicsContext.cpp.o /home/pi/ppsspp_exp/SDL/SDLGLGraphicsContext.cpp:69:16: error: use of undeclared identifier 'e_eglDisplay'; did you mean 'g_eglDisplay'? eglTerminate(e_eglDisplay); ^~~~~~~~~~~~ g_eglDisplay /home/pi/ppsspp_exp/SDL/SDLGLGraphicsContext.cpp:20:33: note: 'g_eglDisplay' declared here static EGLDisplay g_eglDisplay = EGL_NO_DISPLAY; ^ /home/pi/ppsspp_exp/SDL/SDLGLGraphicsContext.cpp:70:3: error: use of undeclared identifier 'e_eglDisplay'; did you mean 'g_eglDisplay'? e_eglDisplay = EGL_NO_DISPLAY; ^~~~~~~~~~~~ g_eglDisplay /home/pi/ppsspp_exp/SDL/SDLGLGraphicsContext.cpp:20:33: note: 'g_eglDisplay' declared here static EGLDisplay g_eglDisplay = EGL_NO_DISPLAY; ^ /home/pi/ppsspp_exp/SDL/SDLGLGraphicsContext.cpp:90:27: error: use of undeclared identifier 'window' if (!SDL_GetWindowWMInfo(window, &sysInfo)) { ^ /home/pi/ppsspp_exp/SDL/SDLGLGraphicsContext.cpp:97:11: error: use of undeclared identifier 'info' switch (info.subsystem) { ^ /home/pi/ppsspp_exp/SDL/SDLGLGraphicsContext.cpp:99:16: error: assigning to 'Display *' (aka '_XDisplay *') from incompatible type 'EGLNativeDisplayType' (aka 'void *') ...g_Display = (EGLNativeDisplayType)sysInfo.info.x11.display; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pi/ppsspp_exp/SDL/SDLGLGraphicsContext.cpp:103:16: error: assigning to 'Display *' (aka '_XDisplay *') from incompatible type 'EGLNativeDisplayType' (aka 'void *') g_Display = (EGLNativeDisplayType)EGL_DEFAULT_DISPLAY; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pi/ppsspp_exp/SDL/SDLGLGraphicsContext.cpp:104:46: error: no member named 'dfb' in 'SDL_SysWMinfo::(anonymous union at /usr/include/SDL2/SDL_syswm.h:198:5)' g_Window = (NativeWindowType)sysInfo.info.dfb.surface; ~~~~~~~~~~~~ ^ /home/pi/ppsspp_exp/SDL/SDLGLGraphicsContext.cpp:108:51: error: no member named 'wl' in 'SDL_SysWMinfo::(anonymous union at /usr/include/SDL2/SDL_syswm.h:198:5)' ...g_Display = (EGLNativeDisplayType)sysInfo.info.wl.display; ~~~~~~~~~~~~ ^ /home/pi/ppsspp_exp/SDL/SDLGLGraphicsContext.cpp:109:46: error: no member named 'wl' in 'SDL_SysWMinfo::(anonymous union at /usr/include/SDL2/SDL_syswm.h:198:5)' g_Window = (NativeWindowType)sysInfo.info.wl.she... ~~~~~~~~~~~~ ^ /home/pi/ppsspp_exp/SDL/SDLGLGraphicsContext.cpp:114:47: error: no member named 'vivante' in 'SDL_SysWMinfo::(anonymous union at /usr/include/SDL2/SDL_syswm.h:198:5)' g_Display = (NativeWindowType)sysInfo.info.vivan... ~~~~~~~~~~~~ ^ /home/pi/ppsspp_exp/SDL/SDLGLGraphicsContext.cpp:115:46: error: no member named 'vivante' in 'SDL_SysWMinfo::(anonymous union at /usr/include/SDL2/SDL_syswm.h:198:5)' g_Window = (NativeWindowType)sysInfo.info.vivant... ~~~~~~~~~~~~ ^ 11 errors generated. make[2]: *** [CMakeFiles/native.dir/build.make:89: CMakeFiles/native.dir/SDL/SDL GLGraphicsContext.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:285: CMakeFiles/native.dir/all] Error 2 make: *** [Makefile:130: all] Error 2 pi@raspberrypi:~/ppsspp_exp $