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

Removed raylib_opengl_interop.c from PLATFORM=Web build #2682

Merged
merged 1 commit into from
Sep 2, 2022

Conversation

stanoddly
Copy link
Contributor

The build is fine with this change:

emmake make
make: make
[  0%] Building C object raylib/CMakeFiles/raylib.dir/rcore.c.o
emcc: warning: linker setting ignored during compilation: 'USE_GLFW' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'ASSERTIONS' [-Wunused-command-line-argument]
[  0%] Building C object raylib/CMakeFiles/raylib.dir/rmodels.c.o

...

[ 99%] Building C object examples/CMakeFiles/textures_to_image.dir/textures/textures_to_image.c.o
emcc: warning: linker setting ignored during compilation: 'USE_GLFW' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'ASSERTIONS' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'WASM' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'ASYNCIFY' [-Wunused-command-line-argument]
emcc: warning: linker setting ignored during compilation: 'ALLOW_MEMORY_GROWTH' [-Wunused-command-line-argument]
emcc: warning: linker flag ignored during compilation: '--shell-file' [-Wunused-command-line-argument]
[100%] Linking C executable textures_to_image.html
[100%] Built target textures_to_image

Resolves #2678. See the issue for more details.

@raysan5 raysan5 merged commit 234576d into raysan5:master Sep 2, 2022
@raysan5
Copy link
Owner

raysan5 commented Sep 2, 2022

@disketteman thanks for the review!

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

Successfully merging this pull request may close these issues.

[build] Example raylib_opengl_interop fails for wasm
2 participants