Skip to content

Instantly share code, notes, and snippets.

@elyase
Last active August 15, 2020 11:37
Show Gist options
  • Save elyase/b43015eef5907ca82aa4 to your computer and use it in GitHub Desktop.
Save elyase/b43015eef5907ca82aa4 to your computer and use it in GitHub Desktop.
ibsimu installation on osx

Tested on ibsimu-1.0.6dev, OSX Yosemite, High Sierra, Catalina.

Install homebrew

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Install dependencies

brew install autoconf automake libtool gtk+3 gsl

Download the code

git clone git://ibsimu.git.sourceforge.net/gitroot/ibsimu/ibsimu

Compile

cd ibsimu
./reconf
./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.

Enviroment variables

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:

pwd
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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment