Hello everyone, i've got problem when i compile SFML 2.3 on my PI2 with GLES.
i've got wrong header location :
[ 18%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/GlContext.cpp.o
In file included from /opt/vc/include/interface/vcos/vcos_assert.h:149:0,
from /opt/vc/include/interface/vcos/vcos.h:114,
from /opt/vc/include/interface/vmcs_host/vc_dispmanx.h:33,
from /opt/vc/include/EGL/eglplatform.h:110,
from /opt/vc/include/EGL/egl.h:36,
from /home/pi/SFML-2.3/src/SFML/Window/EGLCheck.hpp:32,
from /home/pi/SFML-2.3/src/SFML/Window/EglContext.hpp:33,
from /home/pi/SFML-2.3/src/SFML/Window/GlContext.cpp:66:
/opt/vc/include/interface/vcos/vcos_types.h:38:33: fatal error: vcos_platform_types.h: Aucun fichier ou dossier de ce type
compilation terminated.
src/SFML/Window/CMakeFiles/sfml-window.dir/build.make:80: recipe for target 'src/SFML/Window/CMakeFiles/sfml-window.dir/GlContext.cpp.o' failed
make[2]: *** [src/SFML/Window/CMakeFiles/sfml-window.dir/GlContext.cpp.o] Error 1
CMakeFiles/Makefile2:155: recipe for target 'src/SFML/Window/CMakeFiles/sfml-window.dir/all' failed
make[1]: *** [src/SFML/Window/CMakeFiles/sfml-window.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
vcos_types.h call vcos_platform_types.h with include in the same location, but vcos_platform_types.h is inside child folder ( pthreads ).
without GLES , SFML-2.3 work fine, but in software...