Hello,

I am new to emscripten and excited about the capabilities seen so far.

I have successfully compiled the hello world example from the tutorial, 
which ran well in FF (> v38).

I have proceeded to my own code (C++), which uses SDL2 and runs without 
errors as standalone executable.

I have compiled this using em++, including the "-s USE_SDL2=1" both during 
compilation and linking.

When I call this in the browser, I get the "Downloading" and "Running" 
phase shortly displaying, then "Exception thrown, see JavaScript console".

The console only shows "5". What does this mean?

Further questions: 

Who is writing the console output? Is it browser code or is it emscripten 
(js?) code?

Can I increase the verboseness of the output? (Probably "set EMCC_DEBUG=1" 
I see.)

Is there a list of error codes? I googled, but no success.


~Tom



-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to