-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Closed
Description
I've been maintaining a Neverball build here: https://neverball.github.io/
Hadn't compiled in a while. It worked great last I tried, which was around 2.0.16. Getting linker errors about missing eglGetProcAddress (via SDL2) and emscripten_GetProcAddress (via gl4es):
wasm-ld: error: C:\Development\emsdk\upstream\emscripten\cache\sysroot\lib\wasm32-emscripten\libSDL2.a(SDL_emscriptenopengles.c.o): undefined symbol: eglGetProcAddress
wasm-ld: error: ../gl4es/lib\libGL.a(loader.c.o): undefined symbol: emscripten_GetProcAddress
Seems to me that compilation with gl4es is broken since, presumably, #13524.
gl4es provides its own GL library, but requires emscripten_GetProcAddress to exist. Unless I'm misreading, emscripten_GetProcAddress is only included when linking with the default GL library.
If I am misreading, how do I compile with gl4es now? Or, I guess, what's the proper fix that should be implemented and to which part?
Metadata
Metadata
Assignees
Labels
No labels