Hi! I have been struggling with building the Blender Python library on Ubuntu 18.04. Here is the steps I had take to build:
Clone the repo
git clone https://git.blender.org/blender.git
git checkout v2.80
git submodule update --init --recursive
Make and Install
I also went into the CMake file and changed the python paths to a virtual environment path.
after that I did make install
Once everything has been done, I tried to import the Blender library to python:
And then I tried to call
And it segfaults. Using GDB the error message says
Thread 1 “python3.7” received signal SIGSEGV, Segmentation fault.
0x00007ffff3a8ae70 in GHOST_ActivateOpenGLContext ()
Does anyone know what the issue is?