I can’t seem to build Blender on Win10 x64, fails with the log below.
Severity Code Description Project File Line Suppression State
Error LNK1181 cannot open input file '..\..\lib\Release\bf_intern_quadriflow.lib' blender C:\BLENDER_DEV\build_VS\source\creator\LINK 1
The thing is that I am building this on a virtual machine and it does not have direct internet connection, so I need to find those libs and copy them manually. I would appreciate any pointers to resolve this issue.
So when I do that , it builds bunch of python stuff except bpy.pdb . And when bpy.pdb is not in Python’s path I am naturally getting ModuleNotFoundError: No module named 'bpy' when I try to import bpy in the regular Py shell.
Some reason make bpy had built that successfully in the past.
This is the only reference of error in the VS build log.
Severity Code Description Project File Line Suppression State Error LNK1169 one or more multiply defined symbols found blender C:\BLENDER_DEV\build_windows_Bpy_x64_vc15_Release\bin\Release\bpy.pyd 1
It is also interesting, it builds bpy.pdb then deletes it, as I watch the build folder.
pdb are debugging symbols
pyd is a loadable python module
best not to confuse the two
blender as a python module is not officially supported, so it doesn’t get regularry build , i’ll have a go at it tomorrow and resolve any issues it may have.
I know the module building is not official but it is very helpful in the py console and also with autocompletion in Eclipse. I built the module successfully in the past even the 2.80 version was fine. So not sure what I am doing wrong here.
Here is from Ipython working well with the bpy module
$ ipython
Python 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 23:09:28) [MSC v.1916 64 bit (AMD64)]
Type 'copyright', 'credits' or 'license' for more information
IPython 7.2.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: import bpy
In [4]: bpy.context.object
Out[4]: bpy.data.objects['Cube']
In [5]: bpy.context.object.data.vertices
Out[5]: bpy.data.meshes['Cube'].vertices
In [6]: bpy.app.version
Out[6]: (2, 82, 1)