How to link tbb dynamic libraries (tbb.dll)
I have compiled and installed OpenCV 3.4.0 in 64-bit Windows, following this tutorial :
and
to specifiy the location on the tbb env, tbb lib and tbb debug
I have successfully installed OpenCV using Visual Studio 17 (v 141 for Cuda 9.1 and the latest CMake), but when attempting to run a test from OpenCV_Dir\build\bin\release\cpp-example-contours2 I get the error :
Code execution cannon proceed because tbb.dll was not found. Reinstalling the program may fix this
I then subsequently followed the answer in http://answers.opencv.org/question/17... and ran the batch file from the command prompt specifying intel 64 and vs2017, removed the OpenCV build folder, re-configured using CMake, compiled and installed using VS2017 and ran into the same error.
How do I link the tbb dynamic libraries to avoid this error?
simply add the tbb.dll files from the Path: tbb2018_20171205oss\bin\intel64\vc14 to your executable directory!