OPENCV installation and System environment variables

Source: Internet
Author: User

OPENCV installation and System environment variables

Installing OPENCV is a simple thing, but the configuration is cumbersome. And the most important step in the configuration process is the configuration of the system environment variables. I am using CodeBlick13.12 with OpenCV1.0 (opencv download link http://opencv.org/downloads.html, if you want to use a later version of OpenCV, may need to use CMake to OpenCV source code to compile, to get MinGW version of the source code).

Configure environment variables (Win8.1):

Be sure to add the bin directory of the installation directory to the system variables, because the program will call the DLL assembly at the time of runtime, if the system variable does not contain this path, the program will go to C:/WINDOW/SYSWOW64 (32 for the system c:/window/ SYSTEM32) directory, so you will be prompted:

also pay attention to the addition of environment variables when using CMake, or you will pop up a similar dialog box. This allows you to understand that environment variables are some of the paths to certain folders, so that the program can find the correct files at run time to ensure that the program runs correctly.

OPENCV installation and System environment variables

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.