Could not find EGL in Mac OSX

See original GitHub issue

Hi, I tried to install gfootball following the instructions in README.md, but got an error like below

-- Found OpenGL: /Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk/System/Library/Frameworks/OpenGL.framework
CMake Error at CMakeModules/FindPackageHandleStandardArgs.cmake:110 (MESSAGE):
  Could NOT find EGL (missing: EGL_LIBRARY EGL_INCLUDE_DIR)
Call Stack (most recent call first):
  CMakeModules/FindPackageHandleStandardArgs.cmake:301 (_FPHSA_FAILURE_MESSAGE)
  CMakeModules/FindEGL.cmake:72 (find_package_handle_standard_args)
  CMakeLists.txt:34 (FIND_PACKAGE)

-- Configuring incomplete, errors occurred!

It seems the gfootball_engine needs EGL library and can not find it in my Mac OSX system. Did I miss something about the installation steps ?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
vi3itorcommented, Nov 16, 2020

Indeed, the latest version of GRF requires EGL to support off-screen rendering. But it’s not the case for MacOS, and as far as I know, EGL is not supported on Mac OS. I’ll check if it is possible to add a quick fix and will send a PR.

1reaction
vi3itorcommented, Apr 27, 2021

@nicklhy @yagelmeister You can check out PR (#269), everything should work now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can I use EGL in OSX? - Stack Overflow
Mali says it has a simulator for Mac but I don't know if it is accelerated or is only for its hardware (it...
Read more >
OSX EGL libraries - Ogre Forums - Ogre3D
I'm trying to compile an ogre application on Mac OSX, but sadly the linker can't seem to find the following file: fatal error:...
Read more >
Troubleshooting — iGibson 2.2.1 documentation - GitHub Pages
Unable to initialize EGL ... It is a good idea to run ldconfig -p | grep EGL and you should be...
Read more >
Mesa EGL - Apple Open Source
By default, EGL is enabled. When disabled, the main library and the drivers will not be built. ... The directory EGL drivers should...
Read more >
2 problems with macosx - Google Groups
thanks for releasing SwiftShader. I was trying to use the EGL library and GLESv2 renderer on MacOSX and encountered two problems: 1. I...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found