Install Mujoco221 On Win
Install Mujoco221 On Win
1 on windows and
compiling/running code
Now we will drag and drop some files from the glfw folder
to mujoco
i) Copy the entire `include/GLFW` subdirectory to `mujoco/
include/GLFW`.
ii) Copy glfw3dll.lib from the subdirectory corresponding
into your compiler (here the compiler is lib-vc2022) to
`mujoco/lib/glfw3dll.lib`.
iii) Copy glfw3.dll from the subdirectory corresponding into
your compiler (here the compiler is lib-vc2022) to `mujoco/
bin/glfw3.dll`.
B4) We will open the x64 shell to compile and run
MuJoCo. Go to: Start (bottom left corner) —> Visual studio
—> x64_Native Tools Command Prompt. (see screenshot
below)
From this shell navigate to the sample folder. Then type
make.
C3) Copy the two dlls in the bin folder. They are mujoco.dll
and glfw3.dll and paste them in C:\Windows\System32