I've been following this tutorial on how to build blender as a python module. I am current working on a Mac. I've successfully got the source from Git, but I'm stuck trying to edit the CMake parameters. The manual says the following:
The first thing I tried was running cmake ../blender, editing the ~/blender-git/build/CMakeCache.txt file, and running make (first option). But I got the following error:
The second thing I tried was setting the parameters on the command line (last option), but when the ~/blender-git/build/CMakeCache.txt file was generated, the options I had entered were not actually changed.
If I run cmake and make without changing any parameters, everything works perfectly. I must be doing something wrong. Any help is appreciated.


cd ~/blender-gitthensudo ccmake build(at least if your build directory is called "build") then change the settings you want and don't forget to press c (for configure) and g (for generate) before quitting with q – Robert Roth Jul 26 '19 at 10:39