SFML community forums

General => General discussions => Topic started by: magneonx on May 02, 2014, 02:12:00 pm

Title: EGL/egl.hpp no such file directory.
Post by: magneonx on May 02, 2014, 02:12:00 pm
I am compiling SFML-master source file. Why? Because I am following Thor's tutorial on building SFML with Thor, it seems SFML is gearing towards SFML3 ports on iOS and Android? It seems I've missed some missing files from the SFML master. I need to build from source so I can use build and use thor in my projects. I need help. This what is being thrown by the way...

||=== Build: all in SFML (compiler: GNU GCC Compiler) ===|
C:\Users\Neon Warge\Desktop\SFML-master\src\SFML\Window\EGLCheck.hpp|32|fatal error: EGL/egl.h: No such file or directory|
src\SFML\Window\CMakeFiles\sfml-window.dir\build.make|81|recipe for target 'src/SFML/Window/CMakeFiles/sfml-window.dir/GlContext.cpp.obj' failed|
CMakeFiles\Makefile2|207|recipe for target 'src/SFML/Window/CMakeFiles/sfml-window.dir/all' failed|
C:\libraries\SFML\branches\SFML 2.1-build\Makefile|115|recipe for target 'all' failed|
||=== Build failed: 4 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
 

Also I am using SFML 2.1-master and MinGW version 4.8.1 on CodeBlocks version 13.12
CMake 2.8.10.2, Windows 7

Thanks for any input on this...

Title: Re: EGL/egl.hpp no such file directory.
Post by: eXpl0it3r on May 02, 2014, 02:24:29 pm
If you want to build for Android you need to use the NDK. If you just want to build SFML, then don't select the ES options in CMake.
Just follow the official tutorial step by step.

Also the Android and iOS versions have nothing to do with SFML 3.
Title: Re: EGL/egl.hpp no such file directory.
Post by: Laurent on May 02, 2014, 02:32:02 pm
Also make sure you have the latest revision.