Please install/save everything locally to prevent any conflicts with other libraries. We will assume that you have a single workspace where you save all repos related to raisim. Here we introduce two variables
WORKSPACE: workspace where you clone your git repos (e.g., ~/raisim_workspace)
LOCAL_INSTALL: install directory where you install exported cmake libraries (e.g., ~/raisim_build)
You can add them to your environment variables or simply replace them by the path you want in the below instructions.
RaiSim depends on the following open-source libraries
sudo apt-get install libeigen3-dev)
cmake > 3.10 (Technically it is not a dependency but it makes the installation easier)
For windows users, visual studio 2019 (we only support 2019 but it will probably work with 2015 or above)
RaiSim includes many open-source libraries. See the COPYING file for the full list.
RaiSim is installed using cmake. The following options are available
RAISIM_EXAMPLE: Compile C++ RaiSim examples
RAISIM_MATLAB: Compile raisimMatlab (compiled binary is also provided). You need MATLAB for this option
RAISIM_PY: Compile raisimPy. The desired python version can be set by
-DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)")in Linux or Mac. In Linux, you need to install python library using
sudo apt install python<YOUR_PYTHON_VERSION>-devto build a python package.
You can generate build files using CMake as following
To use RaiSim more conveniently, you have to let your linker know where you installed RaiSim
For Linux users
To use (vulkan version) RaiSimUnity in Linux, you need to install
To install vulkan, follow this link https://linuxconfig.org/install-and-test-vulkan-on-linux
sudo apt install minizip ffmpeg
If you still cannot raisimUnity, this probably means that your driver does not support vulkan so well. In that case, you should use raisimUnityOpengl. It only supports minimalistic graphics.
Rename the activation key that you received by email to
Save that file in
In Linux and Mac, this is
In Windows, this is
C:\Users\<YOUR-USERNAME>\.raisim (You might not be using
C as your home directory).
RaiSim will check the path you set by
If the file is not found, it will search in the user directory, where you saved your
The built examples are stored in
In Windows, use powershell to run the examples, instead of manually clicking the icons.
If you made a mistake during installation, it will give you an error message.
Make sure that you run raisimUnity executable in
raisimUnity/<OS>/RaiSimUnity before you run the examples.