Blender is THE free 3D graphics application and the version 2.5 his expected to introduce some outstanding changes to its workflow. For all of you, like me, who dont like to wait months for a stable release, I'll present you a way of downloading the source code and compiling it yourselves.
This guide was tested in Ubuntu 9.04 Jaunty Jackalope.
Installing Dependencies
Code:
sudo apt-get install build-essential scons g++ libx11-dev libgl1-mesa-dev libxi-dev zlib1g-dev libpng12-dev libglu1-mesa-dev libjpeg62-dev libfreetype6-dev libtiff4-dev libopenexr-dev libsdl1.2-dev libopenal-dev python2.6-dev libfftw3-dev libsamplerate0-dev libjack-dev libavformat-dev libxvidcore4-dev libogg-dev libfaac-dev libfaad-dev libx264-dev libmp3lame-dev libvorbis-dev libtheora-dev libswscale-dev libavdevice-dev subversion
If youre going to follow this guide, ALL THIS PACKAGES must be installed sucessfully.
Getting and Compiling Python 3.1.1
- Get the Source Code tarball here: http://www.python.org/download/
- Extract it and cd into it
- Configure before compiling:
Code:
./configure --prefix=/usr --enable-shared
- Now compile
- Finally lets install
Getting and Compiling Blender 2.5 SVN
- Create a new folder where you're gonna save the source code
- Now let's get our hands on the source code:
Code:
svn checkout https://svn.blender.org/svnroot/bf-blender/branches/blender2.5
- Enter the folder you just checked out
- Let's define some settings for the compilation
Code:
nano user-config.py
Paste and save the following:
Code:
WITH_BF_FFMPEG = 'true'
BF_FFMPEG_LIB = 'avformat avcodec avutil xvidcore ogg faac faad x264 mp3lame vorbis theora vorbisenc swscale avdevice'
WITH_BF_OPENAL = 'true'
WITH_BF_GAMEENGINE='true'
WITH_BF_FFTW3 = 'true'
WITH_BF_PLAYER='false'
WITH_BF_VERSE='false'
WITH_BF_YAFRAY='false'
BF_PYTHON_VERSION = '3.1'
WITH_BF_JACK = 'true'
- Finally lets compile
- Now lets clean
- The binaries should be created so lets go to the right folder
Code:
cd ../install/linux2
- And finnaly run blender
This is my first tutorial for Ubuntu Forums, so any question or feedback please post here. Namaste
Bookmarks