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