Build Blender 3.3

Arch Linux

make

[100%] Building C object source/creator/CMakeFiles/blender.dir/buildinfo.c.o
[100%] Linking CXX executable ../../bin/blender
../../lib/libextern_mantaflow.a(iovdb.cpp.o):iovdb.cpp:función openvdb::v10_0::points::TypedAttributeArray<openvdb::v10_0::math::Vec3<float>, openvdb::v10_0::points::TruncateCodec>::copy() const: error: referencia sin definir al «openvdb::v10_0::points::AttributeArray::AttributeArray(openvdb::v10_0::points::AttributeArray const&, tbb::spin_mutex::scoped_lock const&)»
../../lib/libextern_mantaflow.a(iovdb.cpp.o):iovdb.cpp:función openvdb::v10_0::points::TypedAttributeArray<float, openvdb::v10_0::points::TruncateCodec>::copy() const: error: referencia sin definir al «openvdb::v10_0::points::AttributeArray::AttributeArray(openvdb::v10_0::points::AttributeArray const&, tbb::spin_mutex::scoped_lock const&)»
../../lib/libextern_mantaflow.a(iovdb.cpp.o):iovdb.cpp:función openvdb::v10_0::points::TypedAttributeArray<int, openvdb::v10_0::points::TruncateCodec>::copy() const: error: referencia sin definir al «openvdb::v10_0::points::AttributeArray::AttributeArray(openvdb::v10_0::points::AttributeArray const&, tbb::spin_mutex::scoped_lock const&)»
collect2: error: ld devolvió el estado de salida 1
make[3]: *** [source/creator/CMakeFiles/blender.dir/build.make:442: bin/blender] Error 1
make[2]: *** [CMakeFiles/Makefile2:7342: source/creator/CMakeFiles/blender.dir/all] Error 2
make[1]: *** [Makefile:166: all] Error 2
make: *** [GNUmakefile:349: all] Error 2

You’re building 3.3 against master libs, if you have checked out the 3.3 branch, you can run make update to grab the correct library set for 3.3, once that is downloaded, you may have to remove your build folder as cmake tends to cache some libraries.

2 Likes

Equal error, maybe submodules are not updated to version 3.3?

Updating Precompiled Libraries and Tests

svn --non-interactive cleanup /home/bazza/src/blender-git/blender/../lib/linux_x86_64_glibc_228
svn --non-interactive switch https://svn.blender.org/svnroot/bf-blender/trunk/lib/linux_x86_64_glibc_228 /home/bazza/src/blender-git/blender/../lib/linux_x86_64_glibc_228
En la revisión 63180.
svn --non-interactive update /home/bazza/src/blender-git/blender/../lib/linux_x86_64_glibc_228
Updating '/home/bazza/src/blender-git/lib/linux_x86_64_glibc_228':
En la revisión 63180.

Updating Submodules

git fetch origin
git pull --rebase origin master
Desde git://git.blender.org/blender-addons
 * branch              master     -> FETCH_HEAD
Ya está actualizado.
git fetch origin
git pull --rebase origin master
Desde git://git.blender.org/blender-addons-contrib
 * branch            master     -> FETCH_HEAD
Ya está actualizado.
git fetch origin
git pull --rebase origin master
Desde git://git.blender.org/blender-translations
 * branch            master     -> FETCH_HEAD
Ya está actualizado.
git fetch origin
git pull --rebase origin master
Desde git://git.blender.org/blender-dev-tools
 * branch            master     -> FETCH_HEAD
Ya está actualizado.

Blender repository skipped: you have unstaged changes

That is wrong, those are the libs for master, for 3.3 you need

https://svn.blender.org/svnroot/bf-blender/tags/blender-3.3-release/lib/linux_centos7_x86_64/

1 Like

It was that!, thanks!

And how can I apply these patches?

https://developer.blender.org/T100301
https://developer.blender.org/D16692

There are a few ways:


If you have Arcainst installed:

I believe it’s as simple as going to the Blender source code directory and running arc patch D16692 in the command line.

