I'm trying to build OpenCV 3.2 with CUDA and TBB enabled. I've followed the usual directions and generated my solution with CMake. When I try to build opencv_world in Visual Studio 2013 I get the NVCC error on cuda_compile_generated_median_filter.cu.obj:
fatal error C1083: Cannot open include file: 'tbb/tbb.h': No such file or directory
The include path is correct for the TBB package. I can Ctrl-Shift-G on the include tbb and it navigates to the tbb.h file. I've restarted the machine. But the compile still fails.