xbpeng / DeepMimic

Motion imitation with deep reinforcement learning.
https://xbpeng.github.io/projects/DeepMimic/index.html
MIT License
2.27k stars 485 forks source link

DeepMimic windows 10 setup #171

Open awtsao opened 2 years ago

awtsao commented 2 years ago

Im currently trying to setup deepmimic on a windows 10 machine and was wondering what were the steps for setting up free glut and glew in visual studio? Do I just use the "additional dependencies" to add the Lin files, "additional include dependencies" to add the header files and then add the dll file in the deepmimic project itself? I'm using visual studio 2022 if that helps.

Also for building bullet, is using build_visual_studio_vr_pybullet_double.bat (per the bullet repo instructions) but removing the - - double argument in the call to premake the correct way to build in single precision? Or do I need to use cmake? I notice that using the build_visual_studio_vr_pybullet_double.bat code doesn't output a lib/src folder.

Thanks for the help. I'm very new to all this so would appreciate any help.

xbpeng commented 2 years ago

You can check out these instructions for installing freeglut on windows https://www.cs.uregina.ca/Links/class-info/315/WWW/Lab1/GLUT/windows.html In general, you'll need to copy the lib, header, and dll files to the appropriate directories for visual studio.

For building bullet, I usually use cmake. When running cmake, there should be an option to disable double precision.

awtsao commented 2 years ago

Got it, thank you! I ran across those instructions a while back (https://www.cs.uregina.ca/Links/class-info/315/WWW/Lab1/GLUT/windows.html) but dismissed them since it seems the newer versions of VS have different directories so I couldn't find the corresponding directories. I'll try to figure it out and if I have more issues, I'll ask again, thanks!