美文网首页
OpenCV 4.5.0 (with cuda)编译后,Visu

OpenCV 4.5.0 (with cuda)编译后,Visu

作者: 外汇分析师_程序员 | 来源:发表于2021-11-09 10:31 被阅读0次

    opencv 编译安装的目录结构:


    image.png
    1. Go to Configuration Properties/VC++ Directories to add the include and library directories for OpenCV.


      image.png

    包含目录填写:C:\opencv\opencv-4.5.0\opencv-4.5.0\build\install\include
    库目录填写:C:\opencv\opencv-4.5.0\opencv-4.5.0\build\install\x64\vc16\lib

    1. Edit the VC++ project linker with the opencv_world450.lib OpenCV dynamic library. You will find the DLL (Dynamic Link Library) here: C:\opencv\opencv-4.5.0\opencv-4.5.0\build\install\x64\vc16\lib copy the name of the file opencv_world450.lib and paste it in the dependency box.
    image.png

    链接器-输入填写:opencv_world450.lib
    opencv_img_hash450.lib

    相关文章

      网友评论

          本文标题:OpenCV 4.5.0 (with cuda)编译后,Visu

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