I can build and run simple c++ applications using emcc on the linux (bash) 
command line.  I can run those in a browser.  I do have to either set 
DISABLE_EXCEPTION_CATCHING=0 on the command line or in the settings.js.  
Simple enough.

But, my builds from within Qt Creator fail with undefined symbols like:
__ZNKSt3__220__vector_base_commonILb1EE20__throw_length_errorEv

I notice that the Qt Creator initiated builds have 
DISABLE_EXCEPTION_CHECKING=1, even if I have it set to 0 in the 
settings.js.  I suspect this to be the cause of the undefined symbols. Does 
anyone know how to change the options Qt is specifying for emcc?  I have 
tried setting them in the CMakeLists.txt, but that still doesn't change 
what ends up being used.

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/a6bff69c-5fd6-498d-a943-4ff8d8c61eb3n%40googlegroups.com.

Reply via email to