When trying to build on Windows (after generating with CMake) within Visual Studio all works fine without CUDA enabled, but when CUDA is enabled (for btf and RAJA and also CUB is set active) then a big number of compile errors is propagated directly from a couple of central header files - all those messages are attached here:
compile_errors.txt
The used CMake configuration can be found here:
CMakeCache.txt
Other libraries such as Hypre or Kokkos build fine with this configuration and CUDA enabled under Windows.
Windows version: 11 23H2 (10.0.22631 Build 22631.6060)
Cuda toolkit version is 12.8
MSVSC compiler version is 19.40.33818
Visual Studio version is 17.10.10