Solution: tbb_debug.dll not found in opencv + opencv project environment Configuration

Source: Internet
Author: User

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;

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.