Note: You might need to run arc install-certificate in the Blender source code folder (if you haven’t already). But I’m not actually sure if this is a required step.


If you don’t have arcainst, then you can use git (which you should already have installed).
You can do this by going to the Blender source code directory and running git apply /path/to/patch/file

You can get the patch file by going to ⚙ D16692 Grease Pencil Surface Deform Modifier and selecting Download Raw Diff on the right. In some web browsers you will then need to right click on the page that appears and select Save as then save it somewhere.

2 Likes

If I try to put cycle I have this problem

./blender
Color management: using fallback mode for management
Color management: Error could not find role data role.
BLT_lang_init: 'locale' data path for translations not found, continuing
Read prefs: /home/bazza/.config/blender/3.3/config/userpref.blend
Color management: scene view "Filmic" not found, setting default "Standard".
blf_load_font_default: 'fonts' data path not found for 'droidsans.ttf', will not be able to display text
blf_load_font_default: 'fonts' data path not found for 'bmonofont-i18n.ttf', will not be able to display text
blf_load_font_default: 'fonts' data path not found for 'bmonofont-i18n.ttf', will not be able to display text
blf_load_font_default: 'fonts' data path not found for 'droidsans.ttf', will not be able to display text
blf_load_font_default: 'fonts' data path not found for 'bmonofont-i18n.ttf', will not be able to display text
Font data directory "fonts/" could not be detected!
bpy: couldn't find 'scripts/modules', blender probably won't start.
Freestyle: couldn't find 'scripts/freestyle/modules', Freestyle won't work properly.
ModuleNotFoundError: No module named 'bpy_types'
ModuleNotFoundError: No module named 'bpy_types'
ERROR (bpy.rna): source/blender/python/intern/bpy_rna.c:7336 pyrna_srna_ExternalType: failed to find 'bpy_types' module
ModuleNotFoundError: No module named 'bpy_types'
ModuleNotFoundError: No module named 'bpy_types'
ERROR (bpy.rna): source/blender/python/intern/bpy_rna.c:7336 pyrna_srna_ExternalType: failed to find 'bpy_types' module
ModuleNotFoundError: No module named 'bpy_types'
ERROR (bpy.rna): source/blender/python/intern/bpy_rna.c:7336 pyrna_srna_ExternalType: failed to find 'bpy_types' module
ModuleNotFoundError: No module named 'bpy_types'
ERROR (bpy.rna): source/blender/python/intern/bpy_rna.c:7336 pyrna_srna_ExternalType: failed to find 'bpy_types' module
ModuleNotFoundError: No module named 'bpy_types'
ERROR (bpy.rna): source/blender/python/intern/bpy_rna.c:7336 pyrna_srna_ExternalType: failed to find 'bpy_types' module
ModuleNotFoundError: No module named 'bpy_types'
ERROR (bpy.rna): source/blender/python/intern/bpy_rna.c:7336 pyrna_srna_ExternalType: failed to find 'bpy_types' module
ModuleNotFoundError: No module named 'bpy_types'
ERROR (bpy.rna): source/blender/python/intern/bpy_rna.c:7336 pyrna_srna_ExternalType: failed to find 'bpy_types' module
ModuleNotFoundError: No module named 'bpy_types'
ERROR (bpy.rna): source/blender/python/intern/bpy_rna.c:7336 pyrna_srna_ExternalType: failed to find 'bpy_types' module
ModuleNotFoundError: No module named 'bpy_types'
ERROR (bpy.rna): source/blender/python/intern/bpy_rna.c:7336 pyrna_srna_ExternalType: failed to find 'bpy_types' module
ModuleNotFoundError: No module named 'bpy'
Error: dropbox with unknown operator: WM_OT_drop_blend_file
Error: Python: ModuleNotFoundError: No module named 'bpy'

terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct null not valid
Abortado (`core' generado)

I don’t really understand what you mean with ‘try to put cycle’, but this looks like you forgot to do make install (or ninja install if you use ninja instead of make). The install is needed to copy all supporting files to the right location.

1 Like