wmayer wrote:For OSX, re-run CMake and activate the option "Create app bundle on install". After compiling do a "make install" which should then create a bundle with all 3rd party libraries.
That works

!
Only problem I've found so far is that matplotlib isn't imported when trying to plot. I have it installed in my local python but how do I ensure that it gets included correctly in FreeCAD?
I get the message:
Code: Select all
>>> import Plot
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "/usr/local/FreeCAD.app/Contents/Mod/Plot/Plot.py", line 44, in <module>
raise ImportError("matplotlib not installed")
ImportError: matplotlib not installed
Actually is in the generated app bundle, in:
FreeCAD.app/Contents/lib/python2.7/site-packages/matplotlib-1.5.0-py2.7-macosx-10.11-x86_64.egg/matplotlib/
I don't know if it's ok that my machine's architecture is in the path to matplotlib either.