Opencv3.4.1 compiling the configuration

Source: Internet
Author: User

1. Download the file

OpenCV Download Address: Https://jaist.dl.sourceforge.net/project/opencvlibrary/opencv-win/3.4.1/opencv-3.4.1-vc14_vc15.exe

Opencv_contrib Download Address: https://codeload.github.com/opencv/opencv_contrib/zip/3.4.1

CMake Download Address: Https://cmake.org/files/v3.11/cmake-3.11.1-win64-x64.msi

2.Cmake compilation

Click "Config", start the configuration, if the middle appears download file card dead, close CMake, again open CMake Repeat config, until successful.

3. Add Extension Module

Locate Opencv_extra_modules_path, and add the path D:\opencv3\source\opencv_contrib\modules, to \modules. Then continue to configure until the completion.

4. Build the Project

Click "Generate" to generate the project.

5. With vs Open the OpenCV.sln in the input directory, click "Build Solution".

6: Locate the install in the cmaketargets and then right-select "Project Only"-"Build Install only" and the build is complete.

7. Complete the post-build directory

8. Get all lib file names

To drive letter: F:
Transfer folder: CD F:\OpencvFile\newbuild\install\x64\vc15\lib

Write all filenames under folder to Text:dir./b/oe>aaaa.txt


Opencv_xobjdetect341d.lib
Opencv_aruco341d.lib
Opencv_bgsegm341d.lib
Opencv_bioinspired341d.lib
Opencv_calib3d341d.lib
Opencv_ccalib341d.lib
Opencv_core341d.lib
Opencv_datasets341d.lib
Opencv_dnn341d.lib
Opencv_dnn_objdetect341d.lib
Opencv_dpm341d.lib
Opencv_face341d.lib
Opencv_features2d341d.lib
Opencv_flann341d.lib
Opencv_fuzzy341d.lib
Opencv_hfs341d.lib
Opencv_highgui341d.lib
Opencv_imgcodecs341d.lib
Opencv_imgproc341d.lib
Opencv_img_hash341d.lib
Opencv_line_descriptor341d.lib
Opencv_ml341d.lib
Opencv_objdetect341d.lib
Opencv_optflow341d.lib
Opencv_phase_unwrapping341d.lib
Opencv_photo341d.lib
Opencv_plot341d.lib
Opencv_reg341d.lib
Opencv_rgbd341d.lib
Opencv_saliency341d.lib
Opencv_shape341d.lib
Opencv_stereo341d.lib
Opencv_stitching341d.lib
Opencv_structured_light341d.lib
Opencv_superres341d.lib
Opencv_surface_matching341d.lib
Opencv_text341d.lib
Opencv_tracking341d.lib
Opencv_video341d.lib
Opencv_videoio341d.lib
Opencv_videostab341d.lib
Opencv_xfeatures2d341d.lib
Opencv_ximgproc341d.lib
Opencv_xphoto341d.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.