Installing the MORSE Simulator - GarethG/ProjectRinzler GitHub Wiki

Installing MORSE

This is only for Linux, might work in OSX

Installing Blender

Installing Python 3.2

Not sure if this is the way to go yet

  • Install the following dependencies sudo apt-get install build-essential libncursesw5-dev libreadline5-dev libssl-dev libgdbm-dev libc6-dev libsqlite3-dev tk-dev

  • wget http://www.python.org/ftp/python/3.2/Python-3.2rc2.tgz && tar -xvf Python-3.2rc2.tgz

  • or http://www.python.org/ftp/python/3.2/Python-3.2.tgz is a direct link

  • Once you have the tarball, extract it then cd into it.

  • Blender expects python 3.2 to be compliled with the wide unicode flag ./configure --prefix=/usr/local/python3.2 --enable-shared --with-wide-unicode

  • make

  • sudo make altinstall

Installing MORSE

you need to use ccmake to set the python3 paths, for some reason when I did this I couldn't change the python3 varibles with ccmake so I had to edit CMakeCache.txt

  • open CMakeCache.txt and find the python3 section replace with the following
//Path to a program.
PYTHON3_EXECUTABLE:FILEPATH=/usr/local/bin/python3.2

//Path to a file.
PYTHON3_INCLUDE_DIR:PATH=/usr/local/include/python3.2m

//Path to a library.
PYTHON3_LIBRARY:FILEPATH=/usr/local/lib/python3.2

Now you need to tell MORSE where to find blender Open your bashrc and put this line in with the relevant file path export MORSE_BLENDER=/home/uwesub/blender-2.61-linux-glibc27-i686/blender