openimageio

getting an error for the lib

openimageio
oiio

last revision 50572

Does anyone know about this?

EDIT:

I found:
http://wiki.blender.org/index.php/Dev:2.6/Source/Render/Cycles/Building

I find it interesting that this is the first revision that I have built with this tupe of error.

If you build the source with GPU capabilities is there a way to go back to CPU capabilities?

Did you try installing OIIO to get rid of the error?

Uncle Entity,

Last night I made a command decision to reinstall my desktop OS. My OS is Linux Mint. The reasons are long-winded.

After the install I started installing the Blender Dev environment. This desktop is now a Blender Dev dedicated computer.

I was playing around with building scons but my main method is cmake. I do not normally use the custom configurations with cmake. I usually “make” and “make install” then “sudo apt-get install blender” for testing.

In the past I have had no issues. (although I have been meaning to ask if it is normal to have two executables, the first 2.62 and the second 2.63, but that is another story)

This time I received the openimageio error. I googled and found the website. Read about it.

It was late and so before shutdown I posted this thread.

Since then I found the wiki.blender page regarding Cycles and building.


To answer your question:

No, I have not yet installed OIIO. I am now away from the computer and I know that I have to install OIIO in order to rule it out as the cause of the error.


One last note:

I still need to research and learn how to install OIIO on an (Ubuntu based) Linux Mint 13 64-bit w/xfce OS. If you have any pointers on how to do this, it would kindly be appreciated.

Cheers and thank you for the reply.


UPDATE:

Ok I reinstalled using my old step by step method based on the wiki.blender.org and everything works fine.

My general conclusions are that setting up a combination scons/cmake environment may have complications.

I do not know if learning scons is a waste of time. I do not know if OIIO is necessary for me to learn at this time.

This is a distraction from what I was originally researching but I know now more development environment trivia at least.

I will keep this thread unsolved for the time being.

I’m sort-of in the same boat. Linux Mint 13 64-bit, using cmake to compile. I’ve only JUST learned how to use the make command… can’t say I’m anywhere proficient at it yet, nor at Linux CLI either (but it’s getting there, bit by bit). My issue is that when I try to follow certain pages like:

http://wiki.blender.org/index.php/Dev:2.6/Source/Render/Cycles/Building

or

http://wiki.blender.org/index.php/Dev:2.5/Doc/Building_Blender/Linux/Ubuntu/CMake

there’s a few assumptions that I don’t realise exist or which I don’t quite understand which cause the process to fail. On the latter link, I was fortunate enough to have someone on IRC walk me through the intricacies of cmake-gui. Whereas with the first link, I have this statement from README:

Remember that you need to set the environment variable
IMAGEIO_LIBRARY_PATH to point to the ‘lib’ directory where OpenImageIO
is installed, or else it will not be able to find the plugins.

…and in the INSTALL file, it indicated:

After you build OpenImageIO, if you compiled with the EMBEDPLUGINS=0 flag
you will need to set the environment variable OIIO_LIBRARY_PATH to point
to the ‘lib’ directory where OpenImageIO is installed, or else it will
not be able to find the plugins.

Well, I had sucessfully compiled Boost without errors. And I had done:

cmake …/…/src/ -DBUILDSTATIC=1 -DBOOST_CUSTOM=1 -DBoost_INCLUDE_DIRS=pwd/…/…/…/boost/include/ -DBoost_LIBRARY_DIRS=pwd/…/…/…/boost/lib -DBoost_LIBRARIES=“boost_date_time;boost_filesystem ;boost_thread;boost_regex;boost_system” -DCMAKE_INSTALL_PREFIX=pwd/…/…/dist/linux

without any issues but the:

make -j4 install

…generated the following errors:

Scanning dependencies of target OpenImageIO
[ 1%] [ 2%] [ 2%] [ 3%] Building CXX object libOpenImageIO/CMakeFiles/OpenImageIO.dir/imagebuf.cpp.o
Building CXX object libOpenImageIO/CMakeFiles/OpenImageIO.dir/imagebufalgo_orient.cpp.o
Building CXX object libOpenImageIO/CMakeFiles/OpenImageIO.dir/formatspec.cpp.o
Building CXX object libOpenImageIO/CMakeFiles/OpenImageIO.dir/imagebufalgo.cpp.o
/home/robyn/oiio/src/libOpenImageIO/imagebuf.cpp:40:32: fatal error: boost/scoped_ptr.hpp: No such file or directory
compilation terminated.
/home/robyn/oiio/src/libOpenImageIO/formatspec.cpp:37:31: fatal error: boost/tokenizer.hpp: No such file or directory
compilation terminated.
make[2]: *** [libOpenImageIO/CMakeFiles/OpenImageIO.dir/imagebuf.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs…
make[2]: *** [libOpenImageIO/CMakeFiles/OpenImageIO.dir/formatspec.cpp.o] Error 1
make[1]: *** [libOpenImageIO/CMakeFiles/OpenImageIO.dir/all] Error 2
make: *** [all] Error 2

I actually want to compile with the EMBEDPLUGINS=0 flag set because I need the:

libjpeg62-dev

file that was part of the new Boost package, not the:

libjpeg-dev
libjpeg8-dev
libtiff4-dev
libjpeg-turbo8-dev

… jpg support files already on my system, which needed to stay there.

Anyway, all that to say: where can I go to get some clear step-by-step instructions on things like setting environment variables and compiling all this with flags set and figuring out what the path should be for OIIO_LIBRARY_PATH.

I really think that for those of us who encounter the odd issue with compiling, there needs to be a section to discuss it. The tech support section appears to be virtually dead. I’ve still got issues with - I think - oiio in that I’m not getting jpeg support in my builds, whilst those that I get via PPA (IRIE Shinsuke) clearly does have jpeg support.

Does this mean that whoever puts together the PPA has access to a newer, updated version of Boost/OiiO and what does the home compiler have to do to make it all work? I do have the two libraries (Boost and OiiO) downloaded and - again, I think) compiled corrected, but getting them included into my Blender builds is an elusive process atm.:confused:

Today I join the club of the unability to build blender in linux mint 14.

The install-deps.sh does all well in downloading and compiling the libraries but then when just compiling blender (without cycles, without osl, only blender) it already says there is problem with some types in oiio.

So anyone that is able to compile in mint 14 please post here what you did to solve this oiio problem.

I just downloaded from PPA the OiiO 1.1 files… it seems that Shinsuke (Irie) seems to be slightly more in touch with the latest requirements.
Out of respect for your last efforts and for publishing those efforts - thank YOU, Bao2 - I’m actually going to go through the steps I’ve taken of late to compile my own.

So,

svn up

… and during THAT process got this!

U build_files/cmake/cmake_static_check_cppcheck.py
Conflict discovered in ‘build_files/build_environment/install_deps.sh’.
Select: § postpone, (df) diff-full, (e) edit,
(mc) mine-conflict, (tc) theirs-conflict,
(s) show all options:

No idea how to proceed. Going to save the original file, in any event.

So, I made a copy, then fully accepted their version.

BTW, not sure if it makes a difference, but I’m staying with Mint 13… 64-bit. Now on revision 53047. Re-running the script.

Which gives this:

[email protected] ~/blender-svn $ ./blender/build_files/build_environment/install_deps.sh

