sudo apt-get install subversion git cmake mercurial libboost-all-dev libblas-dev liblapack-dev python-numpy python-matplotlib clang llvm gccxml doxygen sphinx-common python-setuptools
mkdir -p ~/src
cd src
mkdir -p gimli
cd gimli
git clone https://github.com/gimli-org/gimli.git trunk
mkdir -p build
cd build
cmake ../trunk -DCASTER='gccxml'
make
# or for more than one core
make -j 4
make pygimli
make apps
nano ~.bashrc
export PYTHONPATH=$PYTHONPATH:$HOME/src/gimli/trunk/python
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/src/gimli/build/lib
export PATH=$PATH:$HOME/src/gimli/build/bin
sudo apt-get install subversion git cmake mercurial libboost-all-dev libblas-dev liblapack-dev python3-numpy python3-matplotlib clang llvm gccxml doxygen sphinx-common python-setuptools
mkdir -p ~/src
cd src
mkdir -p gimli
cd gimli
hg clone https://bitbucket.org/ompl/pyplusplus
copy the files in
~/src/gimli/thirdParty/src/pyplusplus
cp -R pyplusplus ~/src/gimli/thirdParty/src
*pyplusplus is downloaded with Mercurial which is not compatible with python 3
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 20
sudo update-alternatives --config python
Choose the number corresponding to Python 3
Test it
christophe@dellv:~/src/gimli/build$ python
Python 3.4.3 (default, Oct 14 2015, 20:28:29)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
sudo mv /usr/lib/x86_64-linux-gnu/libboost_python.so /usr/lib/x86_64-linux-gnu/libboost_python.so.old
sudo ln -s /usr/lib/x86_64-linux-gnu/libboost_python-py34.so /usr/lib/x86_64-linux-gnu/libboost_python.so
git clone https://github.com/gimli-org/gimli.git trunk
cd ~/src/gimli
mkdir -p build
cd build
cmake ../trunk -DCASTER='gccxml'
make gimli
or for more than one core
make -j 4
make pygimli
make apps
export PYTHONPATH=$PYTHONPATH:$HOME/src/gimli/trunk/python
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/src/gimli/build/lib
export PATH=$PATH:$HOME/src/gimli/build/bin
christophe@dellv:~/src/gimli/build$ python
Python 3.4.3 (default, Oct 14 2015, 20:28:29)
[GCC 4.8.4] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygimili as pg
>>> print(pg.__version__)
>>> 0+untagged.883.g0e0ce50
nano ~.bashrc
export PYTHONPATH=$PYTHONPATH:$HOME/src/gimli/trunk/python
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HOME/src/gimli/build/lib
export PATH=$PATH:$HOME/src/gimli/build/bin