Building error


hi, the building failed. But I don’t know how to fix it.

what is the output of make showhash in the source folder?

C:\blender-git\blender> make showhash
Branch_name=main
Branch_hash=dd9eecaac001d1e09ff3b9c54bd6e936f68ea788
Addons_Branch_name=main
Addons_Branch_hash=f21b90cbabf8e64ea84d68afee781cbf204f852c
Libs_URL=bf-blender - Revision 63584: /trunk/lib/win64_vc15
Libs_Revision=63584
Libs_LastChange=2023-11-19T17:30:33.084330Z

can you try the following patch?

diff --git a/source/blender/blendthumb/CMakeLists.txt b/source/blender/blendthumb/CMakeLists.txt
index 2d58668f6b2..aeb0d3dedf7 100644
--- a/source/blender/blendthumb/CMakeLists.txt
+++ b/source/blender/blendthumb/CMakeLists.txt
@@ -39,6 +39,8 @@ if(WIN32)

   target_link_libraries(BlendThumb bf_blenlib dbghelp.lib Version.lib)
   set_target_properties(BlendThumb PROPERTIES LINK_FLAGS_DEBUG "/NODEFAULTLIB:msvcrt")
+  set_target_properties(BlendThumb PROPERTIES VS_GLOBAL_VcpkgEnabled "false")
+

 else()
   # -----------------------------------------------------------------------------