Installing dependencies for DEB-based distribution

Source code of dependencies needed to be compiled will be downloaded and extracted into ‘/home/robyn/src/blender-deps’.
Built libs of dependencies needed to be compiled will be installed into ‘/opt/lib’.
Please edit $SRC and/or $INST variables at the beginning of this script,
or use --source/–install options, if you want to use other paths!

Number of threads for building: 2 (automatically detected, use --threads=<nbr> to override it).
Full install: false (use --with-all option to enable it).
Building OSL: false (use --with-osl option to enable it).
All static linking: false (use --all-static option to enable it).

Use --help to show all available options!

But here’s the outcome of the running of that script:

Ign http://packages.linuxmint.com maya InRelease
Ign http://archive.canonical.com precise InRelease
Ign http://ppa.launchpad.net precise InRelease
Ign http://ppa.launchpad.net precise InRelease
Ign http://ppa.launchpad.net precise InRelease
Get:1 http://packages.linuxmint.com maya Release.gpg [197 B]
Ign http://archive.ubuntu.com precise InRelease
Ign http://archive.ubuntu.com precise-updates InRelease
Get:2 http://packages.linuxmint.com maya Release [17.7 kB]
Hit http://archive.canonical.com precise Release.gpg
Ign http://ppa.launchpad.net precise InRelease
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://archive.ubuntu.com precise Release.gpg
Ign http://security.ubuntu.com precise-security InRelease
Hit http://archive.canonical.com precise Release
Get:3 http://archive.ubuntu.com precise-updates Release.gpg [198 B]
Hit http://ppa.launchpad.net precise Release.gpg
Get:4 http://security.ubuntu.com precise-security Release.gpg [198 B]
Get:5 http://packages.linuxmint.com maya/main amd64 Packages [18.3 kB]
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ppa.launchpad.net precise Release
Hit http://archive.ubuntu.com precise Release
Hit http://archive.canonical.com precise/partner amd64 Packages
Hit http://packages.medibuntu.org precise InRelease
Get:6 http://security.ubuntu.com precise-security Release [49.6 kB]
Hit http://ppa.launchpad.net precise Release
Get:7 http://archive.ubuntu.com precise-updates Release [49.6 kB]
Hit http://archive.canonical.com precise/partner i386 Packages
Ign http://archive.canonical.com precise/partner TranslationIndex
Get:8 http://packages.linuxmint.com maya/upstream amd64 Packages [10.6 kB]
Hit http://ppa.launchpad.net precise Release
Hit http://ppa.launchpad.net precise Release
Get:9 http://packages.linuxmint.com maya/import amd64 Packages [41.4 kB]
Hit http://packages.medibuntu.org precise/free amd64 Packages
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main amd64 Packages
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Get:10 http://security.ubuntu.com precise-security/main amd64 Packages [208 kB]
Get:11 http://packages.linuxmint.com maya/backport amd64 Packages [43.5 kB]
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main amd64 Packages
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ppa.launchpad.net precise/main amd64 Packages
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Hit http://archive.ubuntu.com precise/main amd64 Packages
Hit http://archive.ubuntu.com precise/restricted amd64 Packages
Hit http://archive.ubuntu.com precise/universe amd64 Packages
Hit http://archive.ubuntu.com precise/multiverse amd64 Packages
Hit http://archive.ubuntu.com precise/main i386 Packages
Hit http://packages.medibuntu.org precise/non-free amd64 Packages
Get:12 http://packages.linuxmint.com maya/main i386 Packages [18.2 kB]
Get:13 http://packages.linuxmint.com maya/upstream i386 Packages [10.6 kB]
Get:14 http://packages.linuxmint.com maya/import i386 Packages [41.7 kB]
Hit http://ppa.launchpad.net precise/main amd64 Packages
Hit http://archive.ubuntu.com precise/restricted i386 Packages
Hit http://archive.ubuntu.com precise/universe i386 Packages
Hit http://archive.ubuntu.com precise/multiverse i386 Packages
Hit http://archive.ubuntu.com precise/main TranslationIndex
Hit http://archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise/restricted TranslationIndex
Hit http://archive.ubuntu.com precise/universe TranslationIndex
Get:15 http://archive.ubuntu.com precise-updates/main amd64 Packages [441 kB]
Get:16 http://packages.linuxmint.com maya/backport i386 Packages [43.5 kB]
Hit http://ppa.launchpad.net precise/main i386 Packages
Ign http://ppa.launchpad.net precise/main TranslationIndex
Ign http://archive.canonical.com precise/partner Translation-en
Ign http://packages.linuxmint.com maya/backport TranslationIndex
Ign http://packages.linuxmint.com maya/import TranslationIndex
Ign http://packages.linuxmint.com maya/main TranslationIndex
Ign http://packages.linuxmint.com maya/upstream TranslationIndex
Hit http://packages.medibuntu.org precise/free i386 Packages
Hit http://packages.medibuntu.org precise/non-free i386 Packages
Get:17 http://security.ubuntu.com precise-security/restricted amd64 Packages [3969 B]
Get:18 http://security.ubuntu.com precise-security/universe amd64 Packages [58.4 kB]
Ign http://packages.medibuntu.org precise/free TranslationIndex
Ign http://packages.medibuntu.org precise/non-free TranslationIndex
Get:19 http://security.ubuntu.com precise-security/multiverse amd64 Packages [2183 B]
Get:20 http://security.ubuntu.com precise-security/main i386 Packages [215 kB]
Get:21 http://archive.ubuntu.com precise-updates/restricted amd64 Packages [8366 B]
Get:22 http://archive.ubuntu.com precise-updates/universe amd64 Packages [161 kB]
Ign http://packages.linuxmint.com maya/backport Translation-en
Ign http://packages.linuxmint.com maya/import Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://packages.linuxmint.com maya/main Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en
Ign http://packages.linuxmint.com maya/upstream Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en
Get:23 http://archive.ubuntu.com precise-updates/multiverse amd64 Packages [8671 B]
Get:24 http://archive.ubuntu.com precise-updates/main i386 Packages [449 kB]
Get:25 http://security.ubuntu.com precise-security/restricted i386 Packages [3968 B]
Get:26 http://security.ubuntu.com precise-security/universe i386 Packages [59.1 kB]
Get:27 http://security.ubuntu.com precise-security/multiverse i386 Packages [2392 B]
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
Get:28 http://archive.ubuntu.com precise-updates/restricted i386 Packages [8374 B]
Get:29 http://archive.ubuntu.com precise-updates/universe i386 Packages [162 kB]
Get:30 http://archive.ubuntu.com precise-updates/multiverse i386 Packages [9675 B]

…and…

…the end of that run is the following…

Hit http://archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://archive.ubuntu.com precise-updates/universe TranslationIndex
Ign http://packages.medibuntu.org precise/free Translation-en
Hit http://archive.ubuntu.com precise/main Translation-en
Hit http://archive.ubuntu.com precise/multiverse Translation-en
Ign http://packages.medibuntu.org precise/non-free Translation-en
Hit http://archive.ubuntu.com precise/restricted Translation-en
Hit http://archive.ubuntu.com precise/universe Translation-en
Hit http://archive.ubuntu.com precise-updates/main Translation-en
Hit http://archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://archive.ubuntu.com precise-updates/universe Translation-en
Fetched 2146 kB in 14s (153 kB/s)
Reading package lists… Done

