I don’t think I get the latest build, even if it doesn’t give any error, but now during the update I get this:
**********************************************************************
** Visual Studio 2019 Developer Command Prompt v16.11.3
** Copyright (c) 2021 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'
Compiler Detection successful, detected VS2019
Python not found in external libraries, updating to latest version
Updating 'F:\prog\blender_git\lib\win64_vc15':
At revision 62740.
python not found in lib folder
Here is the output of run git pull followed by make update and run make update again.
`Preformatted text`D:\Code\blender--git\blender-master>git pull
There is no tracking information for the current branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.
git pull <remote> <branch>
If you wish to set tracking information for this branch you can do so with:
git branch --set-upstream-to=<remote>/<branch> master
D:\Code\blender--git\blender-master>make update
"D:\Code\blender--git\blender-master\\..\lib\win64_vc15\python\39\bin\python.exe"
No explicit msvc version requested, autodetecting version.
**********************************************************************
** Visual Studio 2022 Developer Command Prompt v17.1.0
** Copyright (c) 2021 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'
Compiler Detection successful, detected VS2022
Fatal Python error: init_sys_streams: can't initialize sys standard streams
Python runtime state: core initialized
Traceback (most recent call last):
File "D:\Code\blender--git\lib\win64_vc15\python\310\lib\io.py", line 54, in <module>
ImportError: cannot import name 'text_encoding' from 'io' (unknown location)
D:\Code\blender--git\blender-master>
Here is output
D:\Code\blender–git\blender-master>git status
On branch master
No commits yet
Untracked files:
(use "git add <file>..." to include in what will be committed)
CMakeLists.txt
COPYING
GNUmakefile
build_files/
doc/
extern/
intern/
make.bat
readme.rst
release/
source/
tests/
nothing added to commit but untracked files present (use "git add" to track)
I clone the repository using download zip on GitHub (cause git clone command is only 50kb/s on my network). Is that the cause of the issue?
And then I run make svnfix, make update, But it’s same output as above. In here, the lib folder is download by previous make update, is that the cause of the issue? Should I download it again?
In addition, when I first used make update, the output shows a warning tell me Python not found even though my environment variables have Python in them. And then make.bat download two version Python: 39, 310 in lib folder, and output same issue as above. But then I seem to have compiled the sln project in the build folder directly with VS and succeeded. I didn’t want to make rebulid Blender until I had a problem rendering something in Cycles, and then I found this post.