Well i'm trying to build OIIO downloaded from Git. I solved a boost error in OIIO cmake config by pointing it to the svn boost libs and cmake finishes successfully, however compilation still fails!
My cmake configuration is: OPENJPEG_INCLUDE_DIR /usr/include OPENJPEG_OPENJPEG_LIBRARY /usr/lib64/libopenjpeg.so and I'm 100% possitive I got: /usr/include/openjpeg.h /usr/lib64/libopenjpeg.so After make I get this: [ 1%] Building CXX object libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/jpeg2000.imageio/jpeg2000input.cpp.o /home/zanqdo/blender/trunk/lib/linux64/oiio/src/jpeg2000.imageio/jpeg2000input.cpp:32:22: fatal error: openjpeg.h: No such file or directory compilation terminated. make[2]: *** [libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/jpeg2000.imageio/jpeg2000input.cpp.o] Error 1 make[1]: *** [libOpenImageIO/CMakeFiles/OpenImageIO.dir/all] Error 2 make: *** [all] Error 2 weird!!! Daniel Salazar patazstudio.com On Sat, Jun 23, 2012 at 5:28 PM, Daniel Salazar - 3Developer.com < zan...@gmail.com> wrote: > 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....@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@blender.org > > http://lists.blender.org/mailman/listinfo/bf-committers > _______________________________________________ Bf-committers mailing list Bf-committers@blender.org http://lists.blender.org/mailman/listinfo/bf-committers