Reading package lists… Done
Building dependency tree
Reading state information… Done
Note, selecting ‘libpng12-dev’ instead of ‘libpng-dev’
Note, selecting ‘libtiff4-dev’ instead of ‘libtiff-dev’
Note, selecting ‘libglew1.6-dev’ instead of ‘libglew-dev’
bzip2 is already the newest version.
gawk is already the newest version.
libbz2-dev is already the newest version.
libfftw3-dev is already the newest version.
libfreetype6-dev is already the newest version.
libglew1.6-dev is already the newest version.
libjpeg-dev is already the newest version.
liblzma-dev is already the newest version.
libncurses5-dev is already the newest version.
libopenal-dev is already the newest version.
libopenexr-dev is already the newest version.
libpng12-dev is already the newest version.
libreadline-dev is already the newest version.
libsdl1.2-dev is already the newest version.
libtheora-dev is already the newest version.
libvorbis-dev is already the newest version.
libX11-dev is already the newest version.
libxi-dev is already the newest version.
patch is already the newest version.
python-dev is already the newest version.
scons is already the newest version.
wget is already the newest version.
yasm is already the newest version.
libopenjpeg-dev is already the newest version.
build-essential is already the newest version.
cmake is already the newest version.
libsqlite3-dev is already the newest version.
libssl-dev is already the newest version.
libtiff4-dev is already the newest version.
The following packages were automatically installed and are no longer required:
libboost-filesystem1.46.1 libboost-system1.46.1 nvidia-settings-updates
libboost-thread1.46.1 libgsoap1 libboost-regex1.46.1
Use ‘apt-get autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 23 not upgraded.

Reading package lists… Done
Building dependency tree
Reading state information… Done
libx264-dev is already the newest version.
The following packages were automatically installed and are no longer required:
libboost-filesystem1.46.1 libboost-system1.46.1 nvidia-settings-updates
libboost-thread1.46.1 libgsoap1 libboost-regex1.46.1
Use ‘apt-get autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 23 not upgraded.

Reading package lists… Done
Building dependency tree
Reading state information… Done
python3.3-dev is already the newest version.
The following packages were automatically installed and are no longer required:
libboost-filesystem1.46.1 libboost-system1.46.1 nvidia-settings-updates
libboost-thread1.46.1 libgsoap1 libboost-regex1.46.1
Use ‘apt-get autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 23 not upgraded.

Own Boost-1.51.0 is up to date, nothing to do!
If you want to force rebuild of this lib, use the --force-boost option.

Own OpenColorIO-1.0.7 is up to date, nothing to do!
If you want to force rebuild of this lib, use the --force-ocio option.

Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
libboost-filesystem1.46.1 libboost-system1.46.1 nvidia-settings-updates
libboost-thread1.46.1 libgsoap1 libboost-regex1.46.1
Use ‘apt-get autoremove’ to remove them.
Suggested packages:
openimageio-doc
The following NEW packages will be installed:
libopenimageio-dev
0 upgraded, 1 newly installed, 0 to remove and 23 not upgraded.
Need to get 166 kB of archives.
After this operation, 693 kB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/irie/blender/ubuntu/ precise/main libopenimageio-dev amd64 1.1.2-0irie2~precise1 [166 kB]
Fetched 166 kB in 3s (49.6 kB/s)
Selecting previously unselected package libopenimageio-dev.
(Reading database … 206778 files and directories currently installed.)
Unpacking libopenimageio-dev (from …/libopenimageio-dev_1.1.2-0irie2~precise1_amd64.deb) …
Setting up libopenimageio-dev (1.1.2-0irie2~precise1) …

Own ffmpeg-1.0 is up to date, nothing to do!
If you want to force rebuild of this lib, use the --force-ffmpeg option.

If you’re using CMake add this to your configuration flags:
-D BOOST_ROOT=/opt/lib/boost
-D Boost_NO_SYSTEM_PATHS=ON
-D WITH_CODEC_FFMPEG=ON
-D FFMPEG=/opt/lib/ffmpeg
-D FFMPEG_LIBRARIES=‘avformat;avcodec;avutil;avdevice;swscale;rt;theoraenc;theora;theoradec;vorbisenc;vorbisfile;vorbis;x264;openjpeg’

If you’re using SCons add this to your user-config:
BF_PYTHON = ‘/opt/lib/python-3.3’
BF_PYTHON_ABI_FLAGS = ‘m’
BF_OCIO = ‘/opt/lib/ocio’
BF_OIIO = ‘/opt/lib/oiio’
BF_BOOST = ‘/opt/lib/boost’
BF_FFMPEG = ‘/opt/lib/ffmpeg’
BF_FFMPEG_LIB = ‘avformat avcodec swscale avutil avdevice theoraenc theora theoradec vorbisenc vorbisfile vorbis x264 openjpeg’

WARNING: If this script had to build boost into /opt/lib, and you are dynamically linking
blender against it, you will have to run those commands as root user:

echo "/opt/lib/boost/lib" &gt; /etc/ld.so.conf.d/boost.conf
ldconfig

ATTENTION: Post 29 has and updated procedure. This is not working now anymore:

Robyn, I was unable to compile in linuxmint14 ( = ubuntu 12.10) it gives problems that I think is the compiler (4.7.2) or perhaps something inside boost or oiio. I did a lot of tries and no way.

But I was able to compile in ubuntu12.04 (linuxmint 13).

So if you want we can go step by step to compile blender with Cycles (but no OSL):

STEP BY STEP INSTRUCTIONS:

Installing some libraries and programs we are going to use (if you already have them it will do nothing so run this
line in a terminal as it is, don’t change nothing)

sudo apt-get install g++ gawk cmake cmake-curses-gui scons subversion git
yasm patch bzip2 build-essential gettext wget libjpeg-dev libopenjpeg-dev libtiff-dev
libpng-dev libopenexr-dev libmp3lame-dev libogg-dev libfaac-dev libfaad-dev
libschroedinger-dev libvorbis-dev libtheora-dev libx264-dev libx11-dev libxi-dev
libsndfile1-dev libfftw3-dev libopenal-dev libalut-dev libglu1-mesa-dev
libsdl1.2-dev libfreetype6-dev libsamplerate0-dev libavdevice-dev libavformat-dev
libavutil-dev libavcodec-dev libjack-jackd2-dev libswscale-dev freeglut3-dev
libglew-dev libboost-all-dev libspnav-dev spacenavd libsqlite3-dev libbz2-dev
libncurses5-dev libssl-dev liblzma-dev libreadline-dev

First thing: you have a problem with your svn folder (blender source folder) so the best is to delete the folder and download them again. BUT BEFORE do a backup of the whole folder:

Right click on the /home/robyn/blender-svn and choose compress to zip in case you have something there you don’t want to loose. I for example have several folders with my building scripts (we will create one too in this mini tutorial)). Rename this backup of the old svn: /home/robyn/svnold.zip

So right click on this folder /home/robyn/blender-svn and delete it, and create it again, enter in it and download the source:

mkdir /home/robyn/blender-svn

cd /home/robyn/blender-svn

svn co https://svn.blender.org/svnroot/bf-blender/trunk/blender

