Building Blender in OSX

Guest Author: Sebastian König

In this Blender video tutorial you will learn how you can compile your own Blender on OSX. It covers how to use the terminal and how to checkout the latest Subversion update. It also includes how to build your own customized Splash-Screen!

Although the Wiki is really great and you can also learn how to compile Blender just by following the steps there, it might be encouraging to see how it’s done in a video. If you are not that familiar with coding and the use of the terminal then all the things that you have to do in the command-line might look intimidating first and turn you off from actually trying your hand at compiling Blender. Well, at least that’s what I felt for a long time.

But there’s no need to be afraid, it’s actually quite easy and you will always be up to date, once you learn how to update SVN and build your own Blender.

Leave Comment

Discussion

32 Responses to “Building Blender in OSX”
  1. Posts: 1

    Is it working with OS 10.5.8?

    I’ve tried the one that I download from graphicall.org but when I click the button it suddenly quit unexpectedly. It happened all the time, so then I decided to create my own blender following the steps in this video, but I can even find my any SVN directory inside any blender folder in my computer. Can anyone give me any clue? Thx.

    • Posts: 3953

      Hi there,

      Are you having trouble finding the link to download the SVN repository, or having trouble locating the downloaded folder on your computer?

      -Jonathan

  2. Posts: 30
    Sean Watters says:

    Hi, I’m completely new to this, and I used this video and the steps on the new wiki, and tried it with windows 7 and Visual C++ 2010, but near the start of the process, when first checkout from svn, I get this error message:

    ‘svn’ is not recognised as an internal or external command, operable program or batch file.

    The command lie I typed in was

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

    • Posts: 30
      Sean Watters says:

      EDIT:

      Hi, I’m completely new to this, and I used this video and the steps on the new wiki, and tried it with windows 7 and Visual C++ 2010, but near the start of the process, when first checkout from svn, I get this error message:

      ‘svn’ is not recognised as an internal or external command, operable program or batch file.

      The command line I typed in was

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

      srry. only a typo

  3. Posts: 6
    Austin Calam says:

    I’m getting this error while building blender for Mac OSX 10.6.8:

    In member function ‘ceres::internal::SparseMatrix* ceres::internal::CompressedRowJacobianWriter::Crea teJacobian() const’:
    extern/libmv/third_party/ceres/internal/ceres/compressed_row_jacobian_writer.cc:52: warning: comparison between signed and unsigned integer expressions
    extern/libmv/third_party/ceres/internal/ceres/compressed_row_jacobian_writer.cc:80: warning: comparison between signed and unsigned integer expressions
    extern/libmv/third_party/ceres/internal/ceres/compressed_row_jacobian_writer.cc:115: warning: comparison between signed and unsigned integer expressions
    extern/libmv/third_party/ceres/internal/ceres/compressed_row_jacobian_writer.cc: In member function ‘void ceres::internal::CompressedRowJacobianWriter::Writ e(int, int, double**, ceres::internal::SparseMatrix*)’:
    extern/libmv/third_party/ceres/internal/ceres/compressed_row_jacobian_writer.cc:175: warning: comparison between signed and unsigned integer expressions
    scons: building terminated because of errors.

    Does anyone know what’s wrong?

    • Posts: 6
      Austin Calam says:

      Never mind fixed that problem(had input the wrong amount of cores) now I’ve got another problem:

      It stop building at:

      scons: *** [/Users/Laustinart/blender-build/build/darwin/extern/libmv/third_party/ceres/internal/ceres/canonical_views_clustering.o] Error 1
      Compiling ==> ‘cgnr_solver.cc’
      scons: building terminated because of errors.

      Does anyone know why?

  4. Posts: 121

    I’m trying to build it for the mac but I’m having troubles.
    errors in my console: Auto-setting available MacOSX SDK -> MacOSX10.7.sdk
    3D_CONNEXION_CLIENT_LIBRARY not found, disabling WITH_BF_3DMOUSE
    JackOSX install not found, disabling WITH_BF_JACK

    and: Missing: Python.h and/or pyconfig.h in”#../lib/darwin-9.x.universal/python/include/python3.3m”,
    Set ‘BF_PYTHON_INC’ to point to valid python include path(s).
    Containing Python.h and pyconfig.h for python version “3.3″

    pleas tell me what is wrong or just post the right steps to do it right because I’m not sure if I am doing it right.

    -Ber

  5. Posts: 1

    I wonder if anyone’s still checking this page, hope so!! I’ve followed this tut beginning to end several times, and followed the wiki at the same time to check I’m doing everything right. When I enter the instruction: python scons/scons.py -j 2 then hit ENTER I get exactly the same outcome as Bert (above)

    scons: Reading SConscript files …
    Command-line arguments
    No command-line arguments given
    Command-line targets
    No targets given, using default
    Using config file: build_files/scons/config/darwin-config.py
    Using user-config file: user-config.py
    Build with parallel jobs: 2
    Build with debug symbols: False
    Detected Xcode version: — 3.1 —
    Available Mac OS X SDKs:
    Mac OS X 10.4 -sdk macosx10.4
    Mac OS X 10.5 -sdk macosx10.5

    Auto-setting available MacOSX SDK -> MacOSX10.7.sdk
    3D_CONNEXION_CLIENT_LIBRARY not found, disabling WITH_BF_3DMOUSE
    JackOSX install not found, disabling WITH_BF_JACK

    Missing: Python.h and/or pyconfig.h in “#../lib/darwin-9.x.universal/python/include/python3.3m”
    Set ‘BF_PYTHON_INC’ to point to valid include path(s),
    containing Python.h and pyconfig.h for Python version “3.3”.

    Example: python scons/scons.py BF_PYTHON_INC=../Python/include

    So… I don’t know anything about using Terminal other than what I’ve done following Sebastian’s tutorial, so I searched the web for further info but can find nothing to solve the problem.

    The files that Terminal says are missing — Python.h and pyconfig.h — are right there inside darwin-9.x.universal/python/include/python3.3m.

    I’m running OSX 10.5.8 2.33 GHz Intel Core 2 Duo 3 GB 667 MHz DDR 2 SD RAM and the Python version installed is 2.3. I’ve asked Blender.org if that’s the problem, and got ‘Yes’… BUT I’ve found that the external files I downloaded as step one of this tut, using: svn checkout https://svn.blender.org/svnroot/bf-blender/trunk/lib/darwin-9.x.universal
    actually contain Python 3.3 as python_x86_64.zip file inside the directory ../darwin-9.x.universal/release.

    So… does that “python_x86_64.zip” have to be unzipped inside it’s directory “release” in order for the Blender build to work?? Yes, I know that shows my ignorance, but my level of ignorance is probably important if anyone’s able to offer help!

    Probably seems like I should just upgrade to at least OSX 10.6, but I’m travelling with only the bare essentials and upgrading would be a nightmare for me!! Appreciate any help available. — phil.

Leave a Comment

You must be logged in to post a comment.