Build error cmake fatal error C1189

Hi! Sorry to bother but I’d appreciate it if someone could help me with this error:

D:\Blender>make full nobuild
Warning: Python not found, there is likely an issue with the library folder
No explicit msvc version requested, autodetecting version.


** Visual Studio 2022 Developer Command Prompt v17.2.3
** Copyright (c) 2022 Microsoft Corporation


[vcvarsall.bat] Environment initialized for: ‘x64’
Compiler Detection successful, detected VS2022
Building blender with VS2022 for x64 in D:\Blender…\build_windows_Full_x64_vc17_Release
loading initial cache file D:\Blender\build_files\cmake\config\blender_full.cmake
– The C compiler identification is MSVC 19.32.31329.0
– The CXX compiler identification is MSVC 19.32.31329.0
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/Hostx64/x64/cl.exe - skipped
– Detecting C compile features
– Detecting C compile features - done
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/Hostx64/x64/cl.exe - skipped
– Detecting CXX compile features
– Detecting CXX compile features - done
– Found Git: C:/Program Files/Git/cmd/git.exe (found version “2.36.1.windows.1”)
– Performing Test SUPPORT_NEON_BUILD
– Performing Test SUPPORT_NEON_BUILD - Failed
– Performing Test SUPPORT_SSE_BUILD
– Performing Test SUPPORT_SSE_BUILD - Success
– Performing Test SUPPORT_SSE2_BUILD
– Performing Test SUPPORT_SSE2_BUILD - Success
– 64 bit compiler detected.
– Visual Studio 2022 detected.
CMake Error at build_files/cmake/platform/platform_win32.cmake:541 (message):
Unable to determine Boost version
Call Stack (most recent call first):
CMakeLists.txt:1014 (include)

– Configuring incomplete, errors occurred!
See also “D:/build_windows_Full_x64_vc17_Release/CMakeFiles/CMakeOutput.log”.
See also “D:/build_windows_Full_x64_vc17_Release/CMakeFiles/CMakeError.log”.
“Configuration Failed”

CMakeError.Log:
https://pastebin.com/Jt9X2KUk

CMakeOutput.log:
https://pastebin.com/auVLQ41M

As the build already points out: Warning: Python not found, there is likely an issue with the library folder

Sounds like you either have a missing or incomplete library folder, with your source folder being D:\blender your lib folder should end up being d:\libs\win64_vc15 (side note we do generally advise to work in subfolders so you don’t end up with all kinds of folders in the root of your drive)

can you validate this folder exists? if not try a make update and see if that sorts it out, if it exists but is incomplete, try make svnfix

Thanks for the quick answer! The folder does exist. Now I have the folder structure:
D:\Blender_Source\Blender
D:\Blender_Source\lib\win64_vc15

running make update returns the following error:
https://pastebin.com/jL4diUy5

running make svnfix gives me this:
https://pastebin.com/RNPJMh6P

As for software versions I have:
Python 3.10.5
CMake 3.23.2
SlikSVN (Don’t know downloaded like three days ago)
VisualStudio 2022 Community 17.2.3
And up-to-date Blender Repo (master branch)
CMake, GIT and Python are all in system Path as well

Thank you very much!

looks like svn.exe is not in your path, try running svn --version from the command prompt to validate.

After addind SilkSvn\bin to path and verifying with the command you provided:

Started building correctly, I assume, but it always gets stuck in some file be it Attributes.h or LevelSetUtil.h or some other one:
A D:\Blender_Source\lib\win64_vc15\openvdb\include\openvdb***

running make update or make svnfix always gets stuck in the same step as mentioned above, and i breaks svn meaning I have to go to lib\win64_vc15 and run svn cleanup or I get the following error (svn: E155037)

from eyeballing it it seems as if there is some limit to how many items it can fetch before stopping
https://pastebin.com/TwzwHHQp

Thanks for the help!

There are a couple of really big libraries in SVN like > 800 megabytes, so that may actually just take a bit, rather than it being stuck.

You can use resource monitor to see if there’s still datatraffic going towards the svn executable (There’s a link to the resource monitor in the performance tab of the Task Manager)

Thanks, I’ll give it a try