Is good to have a backup of this blender source folder too. Call it svnnew1.zip. The svn program can go crazy and you would have to download the whole thing again if you don’t have backups. Or you can to try a patch and after it just recover the source folder from the backup. This backup contains all the hidden files the svn program uses too so it works flawlessly).

Well, now we have our source code in /home/robyn/blender-svn/blender

When you want to update the source you do:

cd /home/robyn/blender-svn/blender
svn up

But if you want to update to an exact revision (because you are going to patch for example and you need revision 52955 the patch was created against):

cd /home/robyn/blender-svn/blender
svn update -r 52955

If you had a revision superior or inferior to 52955 will not matter. svn will jump to the revision you indicated.

When using first time svn in a new linux installation, it complains:

svn: OPTIONS of ‘https://svn.blender.org/svnroot/bf-blender/trunk/blender’: Certificate verification error: signed using insecure algorithm (https://svn.blender.org)

To fix it open nautilus and go to your /home/robyn folder and in nautilus menu: View/ShowHiddenFiles
and open the file /home/robyn/.subversion/servers and add a new line at the end of this file with this:

ssl-trust-default-ca = no

Now when using svn it will ask and we answer pressing “p” (permanently) so it will not complain again.

Building libraries:

There is a install-deps.sh script that we will not use (I had problems and I am going to change certain things to be able to compile):

Python 3.3:

Will download it in a folder /home/robyn/src/blender-deps so we create the folder, enter the folder, download, untar and enter the new folder:

mkdir -p /home/robyn/src/blender-deps

cd /home/robyn/src/blender-deps

wget http://python.org/ftp/python/3.3.0/Python-3.3.0.tar.bz2

tar -C /home/robyn/src/blender-deps -xf /home/robyn/src/blender-deps/Python-3.3.0.tar.bz2

cd /home/robyn/src/blender-deps/Python-3.3.0

Before compiling python we create the folder where it is going to be placed:

mkdir -p /home/robyn/blender-svn/lib/linux64

If you already had this folder /home/robyn/blender-svn/lib/linux64, delete all the folders and files inside it (make backup before of course).

At this moment in the /blender-svn folder you have these folders:
/blender (source code)
/lib/linux64 (here we will place all the libraries and must be void at this moment)

We are yet inside the folder /home/robyn/src/blender-deps/Python-3.3.0
and now we configure it (I do different than install-deps.sh script does to avoid an error):

./configure --prefix=/home/robyn/blender-svn/lib/linux64/python-3.3.0 --enable-loadable-sqlite-extensions --with-dbmliborder=bdb --with-computed-gotos --with-pymalloc --enable-shared

make -j5 && make install

make clean

ln -s /home/robyn/blender-svn/lib/linux64/python-3.3.0 /home/robyn/blender-svn/lib/linux64/python-3.3

You will have now in /home/robyn/blender-svn/lib/linux64 two folders. One is just a link to the other:
/python-3.3
/python-3.3.0

Boost 1.51.0:

Download, untar, compile…

cd /home/robyn/src/blender-deps

wget -c “http://sourceforge.net/projects/boost/files/boost/1.51.0/boost_1_51_0.tar.bz2/download” -O /home/robyn/src/blender-deps/boost-1.51.0.tar.bz2

tar -C /home/robyn/src/blender-deps --transform “s,(./?)boost_1_[^/]+(.),\1boost-1.51.0\2,x” -xf /home/robyn/src/blender-deps/boost-1.51.0.tar.bz2

cd /home/robyn/src/blender-deps/boost-1.51.0

./bootstrap.sh

./b2 -j5 -a --with-system --with-filesystem --with-thread --with-regex --with-locale --with-date_time --prefix=/home/robyn/blender-svn/lib/linux64/boost-1.51.0 --disable-icu boost.locale.icu=off install

./b2 --clean

ln -s boost-1.51.0 /home/robyn/blender-svn/lib/linux64/boost

And we have now in /home/robyn/blender-svn/lib/linux64
four folders, two for python and two for boost (two of them are really links to the other two).

Tomorrow will continue…

One question: Do you have /usr/lib/nvidia-current or do you have /usr/lib/nvidia-current-updates folder?

Wow, Bao2 - VERY detailed explanation!!! Thank you so much for taking the time… saving this to my Critical Information Page for compiling Blender.
Thank you again. I’ll follow your suggestion and re-create my svn folder: think I’ve got a versions-mess growing in there. :yes:

Day 2:

We compiled Python and Boost yesterday.
Now we need to create a file to make boost libraries visible to the system. Open a terminal and:

sudo su
echo “/home/robyn/blender-svn/lib/linux64/boost/lib” > /etc/ld.so.conf.d/boost.conf
ldconfig

Cuda 4.2 toolkit

Enter this in your browser:

http://developer.download.nvidia.com/compute/cuda/4_2/rel/toolkit/cudatoolkit_4.2.9_linux_64_ubuntu11.04.run

and download it to the /home/robyn/src/blender-deps folder. Now change the name to
something more short like: “cuda.run” for example.

Right click on this cuda.run file and Properties/Permissions and check “Allow executing file as program”

Open a terminal and go to that folder and execute the file:

cd /home/robyn/src/blender-deps
sudo ./cuda.run

Accept when asked where is going to be placed, and it will be placed in /usr/local/cuda

The cuda toolkit said you need now to change several things. First the PATH:

In terminal launch a nautilus as root:

sudo nautilus

Now go to the FileSystem “disk” and enter the /etc folder and double click to open a file called “environment”. First line in this file is something like:

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"

