Build Failed Error with VS2019

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(1074,5): error MSB6006: Arrêt de “link.exe” avec le code -10737 41819. [D:\Blender_2.8_git\build_windows_Release_x64_vc16_Release\source\creator\blender.vcxproj]

Could you attach D:\Blender_2.8_git\build_windows_Release_x64_vc16_Release\build.log ?

Build.txt (26.2 KB)

While i’m not sure what is going on there, CMake needing nearly 2 minutes to complete is a bit odd. Is this box under heavy load? or just a bit underpowered for the job? how much ram is available?

Yeah it was, I got 16GB.

I upgraded to VS 2022 and CUDA toolkit 12. Now I’m getting this errors.

D:\Blender_2.8_git\lib\win64_vc15\dpcpp\include\sycl/detail/property_list_base.hpp(123,12): error C2039: 'iter_swap' n'est pas membre de 'std' [D:\Blender_2.8_git\build_windows_Release_x64_vc17_Release\intern\cycles\device\cycles_device.vcxproj]
D:\Blender_2.8_git\lib\win64_vc15\dpcpp\include\sycl/detail/property_list_base.hpp(123,12): error C3861: 'iter_swap' : identificateur introuvable [D:\Blender_2.8_git\build_windows_Release_x64_vc17_Release\intern\cycles\device\cycles_device.vcxproj]
    0 Avertissement(s)
    2 Erreur(s)

Are you building older code? that should have been fixed last month by this commit.

If you do not need intel GPU support for cycles, you can disable WITH_CYCLES_DEVICE_ONEAPI in cmake to sidestep this issue as well.