Ask Your Question

KevinLucidyne's profile - activity

2020-11-13 13:24:38 -0600 received badge  Notable Question (source)
2018-12-18 03:04:49 -0600 received badge  Popular Question (source)
2017-01-12 12:09:01 -0600 commented question VS 2013: Cannot open include file: 'tbb/tbb.h': No such file or directory

Yes OpenCV.sln builds with opencv_world, INSTALL and PACKAGE disabled

2017-01-11 16:17:55 -0600 commented question VS 2013: Cannot open include file: 'tbb/tbb.h': No such file or directory

I'm not building TBB, I'm using the Intel TBB binaries.

2017-01-11 16:09:56 -0600 commented question VS 2013: Cannot open include file: 'tbb/tbb.h': No such file or directory

@LBerger thanks for replying. I've added additional info above.

2017-01-11 16:08:53 -0600 received badge  Editor (source)
2017-01-10 17:03:43 -0600 asked a question VS 2013: Cannot open include file: 'tbb/tbb.h': No such file or directory

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.

Previously to trying to compile opencv with TBB I successfully compiled opencv without TBB. The problem is that the TBB include file is not being entered into cuda_compile_generated_median_filter.cu.obj.depend and isn't in the dependency files upstream.

I'm using Intel's TBB binary so in CMake I have BUILD_TBB unchecked, WITH_TBB checked as well as TBB_ENV* and TBB_VER_FILE all set to the correct directories and files.

I've also tried re-configuring and re-generating the Cmake files to no avail. What do I do now?

Another difficulty I'm running into is that the compiles in VS 2013 are taking a heinous amount of time. Is there a way to run the CMake from the Windows command prompt which seems to be faster?