I am on Ubuntu. Built bpy following the instructions on the wiki using prebuilt libs and the build itself succeeded. The install prefix is set to my python’s site-packages. Then in Python when I import bpy, I get this error
Deleted the build folder, did make update and then make bpy and got the following errors.
/home/ataerabb/Documents/blender-git/lib/linux_centos7_x86_64/xr_openxr_sdk/include/openxr/openxr_platform.h:117:5: error: 'Display' does not name a type
Display* xDisplay;
^
/home/ataerabb/Documents/blender-git/lib/linux_centos7_x86_64/xr_openxr_sdk/include/openxr/openxr_platform.h:119:5: error: 'GLXFBConfig' does not name a type
GLXFBConfig glxFBConfig;
^
/home/ataerabb/Documents/blender-git/lib/linux_centos7_x86_64/xr_openxr_sdk/include/openxr/openxr_platform.h:120:5: error: 'GLXDrawable' does not name a type
GLXDrawable glxDrawable;
^
/home/ataerabb/Documents/blender-git/lib/linux_centos7_x86_64/xr_openxr_sdk/include/openxr/openxr_platform.h:121:5: error: 'GLXContext' does not name a type
GLXContext glxContext;
So I set WITH_OPENXR to OFF and then restarted the build which succeded. Now when I do the test mentioned in the wiki (python -c "import bpy; bpy.ops.render.render(write_still=True)"), I get the following errors: