UMOG on Os X
pre compilation steps - libraries
pip install numpy==1.11.2 -> install the same numpy version as blender2.79, otherwise you get an error
pip install Cython -> (0.27.3) last release?
sudo pacman -S cython python-numpy -> install pyenv, pip, cython, numpy : USED pyenv and pip
cd /usr/share/blender/2.79/scripts/addons_contrib/ -> used my dir in Library
sudo chown -R you . -> don’t needed on OS X if you are the user
– clone and start compilation
git clone https://github.com/hsab/UMOG.git -> ok
cd UMOG/umog/packages/ -> ok
chmod +x install.sh -> change file and add --upgrade at end of each line, OTHERWISE it doesn’t build .so files
./install.sh -> ok, it will install pyglet and cubes
cd …/… -> ok
python setup.py --all -> --all to recompile everything from scratch, like --clean before and then recompile
vi config.py -> add your path to blender addon dir in the first line, os OS X is in: /$HOME/Library/Application Support/Blender/2.79/scripts/addons THIS is like %USERDATA% on win, it works
run blender from command line -> ok
cmd + comma, install addon, select Umog -> ok
getting this now:
FAILED TO LOAD .nodes.algorithm.reaction_diffusion umog
Traceback (most recent call last):
File “/Users/max/Applications/blender-2.79-rc1-macOS-10.6/blender.app/Contents/MacOS/…/Resources/2.79/scripts/modules/addon_utils.py”, line 331, in enable
mod = import(module_name)
File “/Users/max/Library/Application Support/Blender/2.79/scripts/addons/umog/init.py”, line 119, in <module>
modules = import_modules.importAllSubmodules(path[0], package)
File “/Users/max/Library/Application Support/Blender/2.79/scripts/addons/umog/import_modules.py”, line 11, in importAllSubmodules
module = importlib.import_module("." + name, packageName)
File “/Users/max/Applications/blender-2.79-rc1-macOS-10.6/blender.app/Contents/Resources/2.79/python/lib/python3.5/importlib/init.py”, line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “/Users/max/Library/Application Support/Blender/2.79/scripts/addons/umog/nodes/algorithm/reaction_diffusion.py”, line 5, in <module>
import pyximport
ImportError: No module named ‘pyximport’
I think my setup is ok now. I’ll inspect some more probably tomorrow.