D:\APP\Blender\lib\win64_vc15\dpcpp\include\sycl/detail/property_list_base.hpp(123,12): error C2039: "iter_swap": 不是 "std" 的成员 [D:\APP\Blender\build_windows_Release_x64_vc17_Release\intern\cycles\device\cycles_device.vcxproj] C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\include\bitset(22,1): message : 参见“std”的声明 [D:\APP\Blender\build_windows_Release_x64_vc17_Release\intern\cycles\device\cycles_device.vcxproj] D:\APP\Blender\lib\win64_vc15\dpcpp\include\sycl/detail/property_list_base.hpp(123,12): error C3861: “iter_swap”: 找不到标识符 [D:\APP\Blender\build_windows_Release_x64_vc17_Release\intern\cycles\device\cycles_device.vcxproj] Alignment of class vec is not in accordance with SYCL specification requirements, a limitation of the MSVC compiler(Error C2719).Requested alignment applied, limited at 64.
intern\cycles\device\oneapi\device_impl.h:7:# include <sycl/sycl.hpp>
intern\cycles\kernel\device\oneapi\kernel.cpp:14:# include <sycl/sycl.hpp>
Only intern\cycles\kernel\device\oneapi\kernel.cpp was updated with the fix, but looks like the current failure is coming from the other project: [... cycles_device.vcxproj]
Adding #include <algorithm> to the top of intern\cycles\device\oneapi\device_impl.h would be a good thing to check. Can you try that @LXJ?
I give up and wait for the daily version.
When will the Windows version of the daily build be available for download? It’s been a week since there was a build.
there’s issues with the codesign certificate, will be a couple of days, if you don’t have an intel discrete GPU you can just turn off WITH_CYCLES_DEVICE_ONEAPI in your CMakeCache.txt in your build folder to sidestep the issue.