TBB libraries not found [closed]
Building OpenCV 3.1 with TBB 4.4 results in link failure, TBB libraries not found. CMake is using tbb\intel_64 as lib path. Lib files are located in tbb\intel_64_win
Build environment: VS 2015 x64 TBB ver: 4.4
Have updated cmake files been created to correct the problem?
On windows there is two flags in cmake for TBB : WITH_TBB and BUILD_TBB. If you 've got only lib use WITH_TBB
Make use of the CMAKE graphical user interface, select the
WITH_TBB
option, then in your second configure run, make sure you adapt the TBB library path, where he is looking for the installation.1) I am using CMAKE graphical user interface
2) TBB was installed from Intel Parallel Studio XE 2016 Update2 downloaded 4/9/2016
3) Prior to starting cmake-gui, tbbvars.bat is run and produces the following environment variables: TBBROOT=I:\OpenCV\deps\tbb\bin.. TBB_ARCH_PLATFORM=intel64\vc14 TBB_BIN_DIR=I:\OpenCV\deps\tbb\bin\ TBB_TARGET_ARCH=intel64 TBB_TARGET_VS=vc14
4) After running configure the second time in CMAKE, CMAKE reports: TBB_LIB_DIR: I:/OpenCV/deps/tbb/lib/intel64/vc14, that directory is empty, the correct location is: I:/OpenCV/deps/tbb/lib/intel64_win/vc14
That's why I asked if the CMAKE list files had been updated to correct the problem.
You can change path name in cmake and if it works you can ask here