Today I tested how to build Blender 3D from source development on my windows operating system, see the official webpage for more information.
You need to use GitHub tools to get the source code from the Blender 3D project.
You need to install CMake from this website and Subversion for Windows, then reopen the command shell to use with these features.
I used on my command line these commands:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | git clone https://projects.blender.org/blender/blender.git Cloning into 'blender'... remote: Enumerating objects: 58732, done. remote: Counting objects: 100% (58732/58732), done. remote: Compressing objects: 100% (4983/4983), done. remote: Total 2189872 (delta 56613), reused 54669 (delta 53748), pack-reused 2131140Receiving objects: 100% (218Receiving objects: 100% (2189872/21898 Resolving deltas: 100% (1929315/1929315), done. Updating files: 100% (13172/13172), done. ... cd blender ... C:\blender\blender>make update Warning: Python not found, there is likely an issue with the library folder No explicit msvc version requested, autodetecting version. ********************************************************************** ** Visual Studio 2019 Developer Command Prompt v16.11.20 ** Copyright (c) 2021 Microsoft Corporation ********************************************************************** [vcvarsall.bat] Environment initialized for: 'x64' Compiler Detection successful, detected VS2019 The required external libraries in "C:\blender\blender\..\lib\win64_vc15" are missing Would you like to download them? (y/n)y Downloading win64_vc15 libraries, please wait. ... make No explicit msvc version requested, autodetecting version. ********************************************************************** ** Visual Studio 2019 Developer Command Prompt v16.11.20 ** Copyright (c) 2021 Microsoft Corporation ********************************************************************** [vcvarsall.bat] Environment initialized for: 'x64' Compiler Detection successful, detected VS2019 Building blender with VS2019 for x64 in C:\blender\blender\..\build_windows_x64_vc16_Release ... |
The build will be on this folder : build_windows_x64_vc16_Release\bin\Release and will working well on run.