Open main menu

Humanoid Robots Wiki β

Changes

Mujoco WASM Build From Source

240 bytes added, 22 July
no edit summary
* In src/user/user_objects.cc comment out the line that includes lodepng.h. Replace the bodies of the mjCHField::LoadPNG and mjCTexture::LoadPNG functions with a single return statement.
*
* In src/engine/engine_util_errmem.c update the preprocessor condition in the mju_writeLog function by replacing __STDC_VERSION_TIME_H__ with __EMSCRIPTEN__ in the #if directive. The line should now include __EMSCRIPTEN__ in the condition.