[Bf-committers] Build error

Daniel Salazar - 3Developer.com zanqdo at gmail.com
Sun Jun 24 01:28:23 CEST 2012


Thanks a lot Sergey, I already had the libs from packman, I'm
downloading a clean source and also deleted my ffmpeg and oiio folders
from the svn libs leaving only boost and ocio from svn

will report back!

Daniel Salazar
patazstudio.com


On Sat, Jun 23, 2012 at 4:45 PM, Sergey Sharybin <sergey.vfx at gmail.com> wrote:
> Installed OpenSUSE 12.1 and successfully built recent trunk of Blender
> there.
>
> All i've done is based on existing documentation of building blender for
> OpenSUSE:
> http://wiki.blender.org/index.php/Dev:2.5/Doc/Building_Blender/Linux/OpenSUSE/CMake
>
> Apparently, there's no FFmpeg in standard OpenSUSE repository, so what is
> need is
> to add extra repository:
>
> $ sudo zypper addrepo http://packman.jacobs-university.de/suse/12.1/ packman
>
> Then installed all needed dependencies:
>
> $ sudo zypper install subversion gcc gcc-c++ libSDL-devel openal-soft-devel
> libpng-devel \
>    libjpeg-devel python3-devel libtiff-devel OpenEXR-devel boost-devel \
>    python-devel glew-devel cmake
>
> Then it's easier to compile OpenImageIO for this particular distro
> (wouldn't cause any
> issues like non-working jpeg textures which happens on Ubuntu).
>
> Sources of OIIO could be found here:
> https://sites.google.com/site/openimageio/
>
> After download, run in the terminal:
>
> $ tar -xf OpenImageIO-oiio-Release-1.0.6-1-g8088d01.tar.gz
> $ cd OpenImageIO-oiio-8088d01
> $ mkdir build
> $ cd build
> $ cmake \
>        -D CMAKE_BUILD_TYPE=Release \
>        -D CMAKE_INSTALL_PREFIX=/opt/lib/oiio-1.0.6 \
>        -D BUILDSTATIC=ON \
>        -D CMAKE_CXX_FLAGS:STRING="-fPIC" \
>        ../src
> $ make
> $ sudo make install
>
> Then it's needed to clone Blender's svn to somewhere on local machine:
>
> $ svn co https://svn.blender.org/svnroot/bf-blender/trunk/blenderblender-svn
> $ mkdir build-blender
> $ cmake \
>    -D CMAKE_BUILD_TYPE=Release \
>    -D OPENIMAGEIO_ROOT_DIR=/opt/lib/oiio-1.0.6 \
>    ../blender
> $ make install
>
> And voila, ./bin/blender works perfectly.
>
> P.S. OpenJpeg was currently disabled, would check on if it does work and
> why if not tomorrow.
>
> --
> With best regards, Sergey Sharybin
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers


More information about the Bf-committers mailing list