System Information
Ubuntu 16.04
Blender Version
Current master
Short description of error
During the blender generation there is linking error with the library generated through "make deps". The linking errors are due to sndio library called from SDL and ffmpeg static libs.
With the following patch blender run like a charm in Ubuntu 16.04 using "make deps" generated libs.
--- build_files/build_environment/cmake/ffmpeg.cmake +++ build_files/build_environment/cmake/ffmpeg.cmake @@ -43,6 +43,7 @@ else() --enable-static --disable-shared --enable-libopenjpeg + --disable-sndio ) endif() @@ -112,6 +113,7 @@ ExternalProject_Add(external_ffmpeg --disable-indev=alsa --disable-outdev=alsa --disable-crystalhd + --disable-sndio BUILD_COMMAND ${CONFIGURE_ENV_NO_PERL} && cd ${BUILD_DIR}/ffmpeg/src/external_ffmpeg/ && make -j${MAKE_THREADS} INSTALL_COMMAND ${CONFIGURE_ENV_NO_PERL} && cd ${BUILD_DIR}/ffmpeg/src/external_ffmpeg/ && make install CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${LIBDIR}/ffmpeg ${DEFAULT_CMAKE_FLAGS} --- build_files/build_environment/cmake/sdl.cmake +++ build_files/build_environment/cmake/sdl.cmake @@ -25,6 +25,7 @@ else() -DSDL_STATIC=ON -DSDL_SHARED=OFF -DSDL_VIDEO=OFF + -DSNDIO=OFF ) endif()