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

Compile error on mac os x.(MAME in webassemly version) #4187

Closed
Nightaway opened this issue Oct 24, 2018 · 4 comments
Closed

Compile error on mac os x.(MAME in webassemly version) #4187

Nightaway opened this issue Oct 24, 2018 · 4 comments

Comments

@Nightaway
Copy link

warning: To disable errors for undefined symbols use -s ERROR_ON_UNDEFINED_SYMBOLS=0
error: undefined symbol: glDisableClientState
error: undefined symbol: glEnableClientState
error: undefined symbol: glEnd
error: undefined symbol: glGetTexLevelParameteriv
error: undefined symbol: glOrtho
error: undefined symbol: glPointSize
error: undefined symbol: glPopAttrib
error: undefined symbol: glPushAttrib
error: undefined symbol: glShadeModel
error: undefined symbol: glTexCoordPointer
error: undefined symbol: glVertex2f
Error: Aborting compilation due to previous errors
ERROR:root:'/Users/mac/Desktop/emsdk/node/8.9.1_64bit/bin/node /Users/mac/Desktop/emsdk/emscripten/1.38.14/src/compiler.js /tmp/tmpGfSfNa.txt /Users/mac/Desktop/emsdk/emscripten/1.38.14/src/library_pthread_stub.js' failed (1)
make[2]: *** [../../../../../1943test.bc] Error 1
make[1]: *** [1943test] Error 2
make: *** [asmjs] Error 2

@Nightaway
Copy link
Author

Nightaway commented Oct 24, 2018

I copyed SDL2.framework to /Library/Frameworks already.

@Nightaway Nightaway changed the title Webassembly compile error on mac os x. Compile error on mac os x.(MAME in webassemly version) Oct 24, 2018
@MooglyGuy
Copy link
Contributor

Sorry, but Webassembly is not an officially-supported build target. You will have to take this up with the JSMAME team.

@DopefishJustin
Copy link
Member

It is supported. It looks like the latest Emscripten release has changed the default value of ERROR_ON_UNDEFINED_SYMBOLS so I'll have to address that. (The gl errors can be ignored.)

@DopefishJustin
Copy link
Member

Please try again with bcb672c.

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

3 participants