美文网首页OpenCv
VS2017+OpenCV3.2.0+CMake配置opencv

VS2017+OpenCV3.2.0+CMake配置opencv

作者: Me_诚 | 来源:发表于2017-11-19 22:12 被阅读73次

    一般的配置方法在此不赘述,只列出关键部分。重点在openCV3.2版本x86的生成。

    配置Win32(Cmake得到)

    可执行目录:

    \opencv\build\x86\bin

    包含目录:

    \opencv\build\include
    \opencv\build\include\opencv
    \opencv\build\include\opencv2

    库目录:

    \opencv\build\x86\lib

    链接器依赖项:

    opencv_calib3d320.lib

    opencv_core320.lib

    opencv_features2d320.lib

    opencv_flann320.lib

    opencv_highgui320.lib

    opencv_imgcodecs320.lib

    opencv_imgproc320.lib

    opencv_ml320.lib

    opencv_objdetect320.lib

    opencv_photo320.lib

    opencv_shape320.lib

    opencv_stitching320.lib

    opencv_superres320.lib

    opencv_video320.lib

    opencv_videoio320.lib

    opencv_videostab320.lib

    配置x64

    可执行目录:

    \opencv\build\x64\vc14\bin

    包含目录:

    \opencv\build\include

    \opencv\build\include\opencv

    \opencv\build\include\opencv2

    库目录:

    \opencv\build\x64\vc14\lib

    链接器附加依赖项:

    DEBUG: opencv_world320d.lib

    RELEASE:opencv_world320.lib

    其中openCV3.2.0不含x86,需通过CMake编译。此处参考CMake编译opencv x86方法

    如果不想自己动手,里面也有作者自己编译好的x86库,可自取。

    2017.11.19


    相关文章

      网友评论

        本文标题:VS2017+OpenCV3.2.0+CMake配置opencv

        本文链接:https://www.haomeiwen.com/subject/ytzpvxtx.html