I've been having trouble installing MORSE. I am trying to install it on Ubuntu 12.04 and on a VirtualBox with Ubuntu 13.04 (I don't need it on a VirtualBox, I'm just trying to make something work). On Ubuntu 12.04 I get the following errors at the cmake stage:
$ cmake -DCMAKE_INSTALL_PREFIX=/home/oferb/opt/morse_build ..
-- will install python files in /home/oferb/opt/morse_build/lib/python3/dist-packages
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
PYTHON_INCLUDE_DIR (ADVANCED)
used as include directory in directory /home/oferb/mnt/svr_home/opt/morse
used as include directory in directory /home/oferb/mnt/svr_home/opt/morse/src
used as include directory in directory /home/oferb/mnt/svr_home/opt/morse/src/morse
used as include directory in directory /home/oferb/mnt/svr_home/opt/morse/src/morse/builder
used as include directory in directory /home/oferb/mnt/svr_home/opt/morse/src/morse/modifiers
used as include directory in directory /home/oferb/mnt/svr_home/opt/morse/src/morse/sensors
used as include directory in directory /home/oferb/mnt/svr_home/opt/morse/src/morse/multinode
used as include directory in directory /home/oferb/mnt/svr_home/opt/morse/src/morse/middleware
used as include directory in directory /home/oferb/mnt/svr_home/opt/morse/bindings
used as include directory in directory /home/oferb/mnt/svr_home/opt/morse/testing
used as include directory in directory /home/oferb/mnt/svr_home/opt/morse/testing/base
used as include directory in directory /home/oferb/mnt/svr_home/opt/morse/testing/failures
used as include directory in directory /home/oferb/mnt/svr_home/opt/morse/testing/robots/human
used as include directory in directory /home/oferb/mnt/svr_home/opt/morse/testing/robots/segway
used as include directory in directory /home/oferb/mnt/svr_home/opt/morse/testing/robots/pr2
used as include directory in directory /home/oferb/mnt/svr_home/opt/morse/testing/robots/pionner3dx
On a fresh VMBox with Ubuntu 13.04, after 'morse check' succeeds, I try "morse create mysim" and get:
adminuser@adminuser-VirtualBox:~$ morse create mysim
usage: morse [-h] [-b BASE] [--name NAME] [-c] [--reverse-color] [-g GEOM]
[-v]
{check,edit,run} [scene] ...
morse: error: argument mode: invalid choice: 'create' (choose from 'check', 'edit', 'run')
Any suggestions?
UPDATE:
I've managed to install MORSE on Ubuntu 12.04. Make sure your Blender was compiled with the same version of python (i.e python 3.2.2) that MORSE was compiled in. I used this Blender: http://download.blender.org/release/Blender2.62