I can't tell what just happened:
[email protected]:~/ps4sdk$ export PS4SDK=~/ps4sdk
[email protected]:~/ps4sdk$ make
make -C base all
make[1]: Entering directory '/home/godreborn/ps4sdk/base'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/godreborn/ps4sdk/base'
make -C common all
make[1]: Entering directory '/home/godreborn/ps4sdk/common'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/godreborn/ps4sdk/common'
make -C extension all
make[1]: Entering directory '/home/godreborn/ps4sdk/extension'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/godreborn/ps4sdk/extension'
make -C core all
make[1]: Entering directory '/home/godreborn/ps4sdk/core'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/godreborn/ps4sdk/core'
[email protected]:~/ps4sdk$ cd ..
[email protected]:~$ cd RetroArch
[email protected]:~/RetroArch$ make -f Makefile.orbis
clang -c -o version_git.o version_git.c -m64 -DORBIS -std=c11 -mcmodel=large -ffreestanding -nostdlib -nostdinc -fno-builtin -fno-stack-protector -O3 -Wall -pedantic -Wno-zero-length-array -Wno-format-pedantic -D__PS4__ -I/home/godreborn/ps4sdk/include -I /home/godreborn/ps4sdk/include/sce -target x86_64-scei-ps4-elf -fPIE -DRARCH_INTERNAL -DRARCH_CONSOLE -DHAVE_FILTERS_BUILTIN -DHAVE_LIBRETRODB -DHAVE_GIT_VERSION -DGIT_VERSION=378ab8b90a -DHAVE_PATCH -DHAVE_REWIND -DHAVE_CHEATS -DHAVE_SCREENSHOTS -DHAVE_VIDEO_FILTER -DHAVE_DSP_FILTER -DHAVE_CONFIGFILE -DHAVE_CC_RESAMPLER -DHAVE_MENU -DHAVE_GFX_WIDGETS -DHAVE_XMB -DHAVE_OZONE -DHAVE_OVERLAY -DHAVE_THREADS -DHAVE_OPENGL -DHAVE_OPENGLES -DHAVE_OPENGLES2 -DHAVE_EGL -DHAVE_GLSL -DHAVE_7ZIP -D_7ZIP_ST -DHAVE_ZLIB -DHAVE_RTGA -DHAVE_RPNG -DHAVE_RJPEG -DHAVE_RBMP -DHAVE_COMPRESSION -I. -Ideps/7zip -Ilibretro-common/include -Ideps/stb -Ilibretro-common/include/compat/zlib -MT version_git.o -MMD -MP -MF version_git.Tdepend
mv -f version_git.Tdepend version_git.depend
clang -c -o frontend/frontend_driver.o frontend/frontend_driver.c -m64 -DORBIS -std=c11 -mcmodel=large -ffreestanding -nostdlib -nostdinc -fno-builtin -fno-stack-protector -O3 -Wall -pedantic -Wno-zero-length-array -Wno-format-pedantic -D__PS4__ -I/home/godreborn/ps4sdk/include -I /home/godreborn/ps4sdk/include/sce -target x86_64-scei-ps4-elf -fPIE -DRARCH_INTERNAL -DRARCH_CONSOLE -DHAVE_FILTERS_BUILTIN -DHAVE_LIBRETRODB -DHAVE_GIT_VERSION -DGIT_VERSION=378ab8b90a -DHAVE_PATCH -DHAVE_REWIND -DHAVE_CHEATS -DHAVE_SCREENSHOTS -DHAVE_VIDEO_FILTER -DHAVE_DSP_FILTER -DHAVE_CONFIGFILE -DHAVE_CC_RESAMPLER -DHAVE_MENU -DHAVE_GFX_WIDGETS -DHAVE_XMB -DHAVE_OZONE -DHAVE_OVERLAY -DHAVE_THREADS -DHAVE_OPENGL -DHAVE_OPENGLES -DHAVE_OPENGLES2 -DHAVE_EGL -DHAVE_GLSL -DHAVE_7ZIP -D_7ZIP_ST -DHAVE_ZLIB -DHAVE_RTGA -DHAVE_RPNG -DHAVE_RJPEG -DHAVE_RBMP -DHAVE_COMPRESSION -I. -Ideps/7zip -Ilibretro-common/include -Ideps/stb -Ilibretro-common/include/compat/zlib -MT frontend/frontend_driver.o -MMD -MP -MF frontend/frontend_driver.Tdepend
mv -f frontend/frontend_driver.Tdepend frontend/frontend_driver.depend
clang -c -o retroarch.o retroarch.c -m64 -DORBIS -std=c11 -mcmodel=large -ffreestanding -nostdlib -nostdinc -fno-builtin -fno-stack-protector -O3 -Wall -pedantic -Wno-zero-length-array -Wno-format-pedantic -D__PS4__ -I/home/godreborn/ps4sdk/include -I /home/godreborn/ps4sdk/include/sce -target x86_64-scei-ps4-elf -fPIE -DRARCH_INTERNAL -DRARCH_CONSOLE -DHAVE_FILTERS_BUILTIN -DHAVE_LIBRETRODB -DHAVE_GIT_VERSION -DGIT_VERSION=378ab8b90a -DHAVE_PATCH -DHAVE_REWIND -DHAVE_CHEATS -DHAVE_SCREENSHOTS -DHAVE_VIDEO_FILTER -DHAVE_DSP_FILTER -DHAVE_CONFIGFILE -DHAVE_CC_RESAMPLER -DHAVE_MENU -DHAVE_GFX_WIDGETS -DHAVE_XMB -DHAVE_OZONE -DHAVE_OVERLAY -DHAVE_THREADS -DHAVE_OPENGL -DHAVE_OPENGLES -DHAVE_OPENGLES2 -DHAVE_EGL -DHAVE_GLSL -DHAVE_7ZIP -D_7ZIP_ST -DHAVE_ZLIB -DHAVE_RTGA -DHAVE_RPNG -DHAVE_RJPEG -DHAVE_RBMP -DHAVE_COMPRESSION -I. -Ideps/7zip -Ilibretro-common/include -Ideps/stb -Ilibretro-common/include/compat/zlib -MT retroarch.o -MMD -MP -MF retroarch.Tdepend
In file included from retroarch.c:201:
In file included from ./gfx/common/gl_common.h:31:
In file included from libretro-common/include/glsym/glsym.h:26:
In file included from libretro-common/include/glsym/rglgen.h:32:
libretro-common/include/glsym/rglgen_headers.h:27:10: fatal error: 'EGL/egl.h' file not found
#include <EGL/egl.h>
^~~~~~~~~~~
1 error generated.
make: *** [Makefile.orbis:147: retroarch.o] Error 1