Hi Blender Dev talk forum!
I have been trying to build Blender on a Docker image and things have been progressing up until this point where I am stuck.
Essentially, I am building Blender from sources on the
manylinux Docker image. This is a somewhat outdated version of CentOS that does not come with
yum install-able Blender dependencies.
When I get to building Blender, I run into an OpenImageIO error, stating that the
dist directory created when I built OpenImageIO from sources does not contain the expected header files.
[ 20%] Built target bf_freestyle Scanning dependencies of target extern_cuew [ 20%] Building C object extern/cuew/CMakeFiles/extern_cuew.dir/src/cuew.c.o [ 20%] Linking C static library ../../lib/libextern_cuew.a [ 20%] Built target extern_cuew Scanning dependencies of target cycles_subd [ 20%] Building CXX object intern/cycles/subd/CMakeFiles/cycles_subd.dir/subd_dice.cpp.o cc1plus: warning: /blenderpy/blender/build/oiio/dist/linux64/include: No such file or directory [- Wmissing-include-dirs] cc1plus: warning: /blenderpy/blender/build/oiio/dist/linux64/include/OpenImageIO: No such file or directory [-Wmissing-include-dirs] from /blenderpy/blender/intern/cycles/subd/subd_dice.cpp:17: /blenderpy/blender/intern/cycles/subd/../util/util_param.h:23:10: fatal error: OpenImageIO/paramlist.h: No such file or directory 23 | #include <OpenImageIO/paramlist.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [intern/cycles/subd/CMakeFiles/cycles_subd.dir/subd_dice.cpp.o] Error 1 make: *** [intern/cycles/subd/CMakeFiles/cycles_subd.dir/all] Error 2 make: *** [all] Error 2
When I use the OpenImageIO available from
yum, I get an error that an OpenImageIO type is not literal, so I figure that the version available on
yum is probably pretty outdated.
If someone could help me with this it would be much appreciated since I have been struggling with this one for a while.
Here is my Dockerfile, thanks in advance!