Unleash the power of 3D
#19762 Likes: 0
linuxdev
  • Posts 25

Well, as I wrote, I’m only using blender/bforartists occasionally, and it worked fine for me that way :-P

Also, Blender’s build system is just as messy as Blender’s UI, lol ! Why the Hell don’t they setup the *default* build options to the release ones ??? Plus lot’s off stuff that does not get enabled is not listed as being OFF in the options output at the build stage, making missing things hard to spot.

Thanks for your pointer to the blender_release.cmake file: I could add the missing defines based on it.

Anyway… I produced a second release, this time with a lot more stuff enabled, and I found a way to work around the msgfmt bug in the cmake file that caused a failure to build the internationalized *.mo files (I patched the cmake file to just use the *.mo files that I produce in the *.spec file script before the build stage). I also had to create the Alembic library rpm packages since PCLinuxOS did not have them.

Here is the new feature table for the new release:

Blender Configuration
=====================

Build Options:
- WITH_GAMEENGINE ON
- WITH_PLAYER ON
- WITH_BULLET ON
- WITH_IK_SOLVER ON
- WITH_IK_ITASC ON
- WITH_OPENCOLLADA ON
- WITH_FFTW3 ON
- WITH_INTERNATIONAL ON
- WITH_INPUT_NDOF ON
- WITH_CYCLES ON
- WITH_FREESTYLE ON
- WITH_OPENCOLORIO ON
- WITH_OPENVDB OFF
- WITH_ALEMBIC ON

Compiler Options:
- WITH_BUILDINFO ON
- WITH_OPENMP ON
- WITH_RAYOPTIMIZATION ON

System Options:
- WITH_INSTALL_PORTABLE ON
- WITH_X11_ALPHA ON
- WITH_X11_XF86VMODE ON
- WITH_X11_XFIXES ON
- WITH_X11_XINPUT ON
- WITH_MEM_JEMALLOC OFF
- WITH_MEM_VALGRIND OFF
- WITH_SYSTEM_GLEW ON
- WITH_SYSTEM_OPENJPEG OFF

Image Formats:
- WITH_OPENIMAGEIO ON
- WITH_IMAGE_CINEON ON
- WITH_IMAGE_DDS ON
- WITH_IMAGE_HDR ON
- WITH_IMAGE_OPENEXR ON
- WITH_IMAGE_OPENJPEG ON
- WITH_IMAGE_TIFF ON

Audio:
- WITH_OPENAL ON
- WITH_SDL ON
- WITH_SDL_DYNLOAD ON
- WITH_JACK ON
- WITH_JACK_DYNLOAD ON
- WITH_CODEC_AVI ON
- WITH_CODEC_FFMPEG ON
- WITH_CODEC_SNDFILE ON

Compression:
- WITH_LZMA ON
- WITH_LZO ON

Python:
- WITH_PYTHON_INSTALL ON
- WITH_PYTHON_INSTALL_NUMPY ON
- WITH_PYTHON_MODULE OFF
- WITH_PYTHON_SAFETY OFF

Modifiers:
- WITH_MOD_REMESH ON
- WITH_MOD_FLUID ON
- WITH_MOD_OCEANSIM ON

OpenGL:
- WITH_GLEW_ES OFF
- WITH_GLU ON
- WITH_GL_EGL OFF
- WITH_GL_PROFILE_COMPAT ON
- WITH_GL_PROFILE_CORE OFF
- WITH_GL_PROFILE_ES20 OFF

Note that jemalloc is disabled on purpose (useless for such programs: the glibc malloc() performs just as good).
Also, I tried WITH_GL_PROFILE_CORE=ON but it causes the program to crash with a “trap divide error”, not sure why…

There are still a few things missing (in excess of OpenVDB):

— Could NOT find OSL (missing: _osl_LIBRARIES OSL_INCLUDE_DIR OSL_COMPILER)
— OSL not found, disabling it from Cycles

— Could NOT find OpenSubdiv (missing: _opensubdiv_LIBRARIES OPENSUBDIV_INCLUDE_DIR)
— OpenSubdiv not found

CUDA_TOOLKIT_ROOT_DIR not found or specified
— Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY)
— CUDA compiler not found, disabling WITH_CYCLES_CUDA_BINARIES

But well, I think it’s a decent release already (certainly more than what I personally need).