Tested on ubuntu 20.04.3
sudo apt-get install build-essential
sudo apt install libcairo2-dev
sudo apt install libgsl-dev
sudo apt install libgtk-3-dev
git clone git://ibsimu.git.sourceforge.net/gitroot/ibsimu/ibsimu
cd ibsimu
./configure --prefix=`pwd`
make -j4
make install
You may need to adjust the prefix path in the ./configure
line to the folder where you downloaded the repository.
Before you compile any project you have to set some environment variables:
export PKG_CONFIG_PATH=`pwd`
export LD_LIBRARY_PATH=`pwd`
If you want that to run any time you open a new console/terminal you can place those commands in your .bashrc
. First find the current path:
cd
nano ~/.bashrc
copy both lines at the end and save:
export PKG_CONFIG_PATH="/PATH/TO/IBSIMU/FOLDER"
export LD_LIBRARY_PATH="/PATH/TO/IBSIMU/FOLDER"