Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to compile with Emscripten (using Retroarch dist-cores.sh script) #874

Open
fuugg opened this issue Feb 6, 2023 · 0 comments
Open

Comments

@fuugg
Copy link

fuugg commented Feb 6, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant