Building Blender

(Redirected from Dev:Doc/Building Blender)

Building Blender


Steps to build Blender from scratch for each operating system.

Resolving Build Failures

Most building problems are not actually errors in Blender's source code, although you can never fully rule out that possibility. See troubleshooting page for possible causes and where to get help.

Build System

Blender uses the CMake build system.

make wrapper

For quick setup, the make wrapper takes care of setting up CMake automatically, and has quick commands for various tasks. It must be run from the Blender repository root directory. The most important commands are:

make help    # List all available commands.
make         # Build Blender.
make update  # Update source code, add-ons and libraries to latest versions.
make test    # Run automated tests.


By default, make outputs the build and project files to to ../build_<platform>. The Blender executable will be located in ../build_<platform>/bin.

To change this location, see make help or manually run cmake. Be sure to generate the build files in a directory other than the source directory.


Many CMake options can be set to customize the build. See Build Options for how to configure them.

Setup for Developers

For efficient development of the Blender C/C++ code, install and set up an Editor or IDE to navigate and edit the source code.

For efficient debugging and faster builds, see Build Options for Developers.

Library Dependencies

Details on obtaining libraries are included in each platform's build documentation. See dependencies page for details on how this system works and how to make portable builds.

Compiler Versions

Compiler Official Release Version Minimum Supported Version
Linux GCC: 9.3.1 9.3
Linux Clang: - 8.0
macOS Xcode: 11.5 10.0
Windows Visual Studio: 2019 2017

Other Build Configurations