VS2015 manual compilation of opencv source code, vs2015opencv source code

Source: Internet
Author: User

VS2015 manual compilation of opencv source code, vs2015opencv source code
VS2015 opencv source code compilation tools: VS2015 and CMake3.10.01. Open the Cmake-gui tool and select the opencv source code and compilation output path. Then click configure to select the corresponding vs version and click finished.

2. Select a configuration item. BUILD_opecv_worldIn this way, only one library file is generated. You only need to specify this file When configuring the environment. Otherwise, many modules will be generated, if you are not familiar with it, you will be confused .... Click Generate.

3. Click Open Project or Open the OpenCV. sln file in the output directory. 4. vs is enabled. Right-click ALL_BUILD and choose generate to compile.

5. After several minutes, the compilation is completed. Right-click INSTALL and select generate to generate the install directory:



After entering install:

Library file:



If BUILD_opencv_world is not selected during configuration, a large number of lib and dll files will be generated here. There is only one.
Here is just an example of compiling the libraries in debug mode. You can compile the libraries in release mode by yourself.

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.