Building/Compiling Blender 2.5 ITASC Branch on Ubuntu 9.10 (SCONS)

This short article describes how to build the "itasc-blender".

-- Let's begin --

Get the following deps

sudo apt-get build-dep blender

sudo apt-get install subversion build-essential yasm gettext libxi-dev libopenexr-dev libopenjpeg-dev libpng12-dev libopenal-dev libalut-dev python3.1-dev libglu1-mesa-dev libsdl-dev libfreetype6-dev libtiff4-dev libsamplerate0-dev scons subversion libsamplerate0 libsamplerate0-dev python3.1 python3.1-dev python3.1-dbg

Create a blender folder, enter it and pull the source from the blender svn

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

cd ~/blender-svn/blender
echo "BF_OPENAL_LIB = 'openal alut'" >> user-config.py
sudo python scons/scons.py

If everything went well: "scons: done building targets."

HINT: you can use "sudo python scons/scons.py -j x" where x is the amount of CPUs one can make use of. If you have a quad core it would be -j 4.

Run blender from the root path "~/blender-svn" - symlink the binary.

cd ~/blender-svn/blender
ln -s install/linux2/blender ./startblender

Now you can run Blender 2.5 by typing (in ~/blender-svn/startblender)

Ur welcome ^^

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.