When running opencv today, the error "tbb_debug.dll" is not found. I searched the internet and found that both solutions are valid. Leave this note for future use.
Method 1: Under the opencv-2.3.1 \ build \ common \ TBB \ ia32 \ VC10 There Is a tbb. dll file, copy it to your project DEBUG directory and change it to tbb_debug.
Method 2: download an Intel TBB 3.0Http://www.threadingbuildingblocks.org/
... Ss_win.zip. After the download is complete, decompress the package. In the corresponding folder under the bin folder, you can find tbb_debug.dll and copy tbb_debug.dll to the corresponding folder in the build/common/TBB directory of opencv 2.3.
Opencv environment Configuration:
【Debug mode or release mode] opencv Configuration:Right click -- Properties
1. Add the directory containing the VC ++ directory:
D: \ Program Files \ opencv2.3.1 \ build \ include; D: \ Program Files \ opencv2.3.1 \ build \ include \ opencv; D: \ Program Files \ opencv2.3.1 \ build \ include \ opencv2;
Ii. Add the VC ++ directory-library directory:
D: \ Program Files \ opencv2.3.1 \ build \ x86 \ VC10 \ Lib;
Iii. Add the following to the linker -- input option -- Additional dependency:
Token; token; opencv_core231d.lib; token; opencv_gpu231d.lib; token; opencv_ml231d.lib; token; opencv_ts231d.lib; opencv_video231d.lib;