Hello, I'm following this guide to compile OpenCV 3.3.0 for Windows 32bit.
In particular, I would like to enable Intel's TBB so I followed the last chapter, step-by-step. Here is the steps I did in details:
- I downloaded the latest release of TBB for Windows here: https://github.com/01org/tbb/releases/download/2017_U7/tbb2017_20170604oss_win.zip
- Extracted it in C:\dev\tbb2017_20170604oss_win folder
- In Cmake, after Configure, my variables are:
- BUILD_TBB = FALSE
- TBB_ENV_INCLUDE = C:/dev/tbb2017_20170604oss/include
- TBB_ENV_LIB = C:/dev/tbb2017_20170604oss/lib/ia32/vc14/tbb.lib
- TBB_ENV_LIB_DEBUG = C:/dev/tbb2017_20170604oss/lib/ia32/vc14/tbb_debug.lib
- TBB_VER_FILE = C:/dev/tbb2017_20170604oss/include/tbb/tbb_stddef.h
- WITH_TBB = TRUE
The Visual Studio project is generated and I can compile everything without problems (using BUILD_ALL). After that, I link the compiled OpenCV distribution to my project. It compiles fine too, but when the project start it throws this error:
The procedure entry point ?default_num_threads@task_scheduler_init@tbb@@SAHXZ could not be located in the dynamic link library [...]\opencv_core300.dll
Did I miss something while configuring/compiling OpenCV? Thanks for the help