i’m using 32-bit-debian-buster and tried to install blender 2.82.a from debian-buster-backports which led to a blender-crash on startup. problem already described here.
so i tried to build blender from source. i followed the “building-blender-guidelines for generic distro”. since i have 32-bit, i didn’t use pre-compiled libraries. i used
install_deps.sh and saw that it has two flaws:
- it ignores my
--skipto some extent
- it sometimes seems to overlook already successfully compiled stuff
i had problems compiling
Embree (probably because they cannot be used for 32-bit), so i executed
--skip-usd --skip-Embree. this was successful, but
CMakeCache.txt contained the lines
WITH_CYCLES_EMBREE:BOOL=ON, which would lead to errors when using
make. so i had to manually change these lines to
OFF before using
install_deps.sh led to successful compilation of
OpenEXR, but at the next step, when compiling
OpenImageIO, it stopped saying
Could NOT find OpenEXR. the solution for me here was to manually use
apt-get install libopenexr-dev. (at some point, i had to do the same trick again using
apt-get install libopenimageio-dev).
make was successful after:
3) making manual changes in
4) making changes in blender-git/blender/source/blender/blenlib/intern/session_uuid.c
i had to change
in addition to
Embree, i had to turn off
TBB, since i got an error which is described here: ⚓ T79460 Can't compile master branch on AWS EC2 c5.24xlarge instance.
the compiler gave the hint, that in
atomic_add_and_fetch_uint64 should be changed to
atomic_add_and_fetch_uint32. so i did this (there are two lines where this shows up).
i didn’t really try if blender crashes during some tasks. i can just confirm that i can start it and clicking around a bit works