Prerequisites
-
You have cmake installed.
-
You have installed protobuf.
-
You must have super user privileges.
Steps
-
Open a terminal.
-
Clone the Open Simulation repository.
git clone https://github.com/OpenSimulationInterface/open-simulation-interface.git -
Change into the repository directory.
cd open-simulation-interface -
Create a new directory for the build.
mkdir build -
Change into the new directory.
cd build -
Run cmake. To build a 32-bit target under 64-bit linux, add
-DCMAKE_CXX_FLAGS="-m32"to the cmake command. In this case, protobuf must be in 32-bit mode too.cmake .. -
Run make.
make -
Install Open Simulation Interface.
sudo make install