Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: EGL/egl.hpp no such file directory.  (Read 4189 times)

0 Members and 1 Guest are viewing this topic.

magneonx

  • Full Member
  • ***
  • Posts: 141
    • MSN Messenger - magnumneon04@hotmail.com
    • View Profile
EGL/egl.hpp no such file directory.
« 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...


eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10821
    • View Profile
    • development blog
    • Email
Re: EGL/egl.hpp no such file directory.
« Reply #1 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.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: EGL/egl.hpp no such file directory.
« Reply #2 on: May 02, 2014, 02:32:02 pm »
Also make sure you have the latest revision.
Laurent Gomila - SFML developer

 

anything