You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ 50%] Building CXX object src/CMakeFiles/mujoco_wasm.dir/main.genned.cc.o
[100%] Linking CXX executable /Downloads/mujoco_wasm-main/dist/mujoco_wasm.js
error: undefined symbol: saveSetjmp (referenced by root reference (e.g. compiled C/C++ code))
warning: To disable errors for undefined symbols use `-sERROR_ON_UNDEFINED_SYMBOLS=0`
warning: _saveSetjmp may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
error: undefined symbol: testSetjmp (referenced by root reference (e.g. compiled C/C++ code))
warning: _testSetjmp may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
Error: Aborting compilation due to previous errors
em++: error: '/home/zy/Downloads/emsdk/node/18.20.3_64bit/bin/node /home/zy/Downloads/emsdk/upstream/emscripten/src/compiler.mjs /tmp/tmpfhv1mae3.json' failed (returned 1)
make[2]: *** [src/CMakeFiles/mujoco_wasm.dir/build.make:100:/home/zy/Downloads/mujoco_wasm-main/dist/mujoco_wasm.js] 错误 1
make[1]: *** [CMakeFiles/Makefile2:98:src/CMakeFiles/mujoco_wasm.dir/all] 错误 2
make: *** [Makefile:136:all] 错误 2
cmake version 3.28.3
ubuntu 22.04
The text was updated successfully, but these errors were encountered:
The fix is to use a slightly earlier version of Enscripten -- e.g. 3.1.56 instead of 3.1.57.
# install and use `3.1.56`cd<your-emscripten-cloned-github-folder>
./emsdk install 3.1.56 && ./emsdk activate 3.1.56 &&source ./emsdk_env.sh
# re-build mujoco_wasm (as per the README instructions)cd<your-mujoco_wasm-github-folder>
mkdir build
cd build
emcmake cmake ..
make
when I do make , something is error
cmake version 3.28.3
ubuntu 22.04
The text was updated successfully, but these errors were encountered: