Unable to compile with Emscripten (using Retroarch dist-cores.sh script)
fuugg opened this issue · 0 comments
Attempting to compile the psx-libretro the mednafen_psx_hw_libretro_emscripten.bc using the following command yields the below error. Command: emmake ./dist-cores.sh emscripten
Error:
wasm-ld: error: libretro_emscripten.bc(glsm.o): undefined symbol: __rglgen_glGenVertexArrays
wasm-ld: error: libretro_emscripten.bc(glsm.o): undefined symbol: __rglgen_glBindVertexArray
wasm-ld: error: libretro_emscripten.bc(glsm.o): undefined symbol: __rglgen_glBlendFuncSeparate
wasm-ld: error: libretro_emscripten.bc(glsm.o): undefined symbol: __rglgen_glUseProgram
wasm-ld: error: libretro_emscripten.bc(glsm.o): undefined symbol: __rglgen_glActiveTexture
wasm-ld: error: libretro_emscripten.bc(glsm.o): undefined symbol: __rglgen_glActiveTexture
wasm-ld: error: libretro_emscripten.bc(glsm.o): undefined symbol: __rglgen_glDisableVertexAttribArray
wasm-ld: error: libretro_emscripten.bc(glsm.o): undefined symbol: __rglgen_glBindFramebuffer
wasm-ld: error: libretro_emscripten.bc(glsm.o): undefined symbol: __rglgen_glBindVertexArray
wasm-ld: error: libretro_emscripten.bc(glsm.o): undefined symbol: __rglgen_glBindBuffer
wasm-ld: error: libretro_emscripten.bc(glsm.o): undefined symbol: __rglgen_glDisableVertexAttribArray
wasm-ld: error: libretro_emscripten.bc(glsm.o): undefined symbol: __rglgen_glEnableVertexAttribArray
wasm-ld: error: libretro_emscripten.bc(glsm.o): undefined symbol: __rglgen_glVertexAttribPointer
wasm-ld: error: libretro_emscripten.bc(glsm.o): undefined symbol: __rglgen_glDisableVertexAttribArray
wasm-ld: error: libretro_emscripten.bc(glsm.o): undefined symbol: __rglgen_glEnableVertexAttribArray
wasm-ld: error: libretro_emscripten.bc(glsm.o): undefined symbol: __rglgen_glVertexAttribPointer
wasm-ld: error: libretro_emscripten.bc(glsm.o): undefined symbol: __rglgen_glDisableVertexAttribArray
wasm-ld: error: libretro_emscripten.bc(glsm.o): undefined symbol: __rglgen_glEnableVertexAttribArray
wasm-ld: error: libretro_emscripten.bc(glsm.o): undefined symbol: __rglgen_glVertexAttribPointer
wasm-ld: error: libretro_emscripten.bc(glsm.o): undefined symbol: _rglgen_glDisableVertexAttribArray
wasm-ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
emcc: error: '/opt/emsdk/upstream/bin/wasm-ld @/tmp/emscripten_2ee96_d.rsp.utf-8' failed (returned 1)
make: *** [Makefile.emscripten:126: mednafen_psx_hw_libretro.js] Error 1