We must to add “:/usr/local/cuda/bin” to the end of that line: (pay attention to the “:” to separate
our new cuda location from the former last one as this:

PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/cuda/bin"

and close and save the file with the changes.

We are yet using the nautilus in mode root and now we go to the /etc/ld.so.conf.d folder. Now right click and choose CreateNewDocument/EmptyDocument and name it: cuda.conf. Double click to edit it and put this text:

/usr/local/cuda/lib64
/usr/local/cuda/lib
/usr/lib/nvidia-current-updates

The last line depends on the driver you have installed. It can be /usr/lib/nvidia-current or it can be the one above. Just look if this or the former exists on your computer and enter the one you have.

Close this file and exit nautilus and close the terminal.

The cuda toolkit has a file that needs some changes to compile.
Open the file /usr/local/cuda/include/host_config.h (as normal user, you don’t need to be root)
We need to see line numbers so Edit/Preferences in menu, and in the View tab check “Display line numbers”

Go to the line 78 and you see:

78 #if defined(GNUC)

We need to add “//” at the beginning of this line to comment out the line:

78 //#if defined(GNUC)

And do the same for lines 80, 82, 84, 86:

80//#if GNUC > 4 || (GNUC == 4 && GNUC_MINOR > 4)

82//#error – unsupported GNU version! gcc 4.5 and up are not supported!

84//#endif /* GNUC> 4 || (GNUC == 4 && GNUC_MINOR > 4) */

86//#endif /* GNUC */

close and save the file.

Rest of libraries

Enter this in your browser:
http://sdrv.ms/Tp1srU

and you see a “libs” file there. Right click and Download this zip file. Extract the content to the
folder /home/robyn/blender-svn/lib/linux64
So we have now in this folder: python (2 folders), boost (2 folders), ffmpeg, libjpeg62, oiio

Well, all done. Now we are going to compile blender. Open a terminal and:

cd /home/robyn/blender-svn
rm -r build
mkdir build
cd build

This creates the folder /home/robyn/blender-svn/build (first deletes it in case already existed and then
creates it again and enter in it).

Now (we are inside the /build folder yet) enter this:

cmake …/blender -DWITH_OPENCOLORIO=OFF -DWITH_PYTHON_INSTALL=ON -DWITH_PYTHON_MODULE=OFF -DWITH_PYTHON_INSTALL_NUMPY=OFF -DPYTHON_LIBRARY=/home/robyn/blender-svn/lib/linux64/python-3.3/lib/libpython3.3m.so -DPYTHON_LIBPATH=/home/robyn/blender-svn/lib/linux64/python-3.3/lib -DPYTHON_INCLUDE_DIR=/home/robyn/blender-svn/lib/linux64/python-3.3/include/python3.3m -DPYTHON_INCLUDE_CONFIG_DIR=/home/robyn/blender-svn/lib/linux64/python-3.3/lib/python3.3/config-3.3m -DWITH_INTERNATIONAL=OFF -DWITH_MOD_OCEANSIM=ON -DJPEG_INCLUDE_DIR=/home/robyn/blender-svn/lib/linux64/libjpeg62/include -DJPEG_LIBRARY=/home/robyn/blender-svn/lib/linux64/libjpeg62/lib/libjpeg.so.62.0.0 -DWITH_CYCLES=ON -DWITH_CYCLES_CUDA_BINARIES=ON -DCUDA_BUILD_CUBIN=ON -DCUDA_BUILD_EMULATION=OFF -DCYCLES_CUDA_BINARIES_ARCH=“sm_21” -DOPENIMAGEIO_INCLUDE_DIR=/home/robyn/blender-svn/lib/linux64/oiio/include -DOPENIMAGEIO_LIBRARY=/home/robyn/blender-svn/lib/linux64/oiio/lib/libOpenImageIO.a -DBoost_INCLUDE_DIR=/home/robyn/blender-svn/lib/linux64/boost/include -DBoost_LIBRARY_DIRS=/home/robyn/blender-svn/lib/linux64/boost/lib -DWITH_FFTW3=ON -DWITH_CODEC_SNDFILE=ON -DWITH_CODEC_FFMPEG=ON -DFFMPEG=/home/robyn/blender-svn/lib/linux64/ffmpeg -DFFMPEG_LIBRARIES=“avformat;avcodec;avutil;avdevice;swscale;orc-0.4;dirac_encoder;mp3lame;schroedinger-1.0;theora;vpx;x264;xvidcore;faad;ogg;vorbis;vorbisenc”

There are several wrong things in the above order but I want to know if it compiles in your system.

And now compile blender: (we are yet inside the /build folder)

(use -j5 if your cpu is a 4 core cpu)

make -j3 install

and say me if it builds or not. If it builds you can just copy the folder /home/robyn/blender-svn/build/bin

and change the name to Blender265 and execute blender.

If it works next we will create a script to automatically compile to the version you specify. If it doesn’t work we will make changes
until it works (hopefully) installing things I have in synaptic.

Note: We are not using the boost library we compiled! We will see that also next day.

“Tomorrow will continue…
One question: Do you have /usr/lib/nvidia-current or do you have /usr/lib/nvidia-current-updates folder?”

Sorry - missed that question, Bao2. I have:
/usr/lib/nvidia-current
and
/usr/lib/nvidia-settings-updates
folders…

Yes, I said in day 2 you would need to use one or other, the one you have.

I updated the post 12 to first of all download all the programs and libraries we are going to use. Forgot that and it is really necessary because there are some aditions like “gawk” and many others that I for example didn’t have installed.

You can just run that order now. Don’t need to start again the procedure from zero.

…and followed your instructions. Right down (past the Python 3.3.0 bit) to this:

wget -c “http://sourceforge.net/projects/boost/files/boost/1.51.0/boost_1_51_0.tar.bz2/download” -O /home/robyn/src/blender-deps/boost-1.51.0.tar.bz2

…where I got this:

wget -c “http://sourceforge.net/projects/boost/files/boost/1.51.0/boost_1_51_0.tar.bz2/download” -O /home/robyn/src/blender-deps/boost-1.51.0.tar.bz2
–2012-12-23 18:38:43-- http://sourceforge.net/projects/boost/files/boost/1.51.0/boost_1_51_0.tar.bz2/download
Resolving sourceforge.net (sourceforge.net)… 216.34.181.60
Connecting to sourceforge.net (sourceforge.net)|216.34.181.60|:80… connected.
HTTP request sent, awaiting response… 302 Found
Location: http://downloads.sourceforge.net/project/boost/boost/1.51.0/boost_1_51_0.tar.bz2?r=&ts=1356251924&use_mirror=aarnet [following]
–2012-12-23 18:38:44-- http://downloads.sourceforge.net/project/boost/boost/1.51.0/boost_1_51_0.tar.bz2?r=&ts=1356251924&use_mirror=aarnet
Resolving downloads.sourceforge.net (downloads.sourceforge.net)… 216.34.181.59
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.34.181.59|:80… connected.
HTTP request sent, awaiting response… 302 Found
Location: http://aarnet.dl.sourceforge.net/project/boost/boost/1.51.0/boost_1_51_0.tar.bz2 [following]
–2012-12-23 18:38:45-- http://aarnet.dl.sourceforge.net/project/boost/boost/1.51.0/boost_1_51_0.tar.bz2
Resolving aarnet.dl.sourceforge.net (aarnet.dl.sourceforge.net)… 202.158.214.107, 2001:388:30bc:cafe::c0de
Connecting to aarnet.dl.sourceforge.net (aarnet.dl.sourceforge.net)|202.158.214.107|:80… connected.
HTTP request sent, awaiting response… 302 Found
Location: http://downloads.sourceforge.net/mirrorproblem?failedmirror=aarnet.dl.sourceforge.net [following]
–2012-12-23 18:38:46-- http://downloads.sourceforge.net/mirrorproblem?failedmirror=aarnet.dl.sourceforge.net
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.34.181.59|:80… connected.
HTTP request sent, awaiting response… 302 Found
Location: http://internode.dl.sourceforge.net/project/boost/boost/1.51.0/boost_1_51_0.tar.bz2 [following]
–2012-12-23 18:38:47-- http://internode.dl.sourceforge.net/project/boost/boost/1.51.0/boost_1_51_0.tar.bz2
Resolving internode.dl.sourceforge.net (internode.dl.sourceforge.net)… 150.101.135.12
Connecting to internode.dl.sourceforge.net (internode.dl.sourceforge.net)|150.101.135.12|:80… connected.
HTTP request sent, awaiting response… 302 Moved Temporarily
Location: http://downloads.sourceforge.net/mirrorproblem?failedmirror=internode.dl.sourceforge.net [following]
–2012-12-23 18:38:47-- http://downloads.sourceforge.net/mirrorproblem?failedmirror=internode.dl.sourceforge.net
Reusing existing connection to downloads.sourceforge.net:80.
HTTP request sent, awaiting response… 302 Found
Location: http://nchc.dl.sourceforge.net/project/boost/boost/1.51.0/boost_1_51_0.tar.bz2 [following]
–2012-12-23 18:38:47-- http://nchc.dl.sourceforge.net/project/boost/boost/1.51.0/boost_1_51_0.tar.bz2
Resolving nchc.dl.sourceforge.net (nchc.dl.sourceforge.net)… 211.79.60.17, 2001:e10:ffff:1f02::17
Connecting to nchc.dl.sourceforge.net (nchc.dl.sourceforge.net)|211.79.60.17|:80… connected.
HTTP request sent, awaiting response… 302 Found
Location: http://downloads.sourceforge.net/mirrorproblem?failedmirror=nchc.dl.sourceforge.net [following]
–2012-12-23 18:38:48-- http://downloads.sourceforge.net/mirrorproblem?failedmirror=nchc.dl.sourceforge.net
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.34.181.59|:80… connected.
HTTP request sent, awaiting response… 302 Found
Location: http://jaist.dl.sourceforge.net/project/boost/boost/1.51.0/boost_1_51_0.tar.bz2 [following]
–2012-12-23 18:38:49-- http://jaist.dl.sourceforge.net/project/boost/boost/1.51.0/boost_1_51_0.tar.bz2
Resolving jaist.dl.sourceforge.net (jaist.dl.sourceforge.net)… 150.65.7.130, 2001:200:141:feed::feed
Connecting to jaist.dl.sourceforge.net (jaist.dl.sourceforge.net)|150.65.7.130|:80… connected.
HTTP request sent, awaiting response… 302 Found
Location: http://downloads.sourceforge.net/mirrorproblem?failedmirror=jaist.dl.sourceforge.net [following]
–2012-12-23 18:38:49-- http://downloads.sourceforge.net/mirrorproblem?failedmirror=jaist.dl.sourceforge.net
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.34.181.59|:80… connected.
HTTP request sent, awaiting response… 302 Found
Location: http://tenet.dl.sourceforge.net/project/boost/boost/1.51.0/boost_1_51_0.tar.bz2 [following]
–2012-12-23 18:38:50-- http://tenet.dl.sourceforge.net/project/boost/boost/1.51.0/boost_1_51_0.tar.bz2
Resolving tenet.dl.sourceforge.net (tenet.dl.sourceforge.net)… 155.232.191.245, 2001:4200:fffc::245
Connecting to tenet.dl.sourceforge.net (tenet.dl.sourceforge.net)|155.232.191.245|:80… connected.
HTTP request sent, awaiting response… 302 Moved Temporarily
Location: http://downloads.sourceforge.net/mirrorproblem?failedmirror=tenet.dl.sourceforge.net [following]
–2012-12-23 18:38:52-- http://downloads.sourceforge.net/mirrorproblem?failedmirror=tenet.dl.sourceforge.net
Reusing existing connection to downloads.sourceforge.net:80.
HTTP request sent, awaiting response… 302 Found
Location: http://superb-dca2.dl.sourceforge.net/project/boost/boost/1.51.0/boost_1_51_0.tar.bz2 [following]
–2012-12-23 18:38:53-- http://superb-dca2.dl.sourceforge.net/project/boost/boost/1.51.0/boost_1_51_0.tar.bz2
Resolving superb-dca2.dl.sourceforge.net (superb-dca2.dl.sourceforge.net)… 209.61.193.20
Connecting to superb-dca2.dl.sourceforge.net (superb-dca2.dl.sourceforge.net)|209.61.193.20|:80… connected.
HTTP request sent, awaiting response… 302 Moved Temporarily
Location: http://downloads.sourceforge.net/mirrorproblem?failedmirror=superb-dca2.dl.sourceforge.net [following]
–2012-12-23 18:38:54-- http://downloads.sourceforge.net/mirrorproblem?failedmirror=superb-dca2.dl.sourceforge.net
Reusing existing connection to downloads.sourceforge.net:80.
HTTP request sent, awaiting response… 302 Found
Location: http://superb-dca3.dl.sourceforge.net/project/boost/boost/1.51.0/boost_1_51_0.tar.bz2 [following]
–2012-12-23 18:38:55-- http://superb-dca3.dl.sourceforge.net/project/boost/boost/1.51.0/boost_1_51_0.tar.bz2
Resolving superb-dca3.dl.sourceforge.net (superb-dca3.dl.sourceforge.net)… 207.228.224.228
Connecting to superb-dca3.dl.sourceforge.net (superb-dca3.dl.sourceforge.net)|207.228.224.228|:80… connected.
HTTP request sent, awaiting response… 302 Moved Temporarily
Location: http://downloads.sourceforge.net/mirrorproblem?failedmirror=superb-dca3.dl.sourceforge.net [following]
–2012-12-23 18:38:55-- http://downloads.sourceforge.net/mirrorproblem?failedmirror=superb-dca3.dl.sourceforge.net
Reusing existing connection to downloads.sourceforge.net:80.
HTTP request sent, awaiting response… 302 Found
Location: http://ufpr.dl.sourceforge.net/project/boost/boost/1.51.0/boost_1_51_0.tar.bz2 [following]
–2012-12-23 18:38:56-- http://ufpr.dl.sourceforge.net/project/boost/boost/1.51.0/boost_1_51_0.tar.bz2
Resolving ufpr.dl.sourceforge.net (ufpr.dl.sourceforge.net)… 200.236.31.2, 2801:82:80ff:8000::3
Connecting to ufpr.dl.sourceforge.net (ufpr.dl.sourceforge.net)|200.236.31.2|:80… connected.
HTTP request sent, awaiting response… 302 Found
Location: http://downloads.sourceforge.net/mirrorproblem?failedmirror=ufpr.dl.sourceforge.net [following]
–2012-12-23 18:38:58-- http://downloads.sourceforge.net/mirrorproblem?failedmirror=ufpr.dl.sourceforge.net
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.34.181.59|:80… connected.
HTTP request sent, awaiting response… 302 Found
Location: http://hivelocity.dl.sourceforge.net/project/boost/boost/1.51.0/boost_1_51_0.tar.bz2 [following]
–2012-12-23 18:38:59-- http://hivelocity.dl.sourceforge.net/project/boost/boost/1.51.0/boost_1_51_0.tar.bz2
Resolving hivelocity.dl.sourceforge.net (hivelocity.dl.sourceforge.net)… 74.50.101.106
Connecting to hivelocity.dl.sourceforge.net (hivelocity.dl.sourceforge.net)|74.50.101.106|:80… connected.
HTTP request sent, awaiting response… 302 Moved Temporarily
Location: http://downloads.sourceforge.net/mirrorproblem?failedmirror=hivelocity.dl.sourceforge.net [following]
–2012-12-23 18:39:00-- http://downloads.sourceforge.net/mirrorproblem?failedmirror=hivelocity.dl.sourceforge.net
Reusing existing connection to downloads.sourceforge.net:80.
HTTP request sent, awaiting response… 302 Found
Location: http://iweb.dl.sourceforge.net/project/boost/boost/1.51.0/boost_1_51_0.tar.bz2 [following]
–2012-12-23 18:39:01-- http://iweb.dl.sourceforge.net/project/boost/boost/1.51.0/boost_1_51_0.tar.bz2
Resolving iweb.dl.sourceforge.net (iweb.dl.sourceforge.net)… 70.38.0.134, 2607:f748:10:12::5f:2
Connecting to iweb.dl.sourceforge.net (iweb.dl.sourceforge.net)|70.38.0.134|:80… connected.
HTTP request sent, awaiting response… 302 Found
Location: http://downloads.sourceforge.net/mirrorproblem?failedmirror=iweb.dl.sourceforge.net [following]
20 redirections exceeded.

Do I just try again at some point?

Everything else appeared to have worked at treat, though, Bao2… brilliant stuff!!

Never mind - finally got it downloaded via http… so, following on with your instructions. :slight_smile:

ETA: the only change I made was to the -j5 - I have an i3, so I have to put -j3.

…is the cmake output you’ve been waiting for. Thank you for your patience… I apologise for exercising that patience! :frowning:

[email protected] ~/blender-svn/build $ cmake …/blender -DWITH_OPENCOLORIO=OFF -DWITH_PYTHON_INSTALL=ON -DWITH_PYTHON_MODULE=OFF -DWITH_PYTHON_INSTALL_NUMPY=OFF -DPYTHON_LIBRARY=/home/robyn/blender-svn/lib/linux64/python-3.3/lib/libpython3.3m.so -DPYTHON_LIBPATH=/home/robyn/blender-svn/lib/linux64/python-3.3/lib -DPYTHON_INCLUDE_DIR=/home/robyn/blender-svn/lib/linux64/python-3.3/include/python3.3m -DPYTHON_INCLUDE_CONFIG_DIR=/home/robyn/blender-svn/lib/linux64/python-3.3/lib/python3.3/config-3.3m -DWITH_INTERNATIONAL=OFF -DWITH_MOD_OCEANSIM=ON -DJPEG_INCLUDE_DIR=/home/robyn/blender-svn/lib/linux64/libjpeg62/include -DJPEG_LIBRARY=/home/robyn/blender-svn/lib/linux64/libjpeg62/lib/libjpeg.so.62.0.0 -DWITH_CYCLES=ON -DWITH_CYCLES_CUDA_BINARIES=ON -DCUDA_BUILD_CUBIN=ON -DCUDA_BUILD_EMULATION=OFF -DCYCLES_CUDA_BINARIES_ARCH=“sm_21” -DOPENIMAGEIO_INCLUDE_DIR=/home/robyn/blender-svn/lib/linux64/oiio/include -DOPENIMAGEIO_LIBRARY=/home/robyn/blender-svn/lib/linux64/oiio/lib/libOpenImageIO.a -DBoost_INCLUDE_DIR=/home/robyn/blender-svn/lib/linux64/boost/include -DBoost_LIBRARY_DIRS=/home/robyn/blender-svn/lib/linux64/boost/lib -DWITH_FFTW3=ON -DWITH_CODEC_SNDFILE=ON -DWITH_CODEC_FFMPEG=ON -DFFMPEG=/home/robyn/blender-svn/lib/linux64/ffmpeg -DFFMPEG_LIBRARIES=“avformat;avcodec;avutil;avdevic e;swscale;orc-0.4;dirac_encoder;mp3lame;schroedinger-1.0;theora;vpx;x264;xvidcore;faad;ogg;vorbis;vorbi senc”
– The C compiler identification is GNU
– The CXX compiler identification is GNU
– Check for working C compiler: /usr/bin/gcc
– Check for working C compiler: /usr/bin/gcc – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Check for working CXX compiler: /usr/bin/c++
– Check for working CXX compiler: /usr/bin/c++ – works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Performing Test SUPPORT_SSE_BUILD
– Performing Test SUPPORT_SSE_BUILD - Success
– SSE Support: detected.
– Performing Test SUPPORT_SSE2_BUILD
– Performing Test SUPPORT_SSE2_BUILD - Success
– SSE2 Support: detected.
– Found JPEG: /home/robyn/blender-svn/lib/linux64/libjpeg62/lib/libjpeg.so.62.0.0
– Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version “1.2.3.4”)
– Found PNG: /usr/lib/x86_64-linux-gnu/libpng.so
– Found Freetype: /usr/lib/x86_64-linux-gnu/libfreetype.so
– Found PythonLibsUnix: /home/robyn/blender-svn/lib/linux64/python-3.3/lib/libpython3.3m.so
– Found OpenEXR: /usr/lib/libHalf.so;/usr/lib/libIex.so;/usr/lib/libIlmImf.so;/usr/lib/libIlmThread.so;/usr/lib/libImath.so
– Found OpenJPEG: /usr/lib/libopenjpeg.so
– Found TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so
– Found OpenAL: /usr/lib/x86_64-linux-gnu/libopenal.so
– Looking for include files CMAKE_HAVE_PTHREAD_H
– Looking for include files CMAKE_HAVE_PTHREAD_H - found
– Looking for pthread_create in pthreads
– Looking for pthread_create in pthreads - not found
– Looking for pthread_create in pthread
– Looking for pthread_create in pthread - found
– Found Threads: TRUE
– Found SndFile: /usr/lib/x86_64-linux-gnu/libsndfile.so
– Found Fftw3: /usr/lib/libfftw3.so
– Found Spacenav: /usr/lib/libspnav.so
– Boost version: 1.51.0
– Found the following Boost libraries:
– filesystem
– regex
– system
– thread
– date_time
– Found OpenImageIO: /home/robyn/blender-svn/lib/linux64/oiio/lib/libOpenImageIO.a
– Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
– Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
– Looking for gethostbyname
– Looking for gethostbyname - found
– Looking for connect
– Looking for connect - found
– Looking for remove
– Looking for remove - found
– Looking for shmat
– Looking for shmat - found
– Looking for IceConnectionNumber in ICE
– Looking for IceConnectionNumber in ICE - found
– Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
– Check if the system is big endian
– Searching 16 bit integer
– Looking for sys/types.h
– Looking for sys/types.h - found
– Looking for stdint.h
– Looking for stdint.h - found
– Looking for stddef.h
– Looking for stddef.h - found
– Check size of unsigned short
– Check size of unsigned short - done
– Using unsigned short
– Check if the system is big endian - little endian
– Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so
– Try OpenMP C flag = [-fopenmp]
– Performing Test OpenMP_FLAG_DETECTED
– Performing Test OpenMP_FLAG_DETECTED - Success
– Try OpenMP CXX flag = [-fopenmp]
– Performing Test OpenMP_FLAG_DETECTED
– Performing Test OpenMP_FLAG_DETECTED - Success
– Found OpenMP: -fopenmp
– Performing Test C_WARN_ALL
– Performing Test C_WARN_ALL - Success
– Performing Test C_WARN_CAST_ALIGN
– Performing Test C_WARN_CAST_ALIGN - Success
– Performing Test C_WARN_ERROR_DECLARATION_AFTER_STATEMENT
– Performing Test C_WARN_ERROR_DECLARATION_AFTER_STATEMENT - Success
– Performing Test C_WARN_ERROR_IMPLICIT_FUNCTION_DECLARATION
– Performing Test C_WARN_ERROR_IMPLICIT_FUNCTION_DECLARATION - Success
– Performing Test C_WARN_ERROR_RETURN_TYPE
– Performing Test C_WARN_ERROR_RETURN_TYPE - Success
– Performing Test C_WARN_STRICT_PROTOTYPES
– Performing Test C_WARN_STRICT_PROTOTYPES - Success
– Performing Test C_WARN_MISSING_PROTOTYPES
– Performing Test C_WARN_MISSING_PROTOTYPES - Success
– Performing Test C_WARN_NO_CHAR_SUBSCRIPTS
– Performing Test C_WARN_NO_CHAR_SUBSCRIPTS - Success
– Performing Test C_WARN_NO_UNKNOWN_PRAGMAS
– Performing Test C_WARN_NO_UNKNOWN_PRAGMAS - Success
– Performing Test C_WARN_POINTER_ARITH
– Performing Test C_WARN_POINTER_ARITH - Success
– Performing Test C_WARN_UNUSED_PARAMETER
– Performing Test C_WARN_UNUSED_PARAMETER - Success
– Performing Test C_WARN_WRITE_STRINGS
– Performing Test C_WARN_WRITE_STRINGS - Success
– Performing Test C_WARN_LOGICAL_OP
– Performing Test C_WARN_LOGICAL_OP - Success
– Performing Test C_WARN_UNDEF
– Performing Test C_WARN_UNDEF - Success
– Performing Test C_WARN_INIT_SELF
– Performing Test C_WARN_INIT_SELF - Success
– Performing Test C_WARN_NO_NULL
– Performing Test C_WARN_NO_NULL - Success
– Performing Test C_WARN_MISSING_INCLUDE_DIRS
– Performing Test C_WARN_MISSING_INCLUDE_DIRS - Success
– Performing Test C_WARN_NO_DIV_BY_ZERO
– Performing Test C_WARN_NO_DIV_BY_ZERO - Success
– Performing Test C_WARN_NO_ERROR_UNUSED_BUT_SET_VARIABLE
– Performing Test C_WARN_NO_ERROR_UNUSED_BUT_SET_VARIABLE - Success
– Performing Test CXX_WARN_ALL
– Performing Test CXX_WARN_ALL - Success
– Performing Test CXX_WARN_NO_INVALID_OFFSETOF
– Performing Test CXX_WARN_NO_INVALID_OFFSETOF - Success
– Performing Test CXX_WARN_NO_SIGN_COMPARE
– Performing Test CXX_WARN_NO_SIGN_COMPARE - Success
– Performing Test CXX_WARN_LOGICAL_OP
– Performing Test CXX_WARN_LOGICAL_OP - Success
– Performing Test CXX_WARN_INIT_SELF
– Performing Test CXX_WARN_INIT_SELF - Success
– Performing Test CXX_WARN_MISSING_INCLUDE_DIRS
– Performing Test CXX_WARN_MISSING_INCLUDE_DIRS - Success
– Performing Test CXX_WARN_NO_DIV_BY_ZERO
– Performing Test CXX_WARN_NO_DIV_BY_ZERO - Success
– Performing Test CXX_WARN_UNDEF
– Performing Test CXX_WARN_UNDEF - Success
– Performing Test CXX_WARN_MISSING_DECLARATIONS
– Performing Test CXX_WARN_MISSING_DECLARATIONS - Success
– Performing Test C_WARN_NO_DEPRECATED_DECLARATIONS
– Performing Test C_WARN_NO_DEPRECATED_DECLARATIONS - Success
– Performing Test C_WARN_NO_UNUSED_PARAMETER
– Performing Test C_WARN_NO_UNUSED_PARAMETER - Success
– Found CUDA: /usr/local/cuda (found version “4.2”)
– CUDA nvcc = /usr/local/cuda/bin/nvcc
– Blender Skipping: (bf_collada;bf_intern_ctr;bf_intern_utfconv;extern_openjpeg;extern_redcode)
– Found Subversion: /usr/bin/svn (found version “1.6.17”)
– RPM Build Not Found (rpmbuild). RPM generation will not be available

  • Blender Configuration *

