With the latest build Espruino, EsperuinoWebIDE and EMCC, i'm getting this error when i try to build the Emulator.
error: undefined symbol: emscripten_memcpy_js (referenced by root reference (e.g. compiled C/C++ code))
warning: To disable errors for undefined symbols use -**sERROR_ON_UNDEFINED_SYMBOLS=0**
warning: _emscripten_memcpy_js may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
Error: Aborting compilation due to previous errors
emcc: error: '/home/brendena/code/newCode/emsdk/node/16.20.0_64bit/bin/node /home/brendena/code/newCode/emsdk/upstream/emscripten/src/compiler.mjs /tmp/tmp54wpsiw5.json' failed (returned 1)
NodeJS -v 20 - but i don't know if this matters because EMCC uses its own NodeJS
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
With the latest build Espruino, EsperuinoWebIDE and EMCC, i'm getting this error when i try to build the Emulator.
error: undefined symbol: emscripten_memcpy_js (referenced by root reference (e.g. compiled C/C++ code))
warning: To disable errors for undefined symbols use
-**sERROR_ON_UNDEFINED_SYMBOLS=0**
warning: _emscripten_memcpy_js may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
Error: Aborting compilation due to previous errors
emcc: error: '/home/brendena/code/newCode/emsdk/node/16.20.0_64bit/bin/node /home/brendena/code/newCode/emsdk/upstream/emscripten/src/compiler.mjs /tmp/tmp54wpsiw5.json' failed (returned 1)
NodeJS -v 20 - but i don't know if this matters because EMCC uses its own NodeJS