Yay, sort of fixed it, ended up adding this to my 'linker' options (where linker=ec++):
-s EXTRA_EXPORTED_RUNTIME_METHODS=['Pointer_stringify'] Is this the 'right' fix? Actually, I have a bunch of build/link switches now that I'm not really sure about. For compiling source code I use: -std=c++11 -O3 -DNDEBUG -s USE_SDL=2 -s TOTAL_MEMORY=268435456 -s DISABLE_EXCEPTION_CATCHING=1 Are all these necessary or are some only needed for linking? For linking I use: -s USE_SDL=2 -s TOTAL_MEMORY=268435456 -s DISABLE_EXCEPTION_CATCHING=1 -s BINARYEN=1 -s BINARYEN_TRAP_MODE='allow' -s EXTRA_EXPORTED_RUNTIME_METHODS=['Pointer_stringify'] Ditto, are these all necessary? The goal here is to create the *fastest* code! On Thursday, December 28, 2017 at 1:32:43 PM UTC+13, Mark Sibly wrote: > > Hello, > > My wasm apps have started producing the following error with a fresh > install of emsdk 'latest' on Windows 10: > > > 'Pointer_stringify' was not exported. add it to > EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ) > > This error didn't used to happen before on a different install - sorry but > I can't remember the version. > > em++ -v gives me: > > emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) > 1.37.26 > clang version 4.0.0 (emscripten 1.37.26 : 1.37.26) > Target: x86_64-pc-windows-msvc > Thread model: posix > InstalledDir: D:\devtools\emsdk-portable-64bit\clang\e1.37.26_64bit > INFO:root:(Emscripten: Running sanity checks) > > I did find this page: > > > http://kripken.github.io/emscripten-site/docs/api_reference/module.html?highlight=extra_exported_runtime_methods#overriding-execution-environment > > Which mentions exporting functions using EXTRA_EXPORTED_RUNTIME_METHODS > but I have no idea what that means. > > I would greatly appreciate any help here. > > Bye, > Mark > -- 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.