Build Options:

  • WITH_GAMEENGINE ON
  • WITH_PLAYER OFF
  • WITH_BULLET ON
  • WITH_IK_SOLVER ON
  • WITH_IK_ITASC ON
  • WITH_OPENCOLLADA OFF
  • WITH_FFTW3 ON
  • WITH_INTERNATIONAL OFF
  • WITH_INPUT_NDOF ON
  • WITH_CYCLES ON
  • WITH_OPENCOLORIO OFF

Compiler Options:

  • WITH_BUILDINFO ON
  • WITH_OPENMP ON
  • WITH_RAYOPTIMIZATION ON

System Options:

  • WITH_INSTALL_PORTABLE ON
  • WITH_X11_XF86VMODE ON
  • WITH_X11_XINPUT ON
  • WITH_MEM_JEMALLOC OFF
  • WITH_SYSTEM_GLEW ON
  • WITH_SYSTEM_OPENJPEG ON

Image Formats:

  • WITH_IMAGE_CINEON ON
  • WITH_IMAGE_DDS ON
  • WITH_IMAGE_HDR ON
  • WITH_IMAGE_OPENEXR ON
  • WITH_IMAGE_OPENJPEG ON
  • WITH_IMAGE_REDCODE OFF
  • WITH_IMAGE_TIFF ON

