Error during build, OpenCL kernels core

That pastebin appears to eat backslashes.

what source are you building? 4.7.0 release/tag?

is this proper VS 2022 or something else?

how did the cmake configuration step go? did it look okay?

the closest related stuff on the internet I could find is this: visual studio - Custom Build Tool only builds one item each time I build the project - Stack Overflow