Closed jnt0rrente closed 1 month ago
Just solved it. The problem was that I was specifying SDL2 and SDL2_image as explicit dependencies and that was conflicting with the required --use-port=sdl2 .
Leaving the issue up in case someone else runs into the same problem - delete it if you see it fit.
Basically the title. I am trying to port a simple raytracer app to WASM using Emscripten, but build is failing during the compilation stage.
This is my full emcc call:
First, I get many wasm-ld warnings, such as these:
Then the errors that cause the linking to stop:
I am building with Meson and I can provide my .build file, but i'm assuming that would be out of the scope for this repo. Any tips on where to start debugging this?