Audio:

  • WITH_OPENAL ON
  • WITH_SDL ON
  • WITH_JACK OFF
  • 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 OFF
  • WITH_PYTHON_MODULE OFF
  • WITH_PYTHON_SAFETY OFF

Modifiers:

  • WITH_MOD_BOOLEAN ON
  • WITH_MOD_REMESH ON
  • WITH_MOD_FLUID ON
  • WITH_MOD_OCEANSIM ON

– Configuring done
– Generating done
CMake Warning:
Manually-specified variables were not used by the project:

CUDA_BUILD_CUBIN

– Build files have been written to: /home/robyn/blender-svn/build

…failed… with:

[ 27%] Building C object source/blender/blenkernel/CMakeFiles/bf_blenkernel.dir/intern/writeavi.c.o
cc1: warning: /home/robyn/blender-svn/lib/linux64/ffmpeg/include: No such file or directory [enabled by default]
[ 27%] Building C object source/blender/blenkernel/CMakeFiles/bf_blenkernel.dir/intern/writeframeserver.c.o
cc1: warning: /home/robyn/blender-svn/lib/linux64/ffmpeg/include: No such file or directory [enabled by default]
[ 27%] Building C object source/blender/blenkernel/CMakeFiles/bf_blenkernel.dir/intern/writeffmpeg.c.o
cc1: warning: /home/robyn/blender-svn/lib/linux64/ffmpeg/include: No such file or directory [enabled by default]
/home/robyn/blender-svn/blender/source/blender/blenkernel/intern/writeffmpeg.c: In function ‘write_audio_frame’:
/home/robyn/blender-svn/blender/source/blender/blenkernel/intern/writeffmpeg.c:143:3: error: implicit declaration of function ‘av_rescale_q’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[2]: *** [source/blender/blenkernel/CMakeFiles/bf_blenkernel.dir/intern/writeffmpeg.c.o] Error 1
make[2]: *** Waiting for unfinished jobs…
make[1]: *** [source/blender/blenkernel/CMakeFiles/bf_blenkernel.dir/all] Error 2
make: *** [all] Error 2

Might have a look in the cmake-gui to see if anything jumps out at me…