I had to disable Open MP and Audaspace in order for the Python module to build properly on MacOS.
- OpenMP causes “undefined symbols for x86_64” in multiple Ceres locations
- Audaspace causes Numpy include issues despite
install_deps.sh
clearly showing that Numpy is installed
I feel strange about this requirement though. Open MP is for parallelism, correct? Audaspace is the audio library if I’m not mistaken.
Is there any chances that I could resolve those build errors and get a “complete” bpy.so
, so to speak?
Here was my build script (post installation of Python and CMake) for those interested:
export PATH="/Applications/CMake.app/Contents/bin":"$PATH"
echo PATH="/Applications/CMake.app/Contents/bin":"\$PATH" >> ~/.profile
echo PATH="/Applications/CMake.app/Contents/bin":"\$PATH" >> ~/.bash_profile
mkdir .blenderpy
cd .blenderpy
mkdir master
cd master
git clone http://git.blender.org/blender.git
cd blender
make update
cd ..
mkdir build_bpy_darwin_custom
cd build_bpy_darwin_custom
cmake ../blender -DWITH_PLAYER=OFF -DWITH_PYTHON_INSTALL=OFF -DWITH_PYTHON_MODULE=ON -DWITH_OPENMP=OFF -DWITH_AUDASPACE=OFF
make install
@jacksund Yes