mib2berlin wrote:Aenima, it is not a distro problem.
Official Blender work on all distros and you don´t need to install OIIO or OSL for it.
If Blender for Octane is compiled like the release build we have no problems anymore.
I think the linux version need a bit fine tuning to get it more convenient for non Linux experts.
Not just "fine tuning". And as I see now -
install_deps.sh will
NEVER let you to "compile like the release build" (despite the fact it was the purpose of adding
install_deps.sh by Blender developers).
The reason is - just terrible quality of some libraries releases on which Blender depends. This fff@*^#g
libOpenImageIO as an example. In the version on which the current Blender version depends - this library has a bug in sources which does not let to compile it as
STATIC library. And it seems that not only me has seen this - the
install_deps.sh script has HARDCODED STUB which lets to only compile this library as SHARED library. So, no matter that you give the "
--all-static" key to this script - it anyway prepares the SHARED
libOpenImageIO.so library for curent Blender compilation, and you all get this non-resolved dependency in your systems, as this f@*^#g shared library is NEVER included into Linux distributives by default...
I've looked at default Blender binary - and it does NOT contain this dependency. So, it seems that Blender developers do not use THE SAME build-configuration which is prepared by their own
install_deps.sh script. As opposed to what this script does - they compile Blender with STATIC version of OpenImageIO.
So, to achieve the same goal - build the Blender which will not depend e.g. on shared OpenImageIO - I was forced to do the work of OpenImageIO developers. Just have spent the time now to find and fix the bugs in this
v1.1 library sources, compiled the static version of it, and assembled the Blender against it statically... And have fixed the
install_deps.sh - now it patches this OpenImageIO sources before compiling them to fix this bug, and compiles it STATICALLY.
It apears that just to get the OctaneRender plugin for Blender - I need not only fix some Blender bugs and compile all the full Blender distributive, I need to fix all the surrounding libraries bugs (on which Blender depends) and compile the static versions of them too... Too much work just for the plugin purpose...
Linux software and libraries developers should understand already that dynamic linking of user-applications and even libraries for
home desktop OS - is the evil
, throwing the non-experienced users into this dependency-resolving nightmare. The memory is so cheap nowadays, that it is simplier to have a lot of memory than make this dependency-resolving every time to save a gigabyte or two...
OK, next version is
HERE.