Hi, I’m trying to build Blender using the Building Blender on Windows Guide. I’m not very experienced so I followed the steps exactly through command line. But when I run make update I keep getting this error (see below). There are also three LNK1107 fatal errors in my Build.txt file when I run make. I tried to upload the file here but it seems I don’t have the permission yet. I’ve started from scratch multiple times and I’m just at a loss here
E:\blender-git\blender>make update
No explicit msvc version requested, autodetecting version.
**********************************************************************
** Visual Studio 2022 Developer Command Prompt v17.9.1
** Copyright (c) 2022 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'
Compiler Detection successful, detected VS2022
This version of E:\blender-git\blender\lib\windows_x64\python\311\bin\python.exe is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher.
I have the exact same error telling me that blender\lib\windows_x64\python\311\bin\python.exe cannot start due or run due to an incompatibility with 64-bit versions of Windows. I have been following the official guide: Windows - Blender Developer Documentation
I tried running git lfs pull, then git lfs checkout main, but I’m still getting the same error.
What might be the source of the problem?
E:\blender-git\blender>git lfs pull
E:\blender-git\blender>git lfs checkout main
E:\blender-git\blender>make update
No explicit msvc version requested, autodetecting version.
**********************************************************************
** Visual Studio 2022 Developer Command Prompt v17.12.0
** Copyright (c) 2022 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'
Compiler Detection successful, detected VS2022
It’s hard to say what went wrong here, I’d probably start from scratch and keep explicit notes/logs about all commands you typed and the output it gave.
As is best guess I have is you may have perhaps accidentally ran git init after cloning?
Could you please a look at this?
I deleted everything in the blender-git folder and cloned the blender git repo like you told me to, but I’m still facing errors: