make error: CUDA12 nontype "..." is not a type name
I got this error message when I run "make" under cuda-samples folder:
make[1]: Nothing to be done for all'.
make[1]: Leaving directory /export/home/junzhang/CUDA/cuda-samples/Samples/5_Domain_Specific/simpleD3D9Texture' make[1]: Entering directory /export/home/junzhang/CUDA/cuda-samples/Samples/5_Domain_Specific/SobelFilter'
/usr/local/cuda/bin/nvcc -ccbin g++ -I../../../Common -m64 --threads 0 --std=c++11 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_89,code=sm_89 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_90,code=compute_90 -o SobelFilter_kernels.o -c SobelFilter_kernels.cu
/usr/local/cuda/bin/../targets/x86_64-linux/include/cuda/std/detail/libcxx/include/__type_traits/../__type_traits/../__type_traits/is_trivially_copyable.h(41): error: nontype "cuda::std::__4::remove_all_extents<_Tp>::type::type" is not a type name
: integral_constant<bool, is_scalar<__remove_all_extents_t<_Tp>::type>::value>
^
1 error detected in the compilation of "SobelFilter_kernels.cu".
make[1]: *** [SobelFilter_kernels.o] Error 255
make[1]: Leaving directory /export/home/junzhang/CUDA/cuda-samples/Samples/5_Domain_Specific/SobelFilter' make: *** [Samples/5_Domain_Specific/SobelFilter/Makefile.ph_build] Error 2
May I ask how you finally solved this error?