Linux and MacOS.
- First, install necessary dependencies. This probably installs more than actually necessary:
sudo apt-get install python-gtk2 libeigen3-dev libsuitesparse-dev libfontconfig-dev libfltk1.1-dev libdevil-dev libfreeimage-dev liblua5.1-dev lua5.1 cmake g++ libxml2-dev libncurses5-dev libois-dev libboost-all-dev libf2c2-dev libogre-1.9-dev
- Install the system-provided ogre library to /usr/lib/OGRE:
sudo ln -s /usr/lib/x86_64-linux-gnu/OGRE-1.9.0 /usr/lib/OGRE
- Install more dependencies (after reading src/Makefile carefully):
cd src; make install_dependencies
- Now, build it.
cd src; make
If this does not work, please remove the system-provided libogre-1.9-dev, and install ogre3D-1.12 from source (see below), and retry the above steps (2-). (There are a few linux distros that provide libogre-1.9-dev which is broken.)
- First, install necessary dependencies:
brew install boost fltk eigen gsl cmake lua@5.1
cd /usr/local/bin; ln -s lua5.1 lua
-
Then, build Ogre 1.12 from sources (see below).
-
Install more dependencies (after reading src/Makefile carefully):
cd src; make install_dependencies_mac
- Now, build it.
cd src; make mac
FYI, most linker and compiler settings are in src/taesoolib/Samples/Common_baselib.cmake and Common_mainlib.cmake files.
pip3 install torch python3-tk gym
cd work; python3 test_walk2.py gym_walkCDM/testWalkV2_FA.lua
Choose the opengl renderer if asked to choose one. Now, click the play button, and adjust the slider bars for speed/orientation. Also, you can change the motion type by clicking the button.
sudo apt-get install libgles2-mesa-dev libxt-dev libxaw7-dev nvidia-cg-toolkit libsdl2-dev doxygen
mkdir -p build;cd build; cmake ..
cd build;make
cd build; sudo make install
brew install cmake sdl2 doxygen freeimage pkgconfig libzzip
mkdir -p build;cd build; cmake -G Xcode ..
cd build; xed .
- Build "build-all" in the xcode after manually selecting the release build target.
- Build "install" in the xcode again after manually selecting the release build target.
- Now open a finder, and copy build/sdk to /Applications/OgreSDK
- Also, manually copy all frameworks in build/lib/macosx/Release/ to ~/Library/Frameworks/
- Copy build/sdk/include/OGRE to /usr/local/include/
- Install ois manually (https://github.com/wgois/OIS)
git clone https://github.com/wgois/OIS.git
cd OIS;cmake -H. -B./build; cd ./build; make; make install
sudo cp build/Dependencies/lib/libzzip.so* /usr/local/lib/
- copy libfreetype*.dylib to /usr/local/lib