Page 1 of 3 123 LastLast
Results 1 to 10 of 29

Thread: HOWTO: Compile Blender 2.5 SVN

  1. #1
    Join Date
    Sep 2007
    Location
    Portugal
    Beans
    28
    Distro
    Ubuntu 9.10 Karmic Koala

    Lightbulb HOWTO: Compile Blender 2.5 SVN

    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
      Code:
      make
    • Finally lets install
      Code:
      sudo make 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
      Code:
      cd blender
    • 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
      Code:
      scons
    • Now lets clean
      Code:
      scons clean
    • The binaries should be created so lets go to the right folder
      Code:
      cd ../install/linux2
    • And finnaly run blender
      Code:
      ./blender


    This is my first tutorial for Ubuntu Forums, so any question or feedback please post here. Namaste
    Last edited by skkeeper; September 4th, 2009 at 01:01 AM.

  2. #2
    Join Date
    Oct 2007
    Beans
    370
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: HOWTO: Compile Blender 2.5 SVN

    Great post, but actually, the proper svn for 2.5 is:

    Code:
    svn checkout https://svn.blender.org/svnroot/bf-blender/branches/blender2.5
    The svn you provided is just the current branch, currently 2.49b.

  3. #3
    Join Date
    Sep 2007
    Location
    Portugal
    Beans
    28
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Compile Blender 2.5 SVN

    Quote Originally Posted by -Zeus- View Post
    Great post, but actually, the proper svn for 2.5 is:

    Code:
    svn checkout https://svn.blender.org/svnroot/bf-blender/branches/blender2.5
    The svn you provided is just the current branch, currently 2.49b.
    Thank you, my mistake. I compiled both versions for personal use and confused the svn url when i did the tutorial.

    Sorry for the mistake and I'll correct it in the main post

  4. #4
    Join Date
    Oct 2007
    Location
    New Zealand
    Beans
    71
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Compile Blender 2.5 SVN

    i am trying to install blender 2.5 on 8.10. first problem is

    Code:
    Couldn't find package python2.6-dev
    i guess it is not in the 8.10 repositories

    am i wasting my time to try installing on 8.10?

  5. #5
    Join Date
    Mar 2007
    Location
    Denver, CO
    Beans
    7,605
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO: Compile Blender 2.5 SVN

    try python2.4-dev -- I know that's in the intrepid repositories

  6. #6
    Join Date
    Oct 2007
    Location
    New Zealand
    Beans
    71
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Compile Blender 2.5 SVN

    thanks kevdog, i may give that a try. i think blender 2.5 needs python 2.6 and 3.1 but really not sure.

    i am building up the strength to do a fresh install of jaunty, so i may just hold off until then.

    but i am keen to have a play with the new blender!

  7. #7
    Join Date
    Oct 2007
    Location
    New Zealand
    Beans
    71
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Compile Blender 2.5 SVN

    thanks skkeeper

    i have upgraded to 9.04 and your instructions worked perfectly.

    now to explore blender 2.5!

  8. #8
    Join Date
    May 2007
    Beans
    17
    Distro
    Edubuntu 6.06 Dapper

    Re: HOWTO: Compile Blender 2.5 SVN

    great news. the proper blender 2.5 svn is trunk:
    https://svn.blender.org/svnroot/bf-b.../trunk/blender

  9. #9
    Join Date
    Dec 2007
    Beans
    118
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: HOWTO: Compile Blender 2.5 SVN

    Well it did actually work but performance is soooo bad. about 1FPS. the blender from karmic repos works without such an issue.
    "To you I'm an atheist; to God, I'm the Loyal Opposition." Woody Allen
    Stressing The Gimp - High Quality Tutorials For The Gimp

  10. #10
    Join Date
    Oct 2007
    Location
    New Zealand
    Beans
    71
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Compile Blender 2.5 SVN

    also some good builds at

    http://www.graphicall.org/builds/

Page 1 of 3 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •