Windows7+VS2012下64位OpenCV3.0+CUDA7.5的编译和部署

        从OpenCV 3.0 Beta开始,加入了大量的GPU加速计算的功能。6月份OpenCV 3.0 Gold发布,修复了大量的BUG。与2.4.x版本相比,3.0仍然采用CUDA作为GPU计算库,但废除了cv::gpu,转而使用cv::cuda命名空间。官网提供的预编译库并不包含完整的CUDA功能,所以要想体验GPU加速技术带给OpenCV的变化,只能自己重新编译整个库。

        在CUDA Toolkit 7.5中,虽然给出了适用Win32和x64两种目标架构的库,但像cufftnppsnvblas等OpenCV所需的库只有x64版本。于是这也限制了我们只能编译64位的OpenCV库,而且在今后的编程中也要编写针对x64架构的程序。另外,在GUI组件中,CUDA也调用了部分OpenGL功能,所以编译过程也需要OpenGL库的支持。下图中左边是CUDA为Win32提供的库,右边是为x64提供的库。

cuda-win32-64

        之前在编译OpenCV 2.4.x版本时,为了尽可能地提高计算速度,我用了Intel TBB来优化OpenCV库函数的多核计算性能,并用Eigen头文件库优化矩阵的计算,而且事实证明是可行并有效的。但在编译OpenCV 3.0 Gold的过程中,发现即使我引用了x64版本的TBB库文件,最后编译产生的OpenCV库在编程时还是会产生“应用程序无法正常启动0xc000007b”的错误。用Dependency Walk查看.lib文件也会发现几乎全部的组件都是“x64”,只有TBB一项是个突兀的“x86”。至于Eigen库,在编译过程中就产生了大量的错误。也许是我配置的方法不正确,也许目前的OpenCV库还不完善,总之我没有办法成功地将TBB包整合到OpenCV库中。

        事实证明,OpenCV 3.1可以成功整合TBB,IPPICV和Eigen。配置和编译过程的变化在文中以黄色做出了标记。

        由于需要调用显卡的部分功能,首先还要确认自己的显卡是否支持CUDA和OpenGL。可用的工具有GPU-Z和GPU Caps Viewer。右图中的“5.2”指的是最低兼容的CUDA版本。

GPU-Caps-Viewer

        关于CUDA 5.x和CUDA 7.5:首先,CUDA 5只支持到vs2010,而CUDA 7.5是支持vs2012的。其次,从OpenCV部分头文件看来除了CUDA Toolkit外还调用了其他比较特殊的库,虽然对CUDA 7.5大部分功能没有太大影响,但这也导致部分CUDA功能是无法整合到OpenCV库中的。在这里有更详细的说明。最新版本的NVIDIA Nsight声称已经支持vs2015了,不过我还没有试验过,无从知晓CUDA 7.5对vs2015的支持程度。

        当然,不使用CUDA而直接配置预编译OpenCV 3.0库的方法本文也有介绍,在这里。在Visual Studio中把Win32项目转换为x64项目的过程在这里。配置OpenCV 2.4.x的过程可以参考《Windows7+VS2010下OpenCV环境配置》


        先给出我的系统环境和会用到的所有库和工具:

        Windows 7 x64,Visual Studio Ultimate 2012,CPU是Intel Core i5 4590,显卡是NVIDIA GeForce GTX 960。

        OpenCV 3.0 Gold 下载地址:http://sourceforge.net/projects/opencvlibrary/files/opencv-win/3.0.0/opencv-3.0.0.exe/download

        OpenCV 3.1 下载地址:http://sourceforge.net/projects/opencvlibrary/files/opencv-win/3.1.0/opencv-3.1.0.exe/download

        CMAKE 3.4.0 rc1 下载地址:https://cmake.org/files/v3.4/cmake-3.4.0-rc1-win32-x86.exe

        CMAKE 3.5.0 rc3 下载地址:https://cmake.org/files/v3.5/cmake-3.5.0-win32-x86.msi

        CUDA Toolkit 7.5.18 下载地址:http://developer.download.nvidia.com/compute/cuda/7.5/Prod/local_installers/cuda_7.5.18_windows.exe

        TBB 4.4 Update 3 下载地址:https://www.threadingbuildingblocks.org/sites/default/files/software_releases/windows/tbb44_20160128oss_win_0.zip

        Eigen 3.2.8 下载地址:http://bitbucket.org/eigen/eigen/get/3.2.8.zip

        OpenGL 4.5 关于OpenGL 4编译和配置的详细过程,可以参考《Windows7+VS2012下OpenGL 4的环境配置》,只是在CMAKE中第一次点击Configure后要选择“Visual Studio 11 2012 Win64”作为Generator;编译好之后在配置环境时选择x64路径下的lib目录。


        1.下载CMAKE和CUDA Toolkit并安装。

        安装过程这里就不赘述了。需要注意的是,CMAKE的安装路径可以随意指定,CUDA Toolkit库本身的路径推荐用默认的C:\Program Files\NVIDIA GPU Computing Toolkit,不要修改;不过CUDA Samples的路径最好设为C盘以外的分区,比如F:\_Projects\CUDA Samples。因为在编译CUDA样例的过程中,可能会由于管理权限的原因编译器不能在样例目录内修改和写入文件,造成编译的失败。

        CUDA Toolkit安装过程中会自动在Visual Studio安装NSIGHT插件。如果之前安装过较老版本的CUDA Toolkit,则会被自动卸载掉,并用7.5版本将其代替。安装程序也会自动在系统环境变量内修改“PATH”,添加“CUDA_INC_PATH”、“CUDA_LIB_PATH”、“CUDA_PATH”等值,所以我们不必过多担心CUDA的环境配置。

        如果想验证CUDA是否配置正确,可以尝试编译任意一个CUDA自带的样例程序。这里以deviceQuery为例。

        在CUDA Samples\1_Utilities\deviceQuery路径下找到deviceQuery_vs2012.sln项目文件,并用VS2012打开。我的路径是F:\_Projects\CUDA Samples\1_Utilities\deviceQuery。

cuda-device-query        打开之后,右击项目名称,点击Build。注意在DebugRelease两种模式下分别编译。

cuda-device-query-build        编译成功后,运行cmd.exe,切换到CUDA Samples\bin\win64\Debug目录,运行deviceQuery.exe,看能否通过测试。

cuda-device-query-debug

        再切换到CUDA Samples\bin\win64\Release目录,运行deviceQuery.exe,看能否通过测试。

cuda-device-query-release


        2.下载并解压OpenCV。

        在前面所给的链接下载OpenCV 3.0,双击打开,选择解压路径。比如E:\dev-lib。程序会自动在E:\dev-lib下建立名为opencv的文件夹,并把所有的文件解压到E:\dev-lib\opencv内。为了与OpenCV 2.4.x版本区分开,我把这个文件夹的名称改为了E:\dev-lib\opencv3

opencv-extraction        解压完成后,在E:\dev-lib\opencv3里有两个名为buildsources的文件夹,其中build是预编译库,sources包含OpenCV的源代码。我们就是利用sources文件夹里的源码进行编译。如果不打算使用CUDA组件而只需要常用的模块,可以直接使用预编译库来进行开发环境的配置。但OpenCV 3.0只提供了用于vs2012和vs2013的预编译库,如果你的Visual Studio是这两个版本以外的,仍然需要自己编译。如果决定继续使用CUDA,则可以跳过这一部分,直接看第3步。在使用的过程中也会发现预编译库把很多模块合并到了两个文件中,但如果是自己编译,仍然会产生像之前版本那样很多个文件。

        直接使用OpenCV 3.0预编译库配置开发环境的步骤如下:

        打开开始菜单,右击计算机,点击属性,在弹出的窗口里依次点击高级系统设置->高级->环境变量,双击名为path的用户环境变量,如果没有这一项,则点击新建建立一个名为path的变量。

pre-built-environment

        在变量值的末尾添加:

        点击确定保存环境变量。打开cmd.exe,输入

强制更新系统变量,以使刚刚的修改生效。

cmd-set-path        重新打开cmd.exe,输入

检查环境变量的修改是否生效。

cmd-echo-path

       注销并重新登录Windows,重启电脑等都可以更新环境变量。不过值得注意的是每次修改环境变量后,都需要重新打开Visual Studio才能对vs生效。

       打开vs2012,新建一个Visual C++的Win32 Console项目,我这里命名为“ocv-test-vc11”。

pre-built-new-project       点击OK,再点击Next,勾选Empty Project,点击Finish

pre-built-new-project-2       在左边Solution Explorer中右击项目名称,点击Properties。顶端的Configuration选择Debug,在属性窗口里选择Configuration Properties -> VC++ Directories,在右边的Include Directories里添加

       在Library Directories里添加

pre-built-new-project-5       在左边选择Linker -> Input,在右边的Additional Dependencies里添加

pre-built-new-project-6       点击应用,以保存更改。把顶端的Configuraion改为Release,在左边选择Configuration Properties -> VC++ Directories,在右边的Include Directories里添加

       在Library Directories里添加

pre-built-new-project-7       在左边选择Linker -> Input,在右边的Additional Dependencies里添加

pre-built-new-project-8

       点击确定,以保存修改并关闭窗口。

       在左边的Solution Explorer中右击Source Files -> Add -> New Item,新建一个cpp代码文件。

pre-built-new-project-3

       我这里命名为ocv-test-vc11.cpp。pre-built-new-project-4

       把下面的代码拷贝到ocv-test-vc11.cpp中。

       第10行是输入图片的路径,可以自己随意修改,但要注意路径中的分隔符“\”要换成“\\”。

       如果打算编写64位的程序,则需要把环境变量和库路径里的“x86”换成“x64”。然后如图打开Configuration Manager

pre-built-new-project-10       在弹出的窗口里,打开Active Solution Platform下的下拉菜单,点击<New…>,在Type or select the new platform里选择x64Copy settings from保持Win32不变,点击OK

pre-built-new-project-11

       编译项目之前如果需要切换到Release,还要在Configuration Manager中按下图更改Configuration

pre-built-new-project-12

       我使用的输入图像为skull.jpg

skull       程序运行结果为

pre-built-new-project-9


        3.使用CMAKE编译OpenCV。

        打开CMAKE。点击Browse source,选择OpenCV的源码路径,我的是E:/dev-lib/opencv3/sources。点击Browse Build,选择编译结果的保存位置,我的是F:/_Projects/opencv3。

        点击Configure,在弹出的窗口中选择“Visual Studio 11 2012 Win64”,然后点击Finish

cmake_generator        如果在下面输出区域里没有出现红色的错误信息,而且最后一行是“Configuring done”,就可以进行下一步了。

        勾选WITH_TBB,WITH_IPP,WITH_EIGEN。由于OpenCV源码没有附带FFMPEG和IPPICV的完整文件,需要在生成的过程中自动下载,有时速度会很慢。我提供了这两个库的完整文件,以节约时间:http://pan.baidu.com/s/1bcQoR8。解压后只需要将ffmpeg和ippicv两个文件夹覆盖opencv\sources\3rdparty中相应的文件夹即可。TBB解压的目录为E:\dev-lib\tbb,Eigen解压的目录为E:\dev-lib\Eigen。TBB和Eigen的路径设置如下:

        TBB_INCLUDE_DIRS    E:/dev-lib/tbb/include

        TBB_LIB_DIR    E:/dev-lib/tbb/lib/intel64/vc11

        EIGEN_INCLUDE_PATH    E:/dev-lib/Eigen

        可能需要单独设置TBB_STDDEF_PATH为E:/dev-lib/tbb/include/tbb/tbb_stddef.h。

        需要注意的是,E:\dev-lib\Eigen目录内还有一个单独的名为Eigen的文件夹,在这个E:\dev-lib\Eigen\Eigen文件夹内,包含所有的Eigen头文件。

        在上面的区域里选择编译所要包含的组件。由于之前提到的原因,WITH_TBB不能勾选。虽然默认勾选了WITH_EIGEN,但EIGEN_INCLUDE_PATH不需要指定,在编译过程中仍然会忽略Eigen。WITH_NVCUVID这一项也不能勾选,因为在OpenCV目录下的sources\modules\cudacodec\src\precomp.hpp文件有这样一行(第7行)

        除了NVCUVID库之外,这里调用了独立的NVENC SDK。NVCUVID与NVENC SDK共同构成了NVIDIA video codec SDK,其中NVCUVID库是包含在CUDA Toolkit中的,而NVENC SDK是一个独立的SDK,而且对显卡的架构要求比较严格,较常见的GeForce系列显卡即使支持但性能也是受限的。总之在我的机器上只有NVCUVID,却没有NVENC SDK。考虑到OpenCV是把NVCUVID和NVENC SDK一同调用的,所以只好全部抛弃。对我们的影响只在于不能用显卡进行视频的解码与编码,其实用OpenCV默认的在CPU端的ffmpeg库也可以满足大部分快速编码解码的需求。

        总之,我们需要勾选的是WITH_TBB、WITH_IPP、WITH_EIGEN、WITH_CUBLASWITH_CUDAWITH_CUFFTWITH_OPENGL,其中WITH_EIGEN、WITH_CUDAWITH_CUFFT是默认开启的。

cmake_configure

        再次点击Configure。如果没有红色错误信息产生,点击Generate,生成项目文件。如果下方输出区域最后两行是“Configuring done”和“Generating done”,就可以进行下一步的编译了。


        4.用Visual Studio编译OpenCV

        用Visual Studio 2012打开刚才生成的vs项目文件,比如我的是F:\_Projects\opencv3\OpenCV.sln。程序会花一些时间载入所有所需的文件。如果还安装了Visual Assist之类的插件,初始化时间还会延长更多。

        首先在Debug模式下,右击ZERO_CHECK项目,点击Build;再切换到Release模式下,右击ZERO_CHECK项目,点击Build。看两次编译是否产生错误。如果两次编译成功,则进行下一步。

build-opencv        在Debug模式下,右击INSTALL项目,点击Build,整个编译过程就开始了,这大概需要两个小时的时间。

build-opencv-2

        由于编译过程非常耗时,所以在编译之前检查所有的设置是否正确是很有必要的。我在这里列了一个表格,用来参考是否所有的步骤都正确完成了。

CUDA 系统环境变量PATH,CUDA_INC_PATH,CUDA_LIB_PATH
  C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.5\lib\x64中包含cublas cuda cufft nppc nppi npps
OpenGL 环境变量PATH指向bin\x64  glew32.dll文件拷贝到C:\Windows\SysWOW64目录下
CMAKE 勾选WITH_CUBLAS,WITH_CUDA,WITH_CUFFT,WITH_OPENGL,WITH_TBB,WITH_IPP,WITH_EIGEN
  没有勾选WITH_TBB,WITH_NVCUVID
  EIGEN_INCLUDE_PATH为空  EIGEN_INCLUDE_PATH为E:/dev-lib/Eigen
  TBB_INCLUDE_DIRS为E:/dev-lib/tbb/include,TBB_LIB_DIR为E:/dev-lib/tbb/lib/intel64/vc11
VS2012 目标平台为x64

        编译完成后,切换到Release模式,右击INSTALL项目,点击Build。这次编译同样也需要两个小时左右的时间。如果编译过程中产生了错误,可以把错误信息贴在在下面的评论区。如果两次都成功了,把install文件夹(我的是F:\_Projects\opencv3\install)里的内容复制到一个更方便的路径。比如我在E:\dev-lib\opencv3下新建了一个名为“with-cuda”的文件夹,并把install里的etc,include,x64三个文件夹拷贝了进去。接着就可以开始测试我们编译的OpenCV库了。

build-opencv-3


        5.测试程序

        按照第2步中的过程修改环境变量,只不过环境变量值要用

        按照第2步中的过程新建一个vs2012项目,并修改为x64架构。比如我的项目名称为“ocv3-test”。项目属性的VC++ Directories中的Include DirectoriesLibrary Directories要修改为

        Linker -> Input中的Additional Dependencies要修改为

(Debug)

(Release)

        测试代码如下

        我仍然使用第2步中的skull.jpg图像,程序运行的结果为

build-opencv-4        在代码第16行的注释其实是给出了另一种将数据从GpuMat传递到Mat的方式。很多OpenCV库函数既有CPU版又有CUDA版的,这段代码也反映了本地与GPU之间数据传递的最常用的方式。

        把数据从cv::Mat传递到cv::cuda::GpuMat

        把数据从cv::cuda::GpuMat传递到cv::Mat


        我编译的整合了CUDA和OpenGL的OpenCV库在这里可以下载,但是我不能保证在相似的环境下也能使用。

                http://pan.baidu.com/s/1qW3lF2G


2016.10.27更新:

        OpenCV 3.1.0版本所需的ffmpeg和ippicv库文件在这里下载:http://pan.baidu.com/s/1miFF5os

2016.01.05更新:

        OpenCV 3.1.0版本用本文方法也能够编译成功。不过在最后测试步骤中,除了要把所有*.lib文件名中的“300”改为“310”之外,还要注意OpenCV 3.1.0版本的lib比3.0.0版本少了一个“opencv_hal300”。

        整合了CUDA和OpenGL的OpenCV 3.1.0库在这里下载:http://pan.baidu.com/s/1kTVu8M7​

        如果发现在调试的时候弹出一个小黑框长时间没有反应,可以把Debug Type从默认的“Auto”改为“GPU Only”。

2016.03.15更新:

        更新了OpenCV 3.1整合TBB,IPPICV,Eigen的步骤。修改了OpenGL环境需求的错误。

共有80条评论

  1. 為何我勾選了WITH_TBB後需要輸入的路徑有四個,而且名稱跟版主的不太一樣

    TBB_ENV_INCLUDE     

    TBB_ENV_LIB

    TBB_ENV_LIB_DEBUG

    TBB_VER_FILE

      1. 你好!这四项要分别对应于:

        TBB_ENV_INCLUDE : tbb2017_20161128oss/include

        TBB_ENV_LIB : tbb2017_20161128oss/lib/intel64/vc14/tbb.lib

        TBB_ENV_LIB_DEBUG : tbb2017_20161128oss/lib/intel64/vc14/tbb_debug.lib

        TBB_VER_FILE : tbb2017_20161128oss/include/tbb/tbb_stddef.h

  2. 博主你好,我用camke3.4.3编译vs2013+opencv3.1+cuda7.5+tbb+Eigen,最后成功生成43个lib,10个lib失败,整体编译完出现opencv_core已在该环境外被修改,失败的10个我单独编译也都不行,

    opencv_cudafeatures2d310d.lib
    opencv_cudaimgproc310d.lib
    opencv_cudalegacy310d.lib
    opencv_cudaobjdetect310d.lib
    opencv_cudaoptflow310d.lib
    opencv_photo310d.lib
    opencv_stitching310d.lib
    opencv_superres310d.lib
    opencv_videostab310d.lib
    opencv_xphoto310d.lib

    错误列表信息类似于这样: error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_cudaimgproc310d.lib” 

    我在输出里发现 1 error detected in the compilation of "C:/Users/HZWZM_~1/AppData/Local/Temp/tmpxft_00002f34_00000000-12_gftt.cpp4.ii".

    我cmake不同版本也试过都不行,错误在网上找了半天也没发现解决办法,这应该是哪里的步骤错了?

     

    1. 你好,由于opencv某些模块相互依赖关系很强,一个模块编译失败就会造成大多数其他模块的编译失败。

      无法打开文件“..\..\lib\Debug\opencv_cudaimgproc310d.lib”这个错误就是由于GPU版本的imgproc模块本身编译失败引起的。最有可能的原因是CUDA的环境或者Eigen库的路径没有配置正确。

      请找一下在编译所有模块时,第一个出现的错误是什么(在output窗口中搜索“fatal error”),那里的错误信息会反映最根本的原因。

      1. CUDA的环境应该没有设置错,因为cuda的例子跑过没问题,而且大部分有关cuda的lib是成功的,只有那少数几个(相互关联)的失败;Eigen库的路径也没问题,编译的时候显示出
        8>  —     Use IPP Async:               NO
        8>  —     Use Eigen:                   YES (ver 3.2.8)
        8>  —     Use Cuda:                    YES (ver 7.5)
        8>  —     Use OpenCL:                  YES
        8>  —     Use custom HAL:              NO

        第一个fatal error就是 105>LINK : fatal error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_cudafeatures2d310d.lib”

        1. 最近两个版本的opencv(包括3.2)在启用OpenCL编译test模块时也容易出现问题,我不知道你这里是否如此。

          在输出信息里面搜索“error”,看能不能找到带有“perf_test”的错误信息。如果有的话,在CMAKE中取消勾选“BUILD_TESTS”和“BUILD_PERF_TESTS”然后再生成编译就可以避免这个问题。

      2. 我cmake都成功了,但是numDevice = cuda::getCudaEnabledDeviceCount();numDevice=0;

        请教下楼主是什么问题啊?

  3. 测试编译和zero编译都成功了,但是在编译install的时候貌似全部文件都提示c4819错误,还有一些别的错误已经懒得找了~

    opencv+tbb+cuda最新版,eign直接被忽略了没有参与编译,ant指定的是ant文件(不带扩展名),matlab是2015b,jdk是最新版的

    1. 应该是Eigen目录不正确引起的。第一个出现的错误是最关键的,之后的错误其实都是由于依赖关系连带产生的。

      如果Eigen的Core文件位于E:\dev-lib\Eigen\Eigen\Core,那么在CMAKE中配置的时候EIGEN_INCLUDE_PATH就要填E:\dev-lib\Eigen,因为opencv源码中是以Eigen\Core的形式对其进行引用的。

  4. 请教楼主问题,我用的是opencv3.1,请问出现下面问题该如何处理

    错误    1    error C2061: 语法错误: 标识符“NppiGraphcutState”    D:\software\opencv\sources\modules\cudalegacy\src\graphcuts.cpp    120    1    opencv_cudalegacy
    错误    2    error C2833: “operator NppiGraphcutState”不是可识别的运算符或类型    D:\software\opencv\sources\modules\cudalegacy\src\graphcuts.cpp    135    1    opencv_cudalegacy
    错误    3    error C2059: 语法错误:“newline”    D:\software\opencv\sources\modules\cudalegacy\src\graphcuts.cpp    135    1    opencv_cudalegacy
    错误    4    error C2334: “{”的前面有意外标记;跳过明显的函数体    D:\software\opencv\sources\modules\cudalegacy\src\graphcuts.cpp    136    1    opencv_cudalegacy
    错误    5    error C2143: 语法错误 : 缺少“;”(在“*”的前面)    D:\software\opencv\sources\modules\cudalegacy\src\graphcuts.cpp    141    1    opencv_cudalegacy
    错误    6    error C4430: 缺少类型说明符 – 假定为 int。注意:  C++ 不支持默认 int    D:\software\opencv\sources\modules\cudalegacy\src\graphcuts.cpp    141    1    opencv_cudalegacy
    错误    7    error C2065: “pState”: 未声明的标识符    D:\software\opencv\sources\modules\cudalegacy\src\graphcuts.cpp    127    1    opencv_cudalegacy
    错误    8    error C2065: “pState”: 未声明的标识符    D:\software\opencv\sources\modules\cudalegacy\src\graphcuts.cpp    132    1    opencv_cudalegacy
    错误    9    error C3861: “nppiGraphcutFree”:  找不到标识符    D:\software\opencv\sources\modules\cudalegacy\src\graphcuts.cpp    132    1    opencv_cudalegacy
    错误    10    error C3861: “nppiGraphcutGetSize”:  找不到标识符    D:\software\opencv\sources\modules\cudalegacy\src\graphcuts.cpp    174    1    opencv_cudalegacy
    错误    11    error C2065: “nppiGraphcutInitAlloc”: 未声明的标识符    D:\software\opencv\sources\modules\cudalegacy\src\graphcuts.cpp    182    1    opencv_cudalegacy
    错误    12    error C3861: “nppiGraphcut_32s8u”:  找不到标识符    D:\software\opencv\sources\modules\cudalegacy\src\graphcuts.cpp    191    1    opencv_cudalegacy
    错误    13    error C3861: “nppiGraphcut_32f8u”:  找不到标识符    D:\software\opencv\sources\modules\cudalegacy\src\graphcuts.cpp    196    1    opencv_cudalegacy
    错误    14    error C3861: “nppiGraphcut8GetSize”:  找不到标识符    D:\software\opencv\sources\modules\cudalegacy\src\graphcuts.cpp    246    1    opencv_cudalegacy
    错误    15    error C2065: “nppiGraphcut8InitAlloc”: 未声明的标识符    D:\software\opencv\sources\modules\cudalegacy\src\graphcuts.cpp    254    1    opencv_cudalegacy
    错误    16    error C3861: “nppiGraphcut8_32s8u”:  找不到标识符    D:\software\opencv\sources\modules\cudalegacy\src\graphcuts.cpp    267    1    opencv_cudalegacy
    错误    17    error C3861: “nppiGraphcut8_32f8u”:  找不到标识符    D:\software\opencv\sources\modules\cudalegacy\src\graphcuts.cpp    274    1    opencv_cudalegacy
    错误    19    error LNK1181: 无法打开输入文件“..\..\lib\Release\opencv_cudalegacy310.lib”    D:\software\cuda_opencv\modules\cudaoptflow\LINK    opencv_cudaoptflow
    错误    21    error LNK1181: 无法打开输入文件“..\..\lib\Release\opencv_cudalegacy310.lib”    D:\software\cuda_opencv\modules\cudaobjdetect\LINK    opencv_cudaobjdetect
    错误    23    error LNK1181: 无法打开输入文件“..\..\lib\Release\opencv_cudalegacy310.lib”    D:\software\cuda_opencv\modules\stitching\LINK    opencv_stitching
    错误    25    error LNK1181: 无法打开输入文件“..\..\lib\Release\opencv_cudalegacy310.lib”    D:\software\cuda_opencv\modules\cudalegacy\LINK    opencv_perf_cudalegacy
    错误    27    error LNK1181: 无法打开输入文件“..\..\lib\Release\opencv_cudalegacy310.lib”    D:\software\cuda_opencv\modules\cudalegacy\LINK    opencv_test_cudalegacy
    错误    30    error LNK1181: 无法打开输入文件“..\..\lib\Release\opencv_stitching310.lib”    D:\software\cuda_opencv\modules\stitching\LINK    opencv_perf_stitching
    错误    32    error LNK1181: 无法打开输入文件“..\..\lib\Release\opencv_cudaoptflow310.lib”    D:\software\cuda_opencv\modules\superres\LINK    opencv_superres
    错误    33    error LNK1181: 无法打开输入文件“..\..\lib\Release\opencv_cudaoptflow310.lib”    D:\software\cuda_opencv\modules\cudaoptflow\LINK    opencv_test_cudaoptflow
    错误    36    error LNK1181: 无法打开输入文件“..\..\lib\Release\opencv_stitching310.lib”    D:\software\cuda_opencv\modules\stitching\LINK    opencv_test_stitching
    错误    37    error LNK1181: 无法打开输入文件“..\..\lib\Release\opencv_cudaoptflow310.lib”    D:\software\cuda_opencv\modules\videostab\LINK    opencv_videostab
    错误    39    error LNK1181: 无法打开输入文件“..\..\lib\Release\opencv_cudaobjdetect310.lib”    D:\software\cuda_opencv\modules\cudaobjdetect\LINK    opencv_test_cudaobjdetect
    错误    42    error LNK1181: 无法打开输入文件“..\..\lib\Release\opencv_cudaoptflow310.lib”    D:\software\cuda_opencv\modules\cudaoptflow\LINK    opencv_perf_cudaoptflow
    错误    43    error LNK1181: 无法打开输入文件“..\..\lib\Release\opencv_cudaobjdetect310.lib”    D:\software\cuda_opencv\modules\cudaobjdetect\LINK    opencv_perf_cudaobjdetect
    错误    45    error LNK1181: 无法打开输入文件“..\..\lib\Release\opencv_superres310.lib”    D:\software\cuda_opencv\modules\superres\LINK    opencv_test_superres
    错误    47    error LNK1181: 无法打开输入文件“..\..\lib\Release\opencv_superres310.lib”    D:\software\cuda_opencv\modules\superres\LINK    opencv_perf_superres
     

  5. 博主在文章中说“OpenCV 3.0只提供了用于vs2012和vs2013的预编译库,如果你的Visual Studio是这两个版本以外的,仍然需要自己编译。”是什么意思?

      1. 抱歉回复的比较晚。因为opencv的每个版本的发行版或多或少都会根据当前开发工具的流行程度来确定预编译库支持的vs版本。只要打开opencv\build\x86或opencv\build\x64就能看到给出的所有支持的vs版本。vc10=vs2010,vc11=vs2012,vc12=vs2013,vc14=vs2015。按照文中的方法,如果只编译CPU版本的话,一个小时之内就能完成。

  6. 编译时报错,望博主指点

    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\BuildCustomizations\CUDA 7.5.targets(160,9): error MSB4062: 未能从程序集 C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\BuildCustomizations\Nvda.Build.CudaTasks.v7.5.dll 加载任务“Nvda.Build.CudaTasks.SanitizePaths”。未能加载文件或程序集“Microsoft.Build.Utilities.v3.5, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”或它的某一个依赖项。系统找不到指定的文件。 请确认 <UsingTask> 声明正确,该程序集及其所有依赖项都可用,并且该任务包含实现 Microsoft.Build.Framework.ITask 的公共类。

    1. 我之前已经编译好了,今天修改了一点东西想重新编译一次的,发现也出现了这样的错误,请问你是怎么解决的?如能指教,不胜感激

  7. >C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5): error MSB3073: 命令“setlocal
    87>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5): error MSB3073: "E:\Program Files (x86)\cmake\bin\cmake.exe" -DBUILD_TYPE=Debug -P cmake_install.cmake
    87>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
    87>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5): error MSB3073: :cmEnd
    87>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
    87>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5): error MSB3073: :cmErrorLevel
    87>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5): error MSB3073: exit /b %1
    87>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5): error MSB3073: :cmDone
    87>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd
    87>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5): error MSB3073: :VCEnd”已退出,代码为 1。
    ========== 生成: 成功 10 个,失败 77 个,最新 1 个,跳过 0 个 ==========
     

  8. 你好:

    用install出来的lib什么的配置好了之后,又试着运行了一下CUDA Samples\v7.5\2_Graphics\bindlessTexture这个cuda的例子,最后显示

    CUDA bindlessTexture Starting…

      No GPU device was found that can support CUDA compute capability 3.0.       这是说明我的电脑不支持cuda吗?  我的显卡是GT620的,查看了一下他的compute capability是2.1.    应该是支持的。  是我下载的cuda版本太新了还是怎么,那个版本的比较合适?   这和TBB  EIGEN cmake 的版本是无关的吧。 

    1. 它说的“No GPU device was found that can support CUDA compute capability 3.0”,而你的GPU只支持到2.1。。。

      看来需要安装一个较低版本的CUDA了,5.0是比较常用的。

    2. 你好:

      刚弄好了,是我环境变量设置的有问题,把TBB的bin里边的.dll文件和CUDA里边的include文件添加到环境变量就好了。  CUDA TBB EIGEN三个的bin lib include 的路径都要加到环境变量里。   你提供的最后的例程里边 把cuda改成gpu 头文件稍微换一下就行,应该是版本的问题。  总之最后成功了。

      总之,非常感谢你提供的步骤!

      1. 你好:

        3>  正在对“opencv_nonfree.dir\Debug\opencv_nonfree.unsuccessfulbuild”执行 Touch 任务。
        24>生成启动时间为 2016/7/8 9:59:48。
        24>InitializeBuildStatus:
        24>  正在对“opencv_superres.dir\Debug\opencv_superres.unsuccessfulbuild”执行 Touch 任务。
        25>—— 已启动生成: 项目: opencv_test_gpu, 配置: Debug x64 ——
        25>生成启动时间为 2016/7/8 9:59:48。
        25>InitializeBuildStatus:
        25>  正在对“opencv_test_gpu.dir\Debug\opencv_test_gpu.unsuccessfulbuild”执行 Touch 任务。
        25>CustomBuild:
        25>  所有输出均为最新。
        25>ClCompile:
        25>  所有输出均为最新。
        19>LINK : fatal error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_objdetect249d.lib”
        23>CustomBuild:
        23>  Building NVCC (Device) object modules/nonfree/CMakeFiles/cuda_compile.dir/src/cuda/Debug/cuda_compile_generated_surf.cu.obj
        19>
        19>生成失败。
        19>
        19>已用时间 00:00:01.91
        24>CustomBuild:
        24>  Building NVCC (Device) object modules/superres/CMakeFiles/cuda_compile.dir/src/cuda/Debug/cuda_compile_generated_btv_l1_gpu.cu.obj
        25>  所有输出均为最新。
        24>  CMake Warning (dev) at cuda_compile_generated_btv_l1_gpu.cu.obj.cmake:137 (if):
        23>  CMake Warning (dev) at cuda_compile_generated_surf.cu.obj.cmake:137 (if):
        24>    Policy CMP0054 is not set: Only interpret if() arguments as variables or
        23>    Policy CMP0054 is not set: Only interpret if() arguments as variables or
        24>    keywords when unquoted.  Run "cmake –help-policy CMP0054" for policy
        23>    keywords when unquoted.  Run "cmake –help-policy CMP0054" for policy
        24>    details.  Use the cmake_policy command to set the policy and suppress this
        23>    details.  Use the cmake_policy command to set the policy and suppress this
        23>    warning.

        出现库找不到,我用的VS2010和opencv2.4.9 , 不知道是库本身不支持还是什么哪个地方有问题,我再重新配置一遍。

        1. 你好:

          我提供了这两个库的完整文件,以节约时间:http://pan.baidu.com/s/1bcQoR8。解压后只需要将ffmpeg和ippicv两个文件夹覆盖opencv\sources\3rdparty中相应的文件夹即可。

            你的这一步提供的文件是针对opencv3.0的吧?!我直接用的你提供的文件,然后camke的,

          对opencv2.4.9会不会不支持导致出现问题?

          1. opencv不同版本依赖的ffmpeg版本也不同,具体版本可以查看一下sources\3rdparty\ffmpeg\ffmpeg.cmake

            根据第一行的ffmpeg/master_20150703在opencv官方github上的分支中找对应的就可以了

            ippicv的版本可以在sources\3rdparty\ippicv\downloader.cmake中找到

        2. 从这部分还是看不出具体问题出在哪里,如果再编译仍然产生错误,请找到第一个出现fatal error的位置,那里的信息应该会提示最根本的原因。

          1. 按照你的步骤又做了一遍,最后的install后,lib和include文件都有了,但是最后的测试程序里边的

            #include <opencv2/cudaarithm.hpp>

            #include <opencv2/cudafilters.hpp>这两个头文件没有,

            用这个

  9. debug 和 release 编译都成功了。我用的是opencv 2.4.13 运行测试程序时报错:

    OpenCV Error: No GPU support (The library is compiled without CUDA support) in E
    mptyFuncTable::mallocPitch, file C:\buildslave64\win64_amdocl\2_4_PackSlave-win6
    4-vc11-shared\opencv\modules\dynamicuda\include\opencv2/dynamicuda/dynamicuda.hp
    p, line 126
    Error: C:\buildslave64\win64_amdocl\2_4_PackSlave-win64-vc11-shared\opencv\modul
    es\dynamicuda\include\opencv2/dynamicuda/dynamicuda.hpp:126: error: (-216) The l
    ibrary is compiled without CUDA support in function EmptyFuncTable::mallocPitch

  10. 错误    10502    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_videoio300d.lib”    D:\dev-lib\complied3\modules\highgui\LINK    opencv_highgui
    错误    340    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_video300d.lib”    D:\dev-lib\complied3\modules\shape\LINK    opencv_shape
    错误    11658    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_video300d.lib”    D:\dev-lib\complied3\modules\video\LINK    opencv_perf_video
    错误    14367    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_superres300d.lib”    D:\dev-lib\complied3\modules\superres\LINK    opencv_perf_superres
    错误    14369    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_stitching300d.lib”    D:\dev-lib\complied3\modules\stitching\LINK    opencv_perf_stitching
    错误    11639    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_photo300d.lib”    D:\dev-lib\complied3\modules\photo\LINK    opencv_perf_photo
    错误    11512    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_objdetect300d.lib”    D:\dev-lib\complied3\apps\traincascade\LINK    opencv_traincascade
    错误    11579    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_objdetect300d.lib”    D:\dev-lib\complied3\modules\objdetect\LINK    opencv_perf_objdetect
    错误    284    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_imgproc300d.lib”    D:\dev-lib\complied3\modules\video\LINK    opencv_video
    错误    8534    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_imgproc300d.lib”    D:\dev-lib\complied3\modules\imgcodecs\LINK    opencv_imgcodecs
    错误    10496    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_imgcodecs300d.lib”    D:\dev-lib\complied3\modules\videoio\LINK    opencv_videoio
    错误    11637    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_highgui300d.lib”    D:\dev-lib\complied3\modules\imgcodecs\LINK    opencv_perf_imgcodecs
    错误    11659    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_highgui300d.lib”    D:\dev-lib\complied3\modules\videoio\LINK    opencv_perf_videoio
    错误    11786    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_highgui300d.lib”    D:\dev-lib\complied3\modules\core\LINK    opencv_perf_core
    错误    11787    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_highgui300d.lib”    D:\dev-lib\complied3\modules\imgproc\LINK    opencv_perf_imgproc
    错误    10759    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_flann300d.lib”    D:\dev-lib\complied3\modules\features2d\LINK    opencv_features2d
    错误    10849    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_features2d300d.lib”    D:\dev-lib\complied3\modules\calib3d\LINK    opencv_calib3d
    错误    13896    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_features2d300d.lib”    D:\dev-lib\complied3\modules\features2d\LINK    opencv_perf_features2d
    错误    13898    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_cudawarping300d.lib”    D:\dev-lib\complied3\modules\cudawarping\LINK    opencv_perf_cudawarping
    错误    11546    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_cudastereo300d.lib”    D:\dev-lib\complied3\modules\cudastereo\LINK    opencv_perf_cudastereo
    错误    14228    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_cudaoptflow300d.lib”    D:\dev-lib\complied3\modules\cudaoptflow\LINK    opencv_perf_cudaoptflow
    错误    14350    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_cudaoptflow300d.lib”    D:\dev-lib\complied3\modules\superres\LINK    opencv_superres
    错误    12248    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_cudalegacy300d.lib”    D:\dev-lib\complied3\modules\cudawarping\LINK    opencv_cudawarping
    错误    11337    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_cudaimgproc300d.lib”    D:\dev-lib\complied3\modules\photo\LINK    opencv_photo
    错误    11338    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_cudaimgproc300d.lib”    D:\dev-lib\complied3\modules\cudabgsegm\LINK    opencv_cudabgsegm
    错误    11580    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_cudaimgproc300d.lib”    D:\dev-lib\complied3\modules\cudaimgproc\LINK    opencv_perf_cudaimgproc
    错误    14150    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_cudaimgproc300d.lib”    D:\dev-lib\complied3\modules\cudaoptflow\LINK    opencv_cudaoptflow
    错误    10503    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_cudafilters300d.lib”    D:\dev-lib\complied3\modules\cudaimgproc\LINK    opencv_cudaimgproc
    错误    11545    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_cudafilters300d.lib”    D:\dev-lib\complied3\modules\cudafilters\LINK    opencv_perf_cudafilters
    错误    14365    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_cudafilters300d.lib”    D:\dev-lib\complied3\modules\cudafeatures2d\LINK    opencv_cudafeatures2d
    错误    14366    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_cudafeatures2d300d.lib”    D:\dev-lib\complied3\modules\cudafeatures2d\LINK    opencv_perf_cudafeatures2d
    错误    11640    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_cudabgsegm300d.lib”    D:\dev-lib\complied3\modules\cudabgsegm\LINK    opencv_perf_cudabgsegm
    错误    8535    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_cudaarithm300d.lib”    D:\dev-lib\complied3\modules\cudafilters\LINK    opencv_cudafilters
    错误    11638    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_cudaarithm300d.lib”    D:\dev-lib\complied3\modules\cudaarithm\LINK    opencv_perf_cudaarithm
    错误    13966    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_cuda300d.lib”    D:\dev-lib\complied3\modules\cuda\LINK    opencv_perf_cuda
    错误    14248    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_cuda300d.lib”    D:\dev-lib\complied3\modules\videostab\LINK    opencv_videostab
    错误    14368    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_cuda300d.lib”    D:\dev-lib\complied3\modules\stitching\LINK    opencv_stitching
    错误    203    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_core300d.lib”    D:\dev-lib\complied3\modules\ml\LINK    opencv_ml
    错误    204    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_core300d.lib”    D:\dev-lib\complied3\modules\flann\LINK    opencv_flann
    错误    4968    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_core300d.lib”    D:\dev-lib\complied3\modules\cudaarithm\LINK    opencv_cudaarithm
    错误    11670    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_calib3d300d.lib”    D:\dev-lib\complied3\modules\calib3d\LINK    opencv_perf_calib3d
    错误    13897    error LNK1104: 无法打开文件“..\..\lib\Debug\opencv_calib3d300d.lib”    D:\dev-lib\complied3\modules\cuda\LINK    opencv_cuda
    错误    222    error C3861: “ippiHistogramEven_8u_C1R”:  找不到标识符    D:\dev-lib\opencv3\sources\modules\imgproc\src\histogram.cpp    1194    1    opencv_imgproc
    错误    10504    error C3861: “ippiHaarClassifierFree_32f”:  找不到标识符    D:\dev-lib\opencv3\sources\modules\objdetect\src\haar.cpp    168    1    opencv_objdetect
    错误    175    error C3861: “ippiFilterSobelNegVertGetBufferSize_8u16s_C1R”:  找不到标识符    D:\dev-lib\opencv3\sources\modules\imgproc\src\canny.cpp    62    1    opencv_imgproc
    错误    185    error C3861: “ippiFilterSobelNegVertGetBufferSize_8u16s_C1R”:  找不到标识符    D:\dev-lib\opencv3\sources\modules\imgproc\src\deriv.cpp    430    1    opencv_imgproc
    错误    176    error C3861: “ippiFilterSobelHorizGetBufferSize_8u16s_C1R”:  找不到标识符    D:\dev-lib\opencv3\sources\modules\imgproc\src\canny.cpp    64    1    opencv_imgproc
    错误    186    error C3861: “ippiFilterSobelHorizGetBufferSize_8u16s_C1R”:  找不到标识符    D:\dev-lib\opencv3\sources\modules\imgproc\src\deriv.cpp    443    1    opencv_imgproc
    错误    241    error C3861: “ippiFilterMinGetBufferSize_8u_C4R”:  找不到标识符    D:\dev-lib\opencv3\sources\modules\imgproc\src\morph.cpp    1251    1    opencv_imgproc
    错误    238    error C3861: “ippiFilterMinGetBufferSize_8u_C3R”:  找不到标识符    D:\dev-lib\opencv3\sources\modules\imgproc\src\morph.cpp    1250    1    opencv_imgproc
    错误    235    error C3861: “ippiFilterMinGetBufferSize_8u_C1R”:  找不到标识符    D:\dev-lib\opencv3\sources\modules\imgproc\src\morph.cpp    1249    1    opencv_imgproc
    错误    250    error C3861: “ippiFilterMinGetBufferSize_32f_C4R”:  找不到标识符    D:\dev-lib\opencv3\sources\modules\imgproc\src\morph.cpp    1254    1    opencv_imgproc
    错误    247    error C3861: “ippiFilterMinGetBufferSize_32f_C3R”:  找不到标识符    D:\dev-lib\opencv3\sources\modules\imgproc\src\morph.cpp    1253    1    opencv_imgproc
    错误    244    error C3861: “ippiFilterMinGetBufferSize_32f_C1R”:  找不到标识符    D:\dev-lib\opencv3\sources\modules\imgproc\src\morph.cpp    1252    1    opencv_imgproc
    错误    242    error C3861: “ippiFilterMinBorderReplicate_8u_C4R”:  找不到标识符    D:\dev-lib\opencv3\sources\modules\imgproc\src\morph.cpp    1251    1    opencv_imgproc
    错误    239    error C3861: “ippiFilterMinBorderReplicate_8u_C3R”:  找不到标识符    D:\dev-lib\opencv3\sources\modules\imgproc\src\morph.cpp    1250    1    opencv_imgproc
    错误    236    error C3861: “ippiFilterMinBorderReplicate_8u_C1R”:  找不到标识符    D:\dev-lib\opencv3\sources\modules\imgproc\src\morph.cpp    1249    1    opencv_imgproc
    错误    251    error C3861: “ippiFilterMinBorderReplicate_32f_C4R”:  找不到标识符    D:\dev-lib\opencv3\sources\modules\imgproc\src\morph.cpp    1254    1    opencv_imgproc
    错误    248    error C3861: “ippiFilterMinBorderReplicate_32f_C3R”:  找不到标识符    D:\dev-lib\opencv3\sources\modules\imgproc\src\morph.cpp    1253    1    opencv_imgproc
    错误    245    error C3861: “ippiFilterMinBorderReplicate_32f_C1R”:  找不到标识符    D:\dev-lib\opencv3\sources\modules\imgproc\src\morph.cpp    1252    1    opencv_imgproc
    错误    243    error C3861: “ippiFilterMaxBorderReplicate_8u_C4R”:  找不到标识符    D:\dev-lib\opencv3\sources\modules\imgproc\src\morph.cpp    1251    1    opencv_imgproc
    错误    240    error C3861: “ippiFilterMaxBorderReplicate_8u_C3R”:  找不到标识符    D:\dev-lib\opencv3\sources\modules\imgproc\src\morph.cpp    1250    1    opencv_imgproc
    错误    237    error C3861: “ippiFilterMaxBorderReplicate_8u_C1R”:  找不到标识符    D:\dev-lib\opencv3\sources\modules\imgproc\src\morph.cpp    1249    1    opencv_imgproc
    错误    252    error C3861: “ippiFilterMaxBorderReplicate_32f_C4R”:  找不到标识符    D:\dev-lib\opencv3\sources\modules\imgproc\src\morph.cpp    1254    1    opencv_imgproc
    错误    249    error C3861: “ippiFilterMaxBorderReplicate_32f_C3R”:  找不到标识符    D:\dev-lib\opencv3\sources\modules\imgproc\src\morph.cpp    1253    1    opencv_imgproc
    错误    246    error C3861: “ippiFilterMaxBorderReplicate_32f_C1R”:  找不到标识符    D:\dev-lib\opencv3\sources\modules\imgproc\src\morph.cpp    1252    1    opencv_imgproc
    错误    178    error C2780: “bool cv::CvtColorIPPLoop(const cv::Mat &,cv::Mat &,const Cvt &)”: 应输入 3 个参数,却提供了 2 个    D:\dev-lib\opencv3\sources\modules\imgproc\src\color.cpp    3443    1    opencv_imgproc
    错误    180    error C2780: “bool cv::CvtColorIPPLoop(const cv::Mat &,cv::Mat &,const Cvt &)”: 应输入 3 个参数,却提供了 2 个    D:\dev-lib\opencv3\sources\modules\imgproc\src\color.cpp    3450    1    opencv_imgproc
    错误    182    error C2780: “bool cv::CvtColorIPPLoop(const cv::Mat &,cv::Mat &,const Cvt &)”: 应输入 3 个参数,却提供了 2 个    D:\dev-lib\opencv3\sources\modules\imgproc\src\color.cpp    3457    1    opencv_imgproc
    错误    184    error C2780: “bool cv::CvtColorIPPLoop(const cv::Mat &,cv::Mat &,const Cvt &)”: 应输入 3 个参数,却提供了 2 个    D:\dev-lib\opencv3\sources\modules\imgproc\src\color.cpp    3464    1    opencv_imgproc
    错误    228    error C2664: “IppStatus ippicviMorphologyBorderInit_8u_C4R(IppiSize,const Ipp8u *,IppiSize,IppiMorphState *,Ipp8u *)”: 无法将参数 1 从“int”转换为“IppiSize”    D:\dev-lib\opencv3\sources\modules\imgproc\src\morph.cpp    1219    1    opencv_imgproc
    错误    226    error C2664: “IppStatus ippicviMorphologyBorderInit_8u_C3R(IppiSize,const Ipp8u *,IppiSize,IppiMorphState *,Ipp8u *)”: 无法将参数 1 从“int”转换为“IppiSize”    D:\dev-lib\opencv3\sources\modules\imgproc\src\morph.cpp    1218    1    opencv_imgproc
    错误    224    error C2664: “IppStatus ippicviMorphologyBorderInit_8u_C1R(IppiSize,const Ipp8u *,IppiSize,IppiMorphState *,Ipp8u *)”: 无法将参数 1 从“int”转换为“IppiSize”    D:\dev-lib\opencv3\sources\modules\imgproc\src\morph.cpp    1217    1    opencv_imgproc
    错误    234    error C2664: “IppStatus ippicviMorphologyBorderInit_32f_C4R(IppiSize,const Ipp8u *,IppiSize,IppiMorphState *,Ipp8u *)”: 无法将参数 1 从“int”转换为“IppiSize”    D:\dev-lib\opencv3\sources\modules\imgproc\src\morph.cpp    1222    1    opencv_imgproc
    错误    232    error C2664: “IppStatus ippicviMorphologyBorderInit_32f_C3R(IppiSize,const Ipp8u *,IppiSize,IppiMorphState *,Ipp8u *)”: 无法将参数 1 从“int”转换为“IppiSize”    D:\dev-lib\opencv3\sources\modules\imgproc\src\morph.cpp    1221    1    opencv_imgproc
    错误    230    error C2664: “IppStatus ippicviMorphologyBorderInit_32f_C1R(IppiSize,const Ipp8u *,IppiSize,IppiMorphState *,Ipp8u *)”: 无法将参数 1 从“int”转换为“IppiSize”    D:\dev-lib\opencv3\sources\modules\imgproc\src\morph.cpp    1220    1    opencv_imgproc
    错误    227    error C2664: “IppStatus ippicviMorphologyBorderGetSize_8u_C4R(IppiSize,IppiSize,int *,int *)”: 无法将参数 1 从“int”转换为“IppiSize”    D:\dev-lib\opencv3\sources\modules\imgproc\src\morph.cpp    1219    1    opencv_imgproc
    错误    225    error C2664: “IppStatus ippicviMorphologyBorderGetSize_8u_C3R(IppiSize,IppiSize,int *,int *)”: 无法将参数 1 从“int”转换为“IppiSize”    D:\dev-lib\opencv3\sources\modules\imgproc\src\morph.cpp    1218    1    opencv_imgproc
    错误    223    error C2664: “IppStatus ippicviMorphologyBorderGetSize_8u_C1R(IppiSize,IppiSize,int *,int *)”: 无法将参数 1 从“int”转换为“IppiSize”    D:\dev-lib\opencv3\sources\modules\imgproc\src\morph.cpp    1217    1    opencv_imgproc
    错误    233    error C2664: “IppStatus ippicviMorphologyBorderGetSize_32f_C4R(IppiSize,IppiSize,int *,int *)”: 无法将参数 1 从“int”转换为“IppiSize”    D:\dev-lib\opencv3\sources\modules\imgproc\src\morph.cpp    1222    1    opencv_imgproc
    错误    231    error C2664: “IppStatus ippicviMorphologyBorderGetSize_32f_C3R(IppiSize,IppiSize,int *,int *)”: 无法将参数 1 从“int”转换为“IppiSize”    D:\dev-lib\opencv3\sources\modules\imgproc\src\morph.cpp    1221    1    opencv_imgproc
    错误    229    error C2664: “IppStatus ippicviMorphologyBorderGetSize_32f_C1R(IppiSize,IppiSize,int *,int *)”: 无法将参数 1 从“int”转换为“IppiSize”    D:\dev-lib\opencv3\sources\modules\imgproc\src\morph.cpp    1220    1    opencv_imgproc
    错误    172    error C2065: “ippiNormRel_L2_8s_C1MR”: 未声明的标识符    D:\dev-lib\opencv3\sources\modules\core\src\stat.cpp    2636    1    opencv_core
    错误    171    error C2065: “ippiNormRel_L1_8s_C1MR”: 未声明的标识符    D:\dev-lib\opencv3\sources\modules\core\src\stat.cpp    2630    1    opencv_core
    错误    170    error C2065: “ippiNormRel_Inf_8s_C1MR”: 未声明的标识符    D:\dev-lib\opencv3\sources\modules\core\src\stat.cpp    2624    1    opencv_core
    错误    174    error C2065: “ippiNormDiff_L2_8s_C1MR”: 未声明的标识符    D:\dev-lib\opencv3\sources\modules\core\src\stat.cpp    2732    1    opencv_core
    错误    173    error C2065: “ippiNormDiff_Inf_8s_C1MR”: 未声明的标识符    D:\dev-lib\opencv3\sources\modules\core\src\stat.cpp    2720    1    opencv_core
    错误    169    error C2065: “ippiNorm_L2_8s_C1MR”: 未声明的标识符    D:\dev-lib\opencv3\sources\modules\core\src\stat.cpp    2276    1    opencv_core
    错误    168    error C2065: “ippiNorm_L1_8s_C1MR”: 未声明的标识符    D:\dev-lib\opencv3\sources\modules\core\src\stat.cpp    2270    1    opencv_core
    错误    167    error C2065: “ippiNorm_Inf_8s_C1MR”: 未声明的标识符    D:\dev-lib\opencv3\sources\modules\core\src\stat.cpp    2264    1    opencv_core
    错误    166    error C2065: “ippiMinMaxIndx_8s_C1R”: 未声明的标识符    D:\dev-lib\opencv3\sources\modules\core\src\stat.cpp    1638    1    opencv_core
    错误    165    error C2065: “ippiMinMaxIndx_8s_C1MR”: 未声明的标识符    D:\dev-lib\opencv3\sources\modules\core\src\stat.cpp    1599    1    opencv_core
    错误    156    error C2065: “ippiDCTInvInitAlloc_32f”: 未声明的标识符    D:\dev-lib\opencv3\sources\modules\core\src\dxt.cpp    3360    1    opencv_core
    错误    160    error C2065: “ippiDCTInvGetBufSize_32f”: 未声明的标识符    D:\dev-lib\opencv3\sources\modules\core\src\dxt.cpp    3362    1    opencv_core
    错误    158    error C2065: “ippiDCTInvFree_32f”: 未声明的标识符    D:\dev-lib\opencv3\sources\modules\core\src\dxt.cpp    3361    1    opencv_core
    错误    157    error C2065: “ippiDCTFwdInitAlloc_32f”: 未声明的标识符    D:\dev-lib\opencv3\sources\modules\core\src\dxt.cpp    3360    1    opencv_core
    错误    161    error C2065: “ippiDCTFwdGetBufSize_32f”: 未声明的标识符    D:\dev-lib\opencv3\sources\modules\core\src\dxt.cpp    3362    1    opencv_core
    错误    159    error C2065: “ippiDCTFwdFree_32f”: 未声明的标识符    D:\dev-lib\opencv3\sources\modules\core\src\dxt.cpp    3361    1    opencv_core
    错误    177    error C2065: “ippiBGR565ToBGR_16u8u_C3R”: 未声明的标识符    D:\dev-lib\opencv3\sources\modules\imgproc\src\color.cpp    3443    1    opencv_imgproc
    错误    179    error C2065: “ippiBGR565ToBGR_16u8u_C3R”: 未声明的标识符    D:\dev-lib\opencv3\sources\modules\imgproc\src\color.cpp    3449    1    opencv_imgproc
    错误    181    error C2065: “ippiBGR565ToBGR_16u8u_C3R”: 未声明的标识符    D:\dev-lib\opencv3\sources\modules\imgproc\src\color.cpp    3456    1    opencv_imgproc
    错误    183    error C2065: “ippiBGR565ToBGR_16u8u_C3R”: 未声明的标识符    D:\dev-lib\opencv3\sources\modules\imgproc\src\color.cpp    3463    1    opencv_imgproc
    错误    11513    error : calling a __host__ function("fmin<int, float> ") from a __global__ function("cv::cuda::device::stereocsbp::init_data_cost<short, (int)1> ") is not allowed    D:\dev-lib\opencv3\sources\modules\cudastereo\src\cuda\stereocsbp.cu    211    1    opencv_cudastereo
    错误    11521    error : calling a __host__ function("fmin<int, float> ") from a __global__ function("cv::cuda::device::stereocsbp::init_data_cost<float, (int)1> ") is not allowed    D:\dev-lib\opencv3\sources\modules\cudastereo\src\cuda\stereocsbp.cu    211    1    opencv_cudastereo
    错误    11515    error : calling a __host__ function("fmin<int, float> ") from a __global__ function("cv::cuda::device::stereocsbp::init_data_cost_reduce<short, (int)8, (int)1> ") is not allowed    D:\dev-lib\opencv3\sources\modules\cudastereo\src\cuda\stereocsbp.cu    250    1    opencv_cudastereo
    错误    11518    error : calling a __host__ function("fmin<int, float> ") from a __global__ function("cv::cuda::device::stereocsbp::init_data_cost_reduce<short, (int)64, (int)1> ") is not allowed    D:\dev-lib\opencv3\sources\modules\cudastereo\src\cuda\stereocsbp.cu    250    1    opencv_cudastereo
    错误    11514    error : calling a __host__ function("fmin<int, float> ") from a __global__ function("cv::cuda::device::stereocsbp::init_data_cost_reduce<short, (int)4, (int)1> ") is not allowed    D:\dev-lib\opencv3\sources\modules\cudastereo\src\cuda\stereocsbp.cu    250    1    opencv_cudastereo
    错误    11517    error : calling a __host__ function("fmin<int, float> ") from a __global__ function("cv::cuda::device::stereocsbp::init_data_cost_reduce<short, (int)32, (int)1> ") is not allowed    D:\dev-lib\opencv3\sources\modules\cudastereo\src\cuda\stereocsbp.cu    250    1    opencv_cudastereo
    错误    11520    error : calling a __host__ function("fmin<int, float> ") from a __global__ function("cv::cuda::device::stereocsbp::init_data_cost_reduce<short, (int)256, (int)1> ") is not allowed    D:\dev-lib\opencv3\sources\modules\cudastereo\src\cuda\stereocsbp.cu    250    1    opencv_cudastereo
    错误    11516    error : calling a __host__ function("fmin<int, float> ") from a __global__ function("cv::cuda::device::stereocsbp::init_data_cost_reduce<short, (int)16, (int)1> ") is not allowed    D:\dev-lib\opencv3\sources\modules\cudastereo\src\cuda\stereocsbp.cu    250    1    opencv_cudastereo
    错误    11519    error : calling a __host__ function("fmin<int, float> ") from a __global__ function("cv::cuda::device::stereocsbp::init_data_cost_reduce<short, (int)128, (int)1> ") is not allowed    D:\dev-lib\opencv3\sources\modules\cudastereo\src\cuda\stereocsbp.cu    250    1    opencv_cudastereo
    错误    11523    error : calling a __host__ function("fmin<int, float> ") from a __global__ function("cv::cuda::device::stereocsbp::init_data_cost_reduce<float, (int)8, (int)1> ") is not allowed    D:\dev-lib\opencv3\sources\modules\cudastereo\src\cuda\stereocsbp.cu    250    1    opencv_cudastereo
    错误    11526    error : calling a __host__ function("fmin<int, float> ") from a __global__ function("cv::cuda::device::stereocsbp::init_data_cost_reduce<float, (int)64, (int)1> ") is not allowed    D:\dev-lib\opencv3\sources\modules\cudastereo\src\cuda\stereocsbp.cu    250    1    opencv_cudastereo
    错误    11522    error : calling a __host__ function("fmin<int, float> ") from a __global__ function("cv::cuda::device::stereocsbp::init_data_cost_reduce<float, (int)4, (int)1> ") is not allowed    D:\dev-lib\opencv3\sources\modules\cudastereo\src\cuda\stereocsbp.cu    250    1    opencv_cudastereo
    错误    11525    error : calling a __host__ function("fmin<int, float> ") from a __global__ function("cv::cuda::device::stereocsbp::init_data_cost_reduce<float, (int)32, (int)1> ") is not allowed    D:\dev-lib\opencv3\sources\modules\cudastereo\src\cuda\stereocsbp.cu    250    1    opencv_cudastereo
    错误    11528    error : calling a __host__ function("fmin<int, float> ") from a __global__ function("cv::cuda::device::stereocsbp::init_data_cost_reduce<float, (int)256, (int)1> ") is not allowed    D:\dev-lib\opencv3\sources\modules\cudastereo\src\cuda\stereocsbp.cu    250    1    opencv_cudastereo
    错误    11524    error : calling a __host__ function("fmin<int, float> ") from a __global__ function("cv::cuda::device::stereocsbp::init_data_cost_reduce<float, (int)16, (int)1> ") is not allowed    D:\dev-lib\opencv3\sources\modules\cudastereo\src\cuda\stereocsbp.cu    250    1    opencv_cudastereo
    错误    11527    error : calling a __host__ function("fmin<int, float> ") from a __global__ function("cv::cuda::device::stereocsbp::init_data_cost_reduce<float, (int)128, (int)1> ") is not allowed    D:\dev-lib\opencv3\sources\modules\cudastereo\src\cuda\stereocsbp.cu    250    1    opencv_cudastereo
    错误    11529    error : calling a __host__ function("fmin<int, float> ") from a __global__ function("cv::cuda::device::stereocsbp::compute_data_cost<short, (int)1> ") is not allowed    D:\dev-lib\opencv3\sources\modules\cudastereo\src\cuda\stereocsbp.cu    390    1    opencv_cudastereo
    错误    11537    error : calling a __host__ function("fmin<int, float> ") from a __global__ function("cv::cuda::device::stereocsbp::compute_data_cost<float, (int)1> ") is not allowed    D:\dev-lib\opencv3\sources\modules\cudastereo\src\cuda\stereocsbp.cu    390    1    opencv_cudastereo
    错误    11531    error : calling a __host__ function("fmin<int, float> ") from a __global__ function("cv::cuda::device::stereocsbp::compute_data_cost_reduce<short, (int)8, (int)1> ") is not allowed    D:\dev-lib\opencv3\sources\modules\cudastereo\src\cuda\stereocsbp.cu    432    1    opencv_cudastereo
    错误    11534    error : calling a __host__ function("fmin<int, float> ") from a __global__ function("cv::cuda::device::stereocsbp::compute_data_cost_reduce<short, (int)64, (int)1> ") is not allowed    D:\dev-lib\opencv3\sources\modules\cudastereo\src\cuda\stereocsbp.cu    432    1    opencv_cudastereo
    错误    11530    error : calling a __host__ function("fmin<int, float> ") from a __global__ function("cv::cuda::device::stereocsbp::compute_data_cost_reduce<short, (int)4, (int)1> ") is not allowed    D:\dev-lib\opencv3\sources\modules\cudastereo\src\cuda\stereocsbp.cu    432    1    opencv_cudastereo
    错误    11533    error : calling a __host__ function("fmin<int, float> ") from a __global__ function("cv::cuda::device::stereocsbp::compute_data_cost_reduce<short, (int)32, (int)1> ") is not allowed    D:\dev-lib\opencv3\sources\modules\cudastereo\src\cuda\stereocsbp.cu    432    1    opencv_cudastereo
    错误    11536    error : calling a __host__ function("fmin<int, float> ") from a __global__ function("cv::cuda::device::stereocsbp::compute_data_cost_reduce<short, (int)256, (int)1> ") is not allowed    D:\dev-lib\opencv3\sources\modules\cudastereo\src\cuda\stereocsbp.cu    432    1    opencv_cudastereo
    错误    11532    error : calling a __host__ function("fmin<int, float> ") from a __global__ function("cv::cuda::device::stereocsbp::compute_data_cost_reduce<short, (int)16, (int)1> ") is not allowed    D:\dev-lib\opencv3\sources\modules\cudastereo\src\cuda\stereocsbp.cu    432    1    opencv_cudastereo
    错误    11535    error : calling a __host__ function("fmin<int, float> ") from a __global__ function("cv::cuda::device::stereocsbp::compute_data_cost_reduce<short, (int)128, (int)1> ") is not allowed    D:\dev-lib\opencv3\sources\modules\cudastereo\src\cuda\stereocsbp.cu    432    1    opencv_cudastereo
    错误    11539    error : calling a __host__ function("fmin<int, float> ") from a __global__ function("cv::cuda::device::stereocsbp::compute_data_cost_reduce<float, (int)8, (int)1> ") is not allowed    D:\dev-lib\opencv3\sources\modules\cudastereo\src\cuda\stereocsbp.cu    432    1    opencv_cudastereo
    错误    11542    error : calling a __host__ function("fmin<int, float> ") from a __global__ function("cv::cuda::device::stereocsbp::compute_data_cost_reduce<float, (int)64, (int)1> ") is not allowed    D:\dev-lib\opencv3\sources\modules\cudastereo\src\cuda\stereocsbp.cu    432    1    opencv_cudastereo
    错误    11538    error : calling a __host__ function("fmin<int, float> ") from a __global__ function("cv::cuda::device::stereocsbp::compute_data_cost_reduce<float, (int)4, (int)1> ") is not allowed    D:\dev-lib\opencv3\sources\modules\cudastereo\src\cuda\stereocsbp.cu    432    1    opencv_cudastereo
    错误    11541    error : calling a __host__ function("fmin<int, float> ") from a __global__ function("cv::cuda::device::stereocsbp::compute_data_cost_reduce<float, (int)32, (int)1> ") is not allowed    D:\dev-lib\opencv3\sources\modules\cudastereo\src\cuda\stereocsbp.cu    432    1    opencv_cudastereo
    错误    11544    error : calling a __host__ function("fmin<int, float> ") from a __global__ function("cv::cuda::device::stereocsbp::compute_data_cost_reduce<float, (int)256, (int)1> ") is not allowed    D:\dev-lib\opencv3\sources\modules\cudastereo\src\cuda\stereocsbp.cu    432    1    opencv_cudastereo
    错误    11540    error : calling a __host__ function("fmin<int, float> ") from a __global__ function("cv::cuda::device::stereocsbp::compute_data_cost_reduce<float, (int)16, (int)1> ") is not allowed    D:\dev-lib\opencv3\sources\modules\cudastereo\src\cuda\stereocsbp.cu    432    1    opencv_cudastereo
    错误    11543    error : calling a __host__ function("fmin<int, float> ") from a __global__ function("cv::cuda::device::stereocsbp::compute_data_cost_reduce<float, (int)128, (int)1> ") is not allowed    D:\dev-lib\opencv3\sources\modules\cudastereo\src\cuda\stereocsbp.cu    432    1    opencv_cudastereo
     

      1. cuda_runtime.h是CUDA Toolkit提供的头文件,你是否安装了CUDA Toolkit?如果安装了,检查一下系统环境变量是否有CUDA_PATH一项,并正确指向CUDA Toolkit的安装目录?

  11. 博主你好,编译好像成功了,就是用你的测试程序测试的时候出错了

    fatal error C1083: 无法打开包括文件:“opencv2/cudaarithm.hpp”: No such file or directory,我看了这个文件确实是存在的,这是怎么回事啊?

        1. 感觉这个问题好奇怪,对vs2012的属性管理器做了相应的修改后调试失败,报错为fatal error C1083: 无法打开包括文件:“opencv2/core/cuda.hpp”: No such file or directory。 关闭工程后再次打开发现属性管理器恢复成原来的设置。之前用过vs2010+opencv2.4.8,这会对现在的调试造成影响吗?望博主不吝赐教!

    1. 朋友,你解决了吗?我也遇到了和你相同的问题,不过经过反复尝试我现在解决了这个问题,我把我的解决方法分享给你,希望能对你有帮助。我之前用的是vs2010+opencv248,所以当我安装完vs2012后我的属性管理器中继承了vs2010的设置,但是修改完设置后调试一直都没通过,每次报错都是no such file or directory,我后来将属性管理器中win32的debug和relese都删掉,只保留x64的,然后删除掉之前的设置,然后不要调试,关掉工程后再次打开,这时候如果属性页中已经了没有之前的设置可以设置新的了,问题应该就能够解决了。希望能对你有帮助!

       

  12. 编译的时候成功了,就是用你的测试程序测试的时候报错

    fatal error C1083: 无法打开包括文件:“opencv2/cudaarithm.hpp”: No such file or directory这是怎么回事?

  13. 我编译release版本的时候,python模块出问题了, 好像是链接错误,如下:

    错误    45350    error LNK2019: 无法解析的外部符号 __imp_PyType_IsSubtype,该符号在函数 "struct _object * __cdecl pyopencv_cv_StereoBM_setPreFilterCap(struct _object *,struct _object *,struct _object *)" (?pyopencv_cv_StereoBM_setPreFilterCap@@YAPEAU_object@@PEAU1@00@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45351    error LNK2019: 无法解析的外部符号 __imp_PyType_Ready,该符号在函数 "int __cdecl to_ok(struct _typeobject *)" (?to_ok@@YAHPEAU_typeobject@@@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45352    error LNK2019: 无法解析的外部符号 __imp_PyType_GenericAlloc,该符号在函数 "int __cdecl to_ok(struct _typeobject *)" (?to_ok@@YAHPEAU_typeobject@@@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45353    error LNK2019: 无法解析的外部符号 __imp_PyType_GenericNew,该符号在函数 "int __cdecl to_ok(struct _typeobject *)" (?to_ok@@YAHPEAU_typeobject@@@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45354    error LNK2019: 无法解析的外部符号 __imp_PyObject_GetAttrString,该符号在函数 _import_array 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45355    error LNK2019: 无法解析的外部符号 __imp_PyObject_IsTrue,该符号在函数 "int __cdecl pyopencv_SimpleBlobDetector_Params_set_filterByArea(struct pyopencv_SimpleBlobDetector_Params_t *,struct _object *,void *)" (?pyopencv_SimpleBlobDetector_Params_set_filterByArea@@YAHPEAUpyopencv_SimpleBlobDetector_Params_t@@PEAU_object@@PEAX@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45356    error LNK2019: 无法解析的外部符号 __imp_PyCallable_Check,该符号在函数 "struct _object * __cdecl pycvSetMouseCallback(struct _object *,struct _object *,struct _object *)" (?pycvSetMouseCallback@@YAPEAU_object@@PEAU1@00@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45357    error LNK2019: 无法解析的外部符号 __imp_PyObject_Malloc,该符号在函数 "struct _object * __cdecl pyopencv_cv_MSER_create(struct _object *,struct _object *,struct _object *)" (?pyopencv_cv_MSER_create@@YAPEAU_object@@PEAU1@00@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45358    error LNK2019: 无法解析的外部符号 __imp_PyObject_Free,该符号在函数 "void __cdecl pyopencv_AKAZE_dealloc(struct _object *)" (?pyopencv_AKAZE_dealloc@@YAXPEAU_object@@@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45359    error LNK2019: 无法解析的外部符号 __imp_PyObject_Init,该符号在函数 "struct _object * __cdecl pyopencv_cv_MSER_create(struct _object *,struct _object *,struct _object *)" (?pyopencv_cv_MSER_create@@YAPEAU_object@@PEAU1@00@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45360    error LNK2019: 无法解析的外部符号 __imp_PyInt_FromLong,该符号在函数 "struct _object * __cdecl pyopencv_cv_rotatedRectangleIntersection(struct _object *,struct _object *,struct _object *)" (?pyopencv_cv_rotatedRectangleIntersection@@YAPEAU_object@@PEAU1@00@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45361    error LNK2019: 无法解析的外部符号 __imp_PyInt_AsLong,该符号在函数 "int __cdecl pyopencv_DMatch_set_imgIdx(struct pyopencv_DMatch_t *,struct _object *,void *)" (?pyopencv_DMatch_set_imgIdx@@YAHPEAUpyopencv_DMatch_t@@PEAU_object@@PEAX@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45362    error LNK2019: 无法解析的外部符号 __imp_PyBool_FromLong,该符号在函数 "struct _object * __cdecl pyopencv_cv_VideoWriter_set(struct _object *,struct _object *,struct _object *)" (?pyopencv_cv_VideoWriter_set@@YAPEAU_object@@PEAU1@00@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45363    error LNK2019: 无法解析的外部符号 __imp_PyLong_FromSize_t,该符号在函数 "struct _object * __cdecl pyopencv_SimpleBlobDetector_Params_get_minRepeatability(struct pyopencv_SimpleBlobDetector_Params_t *,void *)" (?pyopencv_SimpleBlobDetector_Params_get_minRepeatability@@YAPEAU_object@@PEAUpyopencv_SimpleBlobDetector_Params_t@@PEAX@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45364    error LNK2019: 无法解析的外部符号 __imp_PyLong_AsLong,该符号在函数 "int __cdecl pyopencv_DMatch_set_imgIdx(struct pyopencv_DMatch_t *,struct _object *,void *)" (?pyopencv_DMatch_set_imgIdx@@YAHPEAUpyopencv_DMatch_t@@PEAU_object@@PEAX@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45365    error LNK2019: 无法解析的外部符号 __imp_PyLong_AsUnsignedLong,该符号在函数 "int __cdecl pyopencv_SimpleBlobDetector_Params_set_minRepeatability(struct pyopencv_SimpleBlobDetector_Params_t *,struct _object *,void *)" (?pyopencv_SimpleBlobDetector_Params_set_minRepeatability@@YAHPEAUpyopencv_SimpleBlobDetector_Params_t@@PEAU_object@@PEAX@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45366    error LNK2019: 无法解析的外部符号 __imp_PyLong_FromLongLong,该符号在函数 "struct _object * __cdecl pyopencv_cv_getCPUTickCount(struct _object *,struct _object *,struct _object *)" (?pyopencv_cv_getCPUTickCount@@YAPEAU_object@@PEAU1@00@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45367    error LNK2019: 无法解析的外部符号 __imp_PyFloat_FromDouble,该符号在函数 "struct _object * __cdecl pyopencv_cv_AKAZE_getThreshold(struct _object *,struct _object *,struct _object *)" (?pyopencv_cv_AKAZE_getThreshold@@YAPEAU_object@@PEAU1@00@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45368    error LNK2019: 无法解析的外部符号 __imp_PyFloat_AsDouble,该符号在函数 "int __cdecl pyopencv_KeyPoint_set_response(struct pyopencv_KeyPoint_t *,struct _object *,void *)" (?pyopencv_KeyPoint_set_response@@YAHPEAUpyopencv_KeyPoint_t@@PEAU_object@@PEAX@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45369    error LNK2019: 无法解析的外部符号 __imp_PyComplex_AsCComplex,该符号在函数 "int __cdecl pyopencv_KeyPoint_set_pt(struct pyopencv_KeyPoint_t *,struct _object *,void *)" (?pyopencv_KeyPoint_set_pt@@YAHPEAUpyopencv_KeyPoint_t@@PEAU_object@@PEAX@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45370    error LNK2019: 无法解析的外部符号 __imp_PyString_FromString,该符号在函数 "struct _object * __cdecl pyopencv_cv_getBuildInformation(struct _object *,struct _object *,struct _object *)" (?pyopencv_cv_getBuildInformation@@YAPEAU_object@@PEAU1@00@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45371    error LNK2019: 无法解析的外部符号 __imp_PyString_Size,该符号在函数 "struct _object * __cdecl pyopencv_cv_VideoWriter_fourcc(struct _object *,struct _object *,struct _object *)" (?pyopencv_cv_VideoWriter_fourcc@@YAPEAU_object@@PEAU1@00@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45372    error LNK2019: 无法解析的外部符号 __imp_PyString_AsString,该符号在函数 "struct _object * __cdecl pyopencv_cv_namedWindow(struct _object *,struct _object *,struct _object *)" (?pyopencv_cv_namedWindow@@YAPEAU_object@@PEAU1@00@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45373    error LNK2019: 无法解析的外部符号 __imp_PyTuple_New,该符号在函数 "public: static struct _object * __cdecl pyopencvVecConverter<unsigned char>::from(class std::vector<unsigned char,class std::allocator<unsigned char> > const &)" (?from@?$pyopencvVecConverter@E@@SAPEAU_object@@AEBV?$vector@EV?$allocator@E@std@@@std@@@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45374    error LNK2019: 无法解析的外部符号 __imp_PyTuple_Size,该符号在函数 "bool __cdecl pyopencv_to(struct _object *,class cv::Mat &,struct ArgInfo)" (?pyopencv_to@@YA_NPEAU_object@@AEAVMat@cv@@UArgInfo@@@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45375    error LNK2019: 无法解析的外部符号 __imp_PyTuple_GetItem,该符号在函数 "void __cdecl OnChange(int,void *)" (?OnChange@@YAXHPEAX@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45376    error LNK2019: 无法解析的外部符号 __imp_PyList_New,该符号在函数 "struct _object * __cdecl pyopencv_from_generic_vec<class std::vector<class cv::Point_<int>,class std::allocator<class cv::Point_<int> > > >(class std::vector<class std::vector<class cv::Point_<int>,class std::allocator<class cv::Point_<int> > >,class std::allocator<class std::vector<class cv::Point_<int>,class std::allocator<class cv::Point_<int> > > > > const &)" (??$pyopencv_from_generic_vec@V?$vector@V?$Point_@H@cv@@V?$allocator@V?$Point_@H@cv@@@std@@@std@@@@YAPEAU_object@@AEBV?$vector@V?$vector@V?$Point_@H@cv@@V?$allocator@V?$Point_@H@cv@@@std@@@std@@V?$allocator@V?$vector@V?$Point_@H@cv@@V?$allocator@V?$Point_@H@cv@@@std@@@std@@@2@@std@@@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45377    error LNK2019: 无法解析的外部符号 __imp_PyDict_Next,该符号在函数 "bool __cdecl pyopencv_to<struct cv::flann::IndexParams>(struct _object *,struct cv::flann::IndexParams &,char const *)" (??$pyopencv_to@UIndexParams@flann@cv@@@@YA_NPEAU_object@@AEAUIndexParams@flann@cv@@PEBD@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45378    error LNK2019: 无法解析的外部符号 __imp_PyDict_GetItemString,该符号在函数 "void __cdecl init_submodule(struct _object *,char const *,struct PyMethodDef *,struct ConstDef *)" (?init_submodule@@YAXPEAU_object@@PEBDPEAUPyMethodDef@@PEAUConstDef@@@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45379    error LNK2019: 无法解析的外部符号 __imp_PyDict_SetItemString,该符号在函数 "void __cdecl init_submodule(struct _object *,char const *,struct PyMethodDef *,struct ConstDef *)" (?init_submodule@@YAXPEAU_object@@PEBDPEAUPyMethodDef@@PEAUConstDef@@@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45380    error LNK2019: 无法解析的外部符号 __imp_PyCFunction_NewEx,该符号在函数 "void __cdecl init_submodule(struct _object *,char const *,struct PyMethodDef *,struct ConstDef *)" (?init_submodule@@YAXPEAU_object@@PEBDPEAUPyMethodDef@@PEAUConstDef@@@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45381    error LNK2019: 无法解析的外部符号 __imp_PyModule_GetDict,该符号在函数 "void __cdecl init_submodule(struct _object *,char const *,struct PyMethodDef *,struct ConstDef *)" (?init_submodule@@YAXPEAU_object@@PEBDPEAUPyMethodDef@@PEAUConstDef@@@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45382    error LNK2019: 无法解析的外部符号 __imp_PyCObject_AsVoidPtr,该符号在函数 _import_array 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45383    error LNK2019: 无法解析的外部符号 __imp_PyErr_SetString,该符号在函数 "int __cdecl pyopencv_KeyPoint_set_pt(struct pyopencv_KeyPoint_t *,struct _object *,void *)" (?pyopencv_KeyPoint_set_pt@@YAHPEAUpyopencv_KeyPoint_t@@PEAU_object@@PEAX@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45384    error LNK2019: 无法解析的外部符号 __imp_PyErr_Occurred,该符号在函数 "int __cdecl pyopencv_KeyPoint_set_response(struct pyopencv_KeyPoint_t *,struct _object *,void *)" (?pyopencv_KeyPoint_set_response@@YAHPEAUpyopencv_KeyPoint_t@@PEAU_object@@PEAX@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45385    error LNK2019: 无法解析的外部符号 __imp_PyErr_Clear,该符号在函数 "struct _object * __cdecl pyopencv_cv_norm(struct _object *,struct _object *,struct _object *)" (?pyopencv_cv_norm@@YAPEAU_object@@PEAU1@00@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45386    error LNK2019: 无法解析的外部符号 __imp_PyErr_Format,该符号在函数 _import_array 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45387    error LNK2019: 无法解析的外部符号 __imp_PyErr_NewException,该符号在函数 initcv2 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45388    error LNK2019: 无法解析的外部符号 __imp_PyGILState_Ensure,该符号在函数 "public: __cdecl PyEnsureGIL::PyEnsureGIL(void)" (??0PyEnsureGIL@@QEAA@XZ) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45389    error LNK2019: 无法解析的外部符号 __imp_PyGILState_Release,该符号在函数 "public: __cdecl PyEnsureGIL::~PyEnsureGIL(void)" (??1PyEnsureGIL@@QEAA@XZ) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45390    error LNK2019: 无法解析的外部符号 __imp_PyArg_ParseTuple,该符号在函数 "int __cdecl pyopencv_KeyPoint_set_pt(struct pyopencv_KeyPoint_t *,struct _object *,void *)" (?pyopencv_KeyPoint_set_pt@@YAHPEAUpyopencv_KeyPoint_t@@PEAU_object@@PEAX@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45391    error LNK2019: 无法解析的外部符号 __imp_PyArg_ParseTupleAndKeywords,该符号在函数 "struct _object * __cdecl pyopencv_cv_StereoBM_setPreFilterCap(struct _object *,struct _object *,struct _object *)" (?pyopencv_cv_StereoBM_setPreFilterCap@@YAPEAU_object@@PEAU1@00@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45392    error LNK2019: 无法解析的外部符号 __imp_Py_BuildValue,该符号在函数 "struct _object * __cdecl pyopencv_cv_Feature2D_detectAndCompute(struct _object *,struct _object *,struct _object *)" (?pyopencv_cv_Feature2D_detectAndCompute@@YAPEAU_object@@PEAU1@00@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45393    error LNK2019: 无法解析的外部符号 __imp_Py_InitModule4_64,该符号在函数 initcv2 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45394    error LNK2019: 无法解析的外部符号 __imp_PyErr_Print,该符号在函数 "void __cdecl OnChange(int,void *)" (?OnChange@@YAXHPEAX@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45395    error LNK2019: 无法解析的外部符号 __imp_PyEval_SaveThread,该符号在函数 "struct _object * __cdecl pyopencv_cv_StereoBM_setPreFilterCap(struct _object *,struct _object *,struct _object *)" (?pyopencv_cv_StereoBM_setPreFilterCap@@YAPEAU_object@@PEAU1@00@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45396    error LNK2019: 无法解析的外部符号 __imp_PyEval_RestoreThread,该符号在函数 "struct _object * __cdecl pyopencv_cv_StereoBM_setPreFilterCap(struct _object *,struct _object *,struct _object *)" (?pyopencv_cv_StereoBM_setPreFilterCap@@YAPEAU_object@@PEAU1@00@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45397    error LNK2019: 无法解析的外部符号 __imp_PyImport_AddModule,该符号在函数 "void __cdecl init_submodule(struct _object *,char const *,struct PyMethodDef *,struct ConstDef *)" (?init_submodule@@YAXPEAU_object@@PEBDPEAUPyMethodDef@@PEAUConstDef@@@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45398    error LNK2019: 无法解析的外部符号 __imp_PyImport_ImportModule,该符号在函数 _import_array 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45399    error LNK2019: 无法解析的外部符号 __imp_PyObject_Call,该符号在函数 "void __cdecl OnChange(int,void *)" (?OnChange@@YAXHPEAX@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45400    error LNK2019: 无法解析的外部符号 __imp_PyObject_Size,该符号在函数 "struct _object * __cdecl pyopencv_cv_AKAZE_getThreshold(struct _object *,struct _object *,struct _object *)" (?pyopencv_cv_AKAZE_getThreshold@@YAPEAU_object@@PEAU1@00@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45401    error LNK2019: 无法解析的外部符号 __imp_PySequence_Check,该符号在函数 "bool __cdecl pyopencv_to<class cv::Scalar_<double> >(struct _object *,class cv::Scalar_<double> &,char const *)" (??$pyopencv_to@V?$Scalar_@N@cv@@@@YA_NPEAU_object@@AEAV?$Scalar_@N@cv@@PEBD@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45402    error LNK2019: 无法解析的外部符号 __imp_PySequence_Fast,该符号在函数 "bool __cdecl pyopencv_to<class cv::Scalar_<double> >(struct _object *,class cv::Scalar_<double> &,char const *)" (??$pyopencv_to@V?$Scalar_@N@cv@@@@YA_NPEAU_object@@AEAV?$Scalar_@N@cv@@PEBD@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45403    error LNK2019: 无法解析的外部符号 __imp_PyMapping_HasKeyString,该符号在函数 "bool __cdecl pyopencv_to(struct _object *,class cv::Moments &,char const *)" (?pyopencv_to@@YA_NPEAU_object@@AEAVMoments@cv@@PEBD@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45404    error LNK2019: 无法解析的外部符号 __imp_PyMapping_GetItemString,该符号在函数 "bool __cdecl pyopencv_to(struct _object *,class cv::Moments &,char const *)" (?pyopencv_to@@YA_NPEAU_object@@AEAVMoments@cv@@PEBD@Z) 中被引用    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45405    error LNK2001: 无法解析的外部符号 __imp_PyType_Type    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45406    error LNK2001: 无法解析的外部符号 __imp__Py_NoneStruct    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45407    error LNK2001: 无法解析的外部符号 __imp_PyInt_Type    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45408    error LNK2001: 无法解析的外部符号 __imp_PyBool_Type    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45409    error LNK2001: 无法解析的外部符号 __imp__Py_TrueStruct    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45410    error LNK2001: 无法解析的外部符号 __imp_PyFloat_Type    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45411    error LNK2001: 无法解析的外部符号 __imp_PyComplex_Type    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45412    error LNK2001: 无法解析的外部符号 __imp_PyCObject_Type    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45413    error LNK2001: 无法解析的外部符号 __imp_PyExc_AttributeError    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45414    error LNK2001: 无法解析的外部符号 __imp_PyExc_ImportError    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45415    error LNK2001: 无法解析的外部符号 __imp_PyExc_RuntimeError    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45416    error LNK2001: 无法解析的外部符号 __imp_PyExc_TypeError    D:\cache\opencv\build310\modules\python2\cv2.obj    opencv_python2
    错误    45417    error LNK1120: 67 个无法解析的外部命令    D:\cache\opencv\build310\lib\Release\cv2.pyd    opencv_python2
     

  14. 90>  CMake Error at apps/annotation/cmake_install.cmake:32 (file):
    90>    file INSTALL cannot find
    90>    "M:/opencv/build_vs2013_GPU_32bit/bin/Debug/opencv_annotationd.exe".
    90>  Call Stack (most recent call first):
    90>    apps/cmake_install.cmake:34 (include)
    90>    cmake_install.cmake:117 (include)
    90>    
    90>  
    90>  
    90>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: 命令“setlocal
    90>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: M:\cmake-3.5.0-win32-x86\bin\cmake.exe -DBUILD_TYPE=Debug -P cmake_install.cmake
    90>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
    90>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :cmEnd
    90>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
    90>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :cmErrorLevel
    90>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: exit /b %1
    90>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :cmDone
    90>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd
    90>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(132,5): error MSB3073: :VCEnd”已退出,代码为 1。
    ========== 生成:  成功 10 个,失败 80 个,最新 1 个,跳过 0 个 ==========

     

    按照博主介绍的过程编译,一直到zero_check都是正确的,在debug编译过后就产生了如上错误,请问博主这个是什么情况?谢谢!

    1. 一共编译失败80个项目,说明最后这几行error并不是错误产生的本质。建议从输出窗口中从开始往后耐心找到第一个error,看其提示的信息是怎样的。

      1. 是的,前面的数据量太大了,主要是显示找不到头文件,其次警告也比较敏感是“-LC://cuda路径,怀疑是-L和盘符连到一起了,具体原因还找不到。目前用博主编译的库工作正常,先用博主的库,感谢博主提供的博文和库文件,同样,十分希望博主能像原始库一样能提供其他编译器的库,比如VC12,14等等,毕竟现在MSVC2013比较通用,我在使用MSVC2015调用库的时候发现有头文件找不到,但是用MSVC2013就找到了,怀疑是MSVC库的结构发生变化。

  15. 你好,我按照这个方法弄了好几次都有错误主要是:

    错误    123    error : MEXEXT: Unsupported platform.    E:\CUDA_opencv310\modules\core\CUSTOMBUILD

    错误     error LNK1104:无法打开文件"..\lib\Debug\opencv_core300d.lib"

    还有一个问题是openGL的配置问题,本文中说

    OpenGL

    环境变量PATH指向bin\x64

     

    但在http://johnhany.net/2015/03/environment-for-opengl-4-with-vs2012/中没有看到是如何配置环境变量的,这个bin\x64是哪一步生成的,还请指教。

    1. 看“MEXEXT”这个词好像和Matlab有点关系,但不好确定。你的vs是哪个版本?还有没有其他错误信息?

      至于OpenGL的配置,是我的疏忽。在那篇文章里我建议把glew32.dll文件拷贝到C:\Windows\SysWOW64目录下,但我自己是把glew32.dll文件放在了一个另建的文件夹bin\x64里。正文已经修改!

      有的时候把glew32.dll放在C:\Windows\SysWOW64里面可能仍然无法正确调用,就在C:\Windows\System32下再复制一份就好了;)

      1. 我是在Win10+VS2012+CUDA7.5+opencv3.0(3.1我也试了) 我仔细看了Cmake的输出,在configure时,有一条ERROR:MEXEXT: Unsupported platform.并且显示确实

        Could NOT find Matlab (missing: MATLAB_MEX_SCRIPT MATLAB_INCLUDE_DIRS MATLAB_LIBRARIES MATLAB_LIBRARY_DIRS MATLAB_MEXEXT MATLAB_ARCH MATLAB_BIN)

        VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file

        一定要有matlab吗?

        1. 我的机器上是有Matlab的,而且CMAKE也找到了Matlab的目录。没有Matlab的话应该也可以编译的,把所有带有MATLAB的entry项都清空如何呢?

      2. 最后还是成功解决了,主要报错error : MEXEXT: Unsupported platform. 解决办法是在Cmake的config时,WITH选项中不要选WITH MATLAB,这样最后编译不会报错,并且可用。非常感谢博主的启发和指导,非常感谢!

    2. 你好,我正好和你的环境一样,请问下你编译过程中有没有遇到什么错误呢?我使用cmake 进行 configure的时候报错了,提示如下:

      CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
      Please set them or make sure they are set and tested correctly in the CMake files:
      CUDA_cufft_LIBRARY (ADVANCED)
      linked by target "opencv_cudev" in directory E:/CommonLibrary/opencv/sources/modules/cudev
      linked by target "opencv_test_cudev" in directory E:/CommonLibrary/opencv/sources/modules/cudev/test
      linked by target "opencv_perf_core" in directory E:/CommonLibrary/opencv/sources/modules/core
      linked by target "opencv_core" in directory E:/CommonLibrary/opencv/sources/modules/core
      linked by target "opencv_test_core" in directory E:/CommonLibrary/opencv/sources/modules/core
      linked by target "opencv_perf_cudaarithm" in directory E:/CommonLibrary/opencv/sources/modules/cudaarithm
      linked by target "opencv_cudaarithm" in directory E:/CommonLibrary/opencv/sources/modules/cudaarithm
      linked by target "opencv_cudaarithm" in directory E:/CommonLibrary/opencv/sources/modules/cudaarithm
      linked by target "opencv_test_cudaarithm" in directory E:/CommonLibrary/opencv/sources/modules/cudaarithm
      linked by target "opencv_flann" in directory E:/CommonLibrary/opencv/sources/modules/flann
      linked by target "opencv_test_flann" in directory E:/CommonLibrary/opencv/sources/modules/flann
      linked by target "opencv_perf_imgproc" in directory E:/CommonLibrary/opencv/sources/modules/imgproc
      linked by target "opencv_test_imgproc" in directory E:/CommonLibrary/opencv/sources/modules/imgproc
      linked by target "opencv_imgproc" in directory E:/CommonLibrary/opencv/sources/modules/imgproc
      linked by target "opencv_ml" in directory E:/CommonLibrary/opencv/sources/modules/ml
      linked by target "opencv_test_ml" in directory E:/CommonLibrary/opencv/sources/modules/ml
      linked by target "opencv_perf_video" in directory E:/CommonLibrary/opencv/sources/modules/video
      linked by target "opencv_video" in directory E:/CommonLibrary/opencv/sources/modules/video
      linked by target "opencv_test_video" in directory E:/CommonLibrary/opencv/sources/modules/video
      linked by target "opencv_perf_cudabgsegm" in directory E:/CommonLibrary/opencv/sources/modules/cudabgsegm
      linked by target "opencv_cudabgsegm" in directory E:/CommonLibrary/opencv/sources/modules/cudabgsegm
      linked by target "opencv_test_cudabgsegm" in directory E:/CommonLibrary/opencv/sources/modules/cudabgsegm
      linked by target "opencv_test_cudafilters" in directory E:/CommonLibrary/opencv/sources/modules/cudafilters
      linked by target "opencv_perf_cudafilters" in directory E:/CommonLibrary/opencv/sources/modules/cudafilters
      linked by target "opencv_cudafilters" in directory E:/CommonLibrary/opencv/sources/modules/cudafilters
      linked by target "opencv_cudaimgproc" in directory E:/CommonLibrary/opencv/sources/modules/cudaimgproc
      linked by target "opencv_test_cudaimgproc" in directory E:/CommonLibrary/opencv/sources/modules/cudaimgproc
      linked by target "opencv_perf_cudaimgproc" in directory E:/CommonLibrary/opencv/sources/modules/cudaimgproc
      linked by target "opencv_test_cudawarping" in directory E:/CommonLibrary/opencv/sources/modules/cudawarping
      linked by target "opencv_perf_cudawarping" in directory E:/CommonLibrary/opencv/sources/modules/cudawarping
      linked by target "opencv_cudawarping" in directory E:/CommonLibrary/opencv/sources/modules/cudawarping
      linked by target "opencv_test_imgcodecs" in directory E:/CommonLibrary/opencv/sources/modules/imgcodecs
      linked by target "opencv_imgcodecs" in directory E:/CommonLibrary/opencv/sources/modules/imgcodecs
      linked by target "opencv_perf_imgcodecs" in directory E:/CommonLibrary/opencv/sources/modules/imgcodecs
      linked by target "opencv_photo" in directory E:/CommonLibrary/opencv/sources/modules/photo
      linked by target "opencv_test_photo" in directory E:/CommonLibrary/opencv/sources/modules/photo
      linked by target "opencv_perf_photo" in directory E:/CommonLibrary/opencv/sources/modules/photo
      linked by target "opencv_shape" in directory E:/CommonLibrary/opencv/sources/modules/shape
      linked by target "opencv_test_shape" in directory E:/CommonLibrary/opencv/sources/modules/shape
      linked by target "opencv_perf_videoio" in directory E:/CommonLibrary/opencv/sources/modules/videoio
      linked by target "opencv_test_videoio" in directory E:/CommonLibrary/opencv/sources/modules/videoio
      linked by target "opencv_videoio" in directory E:/CommonLibrary/opencv/sources/modules/videoio
      linked by target "opencv_perf_cudacodec" in directory E:/CommonLibrary/opencv/sources/modules/cudacodec
      linked by target "opencv_test_cudacodec" in directory E:/CommonLibrary/opencv/sources/modules/cudacodec
      linked by target "opencv_cudacodec" in directory E:/CommonLibrary/opencv/sources/modules/cudacodec
      linked by target "opencv_test_highgui" in directory E:/CommonLibrary/opencv/sources/modules/highgui
      linked by target "opencv_highgui" in directory E:/CommonLibrary/opencv/sources/modules/highgui
      linked by target "opencv_test_objdetect" in directory E:/CommonLibrary/opencv/sources/modules/objdetect
      linked by target "opencv_objdetect" in directory E:/CommonLibrary/opencv/sources/modules/objdetect
      linked by target "opencv_perf_objdetect" in directory E:/CommonLibrary/opencv/sources/modules/objdetect
      linked by target "opencv_ts" in directory E:/CommonLibrary/opencv/sources/modules/ts
      linked by target "opencv_features2d" in directory E:/CommonLibrary/opencv/sources/modules/features2d
      linked by target "opencv_test_features2d" in directory E:/CommonLibrary/opencv/sources/modules/features2d
      linked by target "opencv_perf_features2d" in directory E:/CommonLibrary/opencv/sources/modules/features2d
      linked by target "opencv_perf_calib3d" in directory E:/CommonLibrary/opencv/sources/modules/calib3d
      linked by target "opencv_test_calib3d" in directory E:/CommonLibrary/opencv/sources/modules/calib3d
      linked by target "opencv_calib3d" in directory E:/CommonLibrary/opencv/sources/modules/calib3d
      linked by target "opencv_perf_cudafeatures2d" in directory E:/CommonLibrary/opencv/sources/modules/cudafeatures2d
      linked by target "opencv_cudafeatures2d" in directory E:/CommonLibrary/opencv/sources/modules/cudafeatures2d
      linked by target "opencv_test_cudafeatures2d" in directory E:/CommonLibrary/opencv/sources/modules/cudafeatures2d
      linked by target "opencv_perf_cudalegacy" in directory E:/CommonLibrary/opencv/sources/modules/cudalegacy
      linked by target "opencv_cudalegacy" in directory E:/CommonLibrary/opencv/sources/modules/cudalegacy
      linked by target "opencv_test_cudalegacy" in directory E:/CommonLibrary/opencv/sources/modules/cudalegacy
      linked by target "opencv_cudaobjdetect" in directory E:/CommonLibrary/opencv/sources/modules/cudaobjdetect
      linked by target "opencv_perf_cudaobjdetect" in directory E:/CommonLibrary/opencv/sources/modules/cudaobjdetect
      linked by target "opencv_test_cudaobjdetect" in directory E:/CommonLibrary/opencv/sources/modules/cudaobjdetect
      linked by target "opencv_test_cudaoptflow" in directory E:/CommonLibrary/opencv/sources/modules/cudaoptflow
      linked by target "opencv_perf_cudaoptflow" in directory E:/CommonLibrary/opencv/sources/modules/cudaoptflow
      linked by target "opencv_cudaoptflow" in directory E:/CommonLibrary/opencv/sources/modules/cudaoptflow
      linked by target "opencv_perf_cudastereo" in directory E:/CommonLibrary/opencv/sources/modules/cudastereo
      linked by target "opencv_cudastereo" in directory E:/CommonLibrary/opencv/sources/modules/cudastereo
      linked by target "opencv_test_cudastereo" in directory E:/CommonLibrary/opencv/sources/modules/cudastereo
      linked by target "opencv_test_stitching" in directory E:/CommonLibrary/opencv/sources/modules/stitching
      linked by target "opencv_stitching" in directory E:/CommonLibrary/opencv/sources/modules/stitching
      linked by target "opencv_perf_stitching" in directory E:/CommonLibrary/opencv/sources/modules/stitching
      linked by target "opencv_superres" in directory E:/CommonLibrary/opencv/sources/modules/superres
      linked by target "opencv_test_superres" in directory E:/CommonLibrary/opencv/sources/modules/superres
      linked by target "opencv_perf_superres" in directory E:/CommonLibrary/opencv/sources/modules/superres
      linked by target "opencv_videostab" in directory E:/CommonLibrary/opencv/sources/modules/videostab
      linked by target "opencv_traincascade" in directory E:/CommonLibrary/opencv/sources/apps/traincascade
      linked by target "opencv_createsamples" in directory E:/CommonLibrary/opencv/sources/apps/createsamples
      linked by target "opencv_annotation" in directory E:/CommonLibrary/opencv/sources/apps/annotation
      CUDA_nppc_LIBRARY (ADVANCED)
      linked by target "opencv_cudev" in directory E:/CommonLibrary/opencv/sources/modules/cudev
      linked by target "opencv_cudev" in directory E:/CommonLibrary/opencv/sources/modules/cudev
      linked by target "opencv_test_cudev" in directory E:/CommonLibrary/opencv/sources/modules/cudev/test
      linked by target "opencv_perf_core" in directory E:/CommonLibrary/opencv/sources/modules/core
      linked by target "opencv_core" in directory E:/CommonLibrary/opencv/sources/modules/core
      linked by target "opencv_core" in directory E:/CommonLibrary/opencv/sources/modules/core
      linked by target "opencv_test_core" in directory E:/CommonLibrary/opencv/sources/modules/core
      linked by target "opencv_perf_cudaarithm" in directory E:/CommonLibrary/opencv/sources/modules/cudaarithm
      linked by target "opencv_cudaarithm" in directory E:/CommonLibrary/opencv/sources/modules/cudaarithm
      linked by target "opencv_cudaarithm" in directory E:/CommonLibrary/opencv/sources/modules/cudaarithm
      linked by target "opencv_test_cudaarithm" in directory E:/CommonLibrary/opencv/sources/modules/cudaarithm
      linked by target "opencv_flann" in directory E:/CommonLibrary/opencv/sources/modules/flann
      linked by target "opencv_flann" in directory E:/CommonLibrary/opencv/sources/modules/flann
      linked by target "opencv_test_flann" in directory E:/CommonLibrary/opencv/sources/modules/flann
      linked by target "opencv_perf_imgproc" in directory E:/CommonLibrary/opencv/sources/modules/imgproc
      linked by target "opencv_test_imgproc" in directory E:/CommonLibrary/opencv/sources/modules/imgproc
      linked by target "opencv_imgproc" in directory E:/CommonLibrary/opencv/sources/modules/imgproc
      linked by target "opencv_imgproc" in directory E:/CommonLibrary/opencv/sources/modules/imgproc
      linked by target "opencv_ml" in directory E:/CommonLibrary/opencv/sources/modules/ml
      linked by target "opencv_ml" in directory E:/CommonLibrary/opencv/sources/modules/ml
      linked by target "opencv_test_ml" in directory E:/CommonLibrary/opencv/sources/modules/ml
      linked by target "opencv_perf_video" in directory E:/CommonLibrary/opencv/sources/modules/video
      linked by target "opencv_video" in directory E:/CommonLibrary/opencv/sources/modules/video
      linked by target "opencv_video" in directory E:/CommonLibrary/opencv/sources/modules/video
      linked by target "opencv_test_video" in directory E:/CommonLibrary/opencv/sources/modules/video
      linked by target "opencv_perf_cudabgsegm" in directory E:/CommonLibrary/opencv/sources/modules/cudabgsegm
      linked by target "opencv_cudabgsegm" in directory E:/CommonLibrary/opencv/sources/modules/cudabgsegm
      linked by target "opencv_cudabgsegm" in directory E:/CommonLibrary/opencv/sources/modules/cudabgsegm
      linked by target "opencv_test_cudabgsegm" in directory E:/CommonLibrary/opencv/sources/modules/cudabgsegm
      linked by target "opencv_test_cudafilters" in directory E:/CommonLibrary/opencv/sources/modules/cudafilters
      linked by target "opencv_perf_cudafilters" in directory E:/CommonLibrary/opencv/sources/modules/cudafilters
      linked by target "opencv_cudafilters" in directory E:/CommonLibrary/opencv/sources/modules/cudafilters
      linked by target "opencv_cudafilters" in directory E:/CommonLibrary/opencv/sources/modules/cudafilters
      linked by target "opencv_cudaimgproc" in directory E:/CommonLibrary/opencv/sources/modules/cudaimgproc
      linked by target "opencv_cudaimgproc" in directory E:/CommonLibrary/opencv/sources/modules/cudaimgproc
      linked by target "opencv_test_cudaimgproc" in directory E:/CommonLibrary/opencv/sources/modules/cudaimgproc
      linked by target "opencv_perf_cudaimgproc" in directory E:/CommonLibrary/opencv/sources/modules/cudaimgproc
      linked by target "opencv_test_cudawarping" in directory E:/CommonLibrary/opencv/sources/modules/cudawarping
      linked by target "opencv_perf_cudawarping" in directory E:/CommonLibrary/opencv/sources/modules/cudawarping
      linked by target "opencv_cudawarping" in directory E:/CommonLibrary/opencv/sources/modules/cudawarping
      linked by target "opencv_cudawarping" in directory E:/CommonLibrary/opencv/sources/modules/cudawarping
      linked by target "opencv_test_imgcodecs" in directory E:/CommonLibrary/opencv/sources/modules/imgcodecs
      linked by target "opencv_imgcodecs" in directory E:/CommonLibrary/opencv/sources/modules/imgcodecs
      linked by target "opencv_imgcodecs" in directory E:/CommonLibrary/opencv/sources/modules/imgcodecs
      linked by target "opencv_perf_imgcodecs" in directory E:/CommonLibrary/opencv/sources/modules/imgcodecs
      linked by target "opencv_photo" in directory E:/CommonLibrary/opencv/sources/modules/photo
      linked by target "opencv_photo" in directory E:/CommonLibrary/opencv/sources/modules/photo
      linked by target "opencv_test_photo" in directory E:/CommonLibrary/opencv/sources/modules/photo
      linked by target "opencv_perf_photo" in directory E:/CommonLibrary/opencv/sources/modules/photo
      linked by target "opencv_shape" in directory E:/CommonLibrary/opencv/sources/modules/shape
      linked by target "opencv_shape" in directory E:/CommonLibrary/opencv/sources/modules/shape
      linked by target "opencv_test_shape" in directory E:/CommonLibrary/opencv/sources/modules/shape
      linked by target "opencv_perf_videoio" in directory E:/CommonLibrary/opencv/sources/modules/videoio
      linked by target "opencv_test_videoio" in directory E:/CommonLibrary/opencv/sources/modules/videoio
      linked by target "opencv_videoio" in directory E:/CommonLibrary/opencv/sources/modules/videoio
      linked by target "opencv_videoio" in directory E:/CommonLibrary/opencv/sources/modules/videoio
      linked by target "opencv_perf_cudacodec" in directory E:/CommonLibrary/opencv/sources/modules/cudacodec
      linked by target "opencv_test_cudacodec" in directory E:/CommonLibrary/opencv/sources/modules/cudacodec
      linked by target "opencv_cudacodec" in directory E:/CommonLibrary/opencv/sources/modules/cudacodec
      linked by target "opencv_cudacodec" in directory E:/CommonLibrary/opencv/sources/modules/cudacodec
      linked by target "opencv_test_highgui" in directory E:/CommonLibrary/opencv/sources/modules/highgui
      linked by target "opencv_highgui" in directory E:/CommonLibrary/opencv/sources/modules/highgui
      linked by target "opencv_highgui" in directory E:/CommonLibrary/opencv/sources/modules/highgui
      linked by target "opencv_test_objdetect" in directory E:/CommonLibrary/opencv/sources/modules/objdetect
      linked by target "opencv_objdetect" in directory E:/CommonLibrary/opencv/sources/modules/objdetect
      linked by target "opencv_objdetect" in directory E:/CommonLibrary/opencv/sources/modules/objdetect
      linked by target "opencv_perf_objdetect" in directory E:/CommonLibrary/opencv/sources/modules/objdetect
      linked by target "opencv_ts" in directory E:/CommonLibrary/opencv/sources/modules/ts
      linked by target "opencv_ts" in directory E:/CommonLibrary/opencv/sources/modules/ts
      linked by target "opencv_features2d" in directory E:/CommonLibrary/opencv/sources/modules/features2d
      linked by target "opencv_features2d" in directory E:/CommonLibrary/opencv/sources/modules/features2d
      linked by target "opencv_test_features2d" in directory E:/CommonLibrary/opencv/sources/modules/features2d
      linked by target "opencv_perf_features2d" in directory E:/CommonLibrary/opencv/sources/modules/features2d
      linked by target "opencv_perf_calib3d" in directory E:/CommonLibrary/opencv/sources/modules/calib3d
      linked by target "opencv_test_calib3d" in directory E:/CommonLibrary/opencv/sources/modules/calib3d
      linked by target "opencv_calib3d" in directory E:/CommonLibrary/opencv/sources/modules/calib3d
      linked by target "opencv_calib3d" in directory E:/CommonLibrary/opencv/sources/modules/calib3d
      linked by target "opencv_perf_cudafeatures2d" in directory E:/CommonLibrary/opencv/sources/modules/cudafeatures2d
      linked by target "opencv_cudafeatures2d" in directory E:/CommonLibrary/opencv/sources/modules/cudafeatures2d
      linked by target "opencv_cudafeatures2d" in directory E:/CommonLibrary/opencv/sources/modules/cudafeatures2d
      linked by target "opencv_test_cudafeatures2d" in directory E:/CommonLibrary/opencv/sources/modules/cudafeatures2d
      linked by target "opencv_perf_cudalegacy" in directory E:/CommonLibrary/opencv/sources/modules/cudalegacy
      linked by target "opencv_cudalegacy" in directory E:/CommonLibrary/opencv/sources/modules/cudalegacy
      linked by target "opencv_cudalegacy" in directory E:/CommonLibrary/opencv/sources/modules/cudalegacy
      linked by target "opencv_test_cudalegacy" in directory E:/CommonLibrary/opencv/sources/modules/cudalegacy
      linked by target "opencv_cudaobjdetect" in directory E:/CommonLibrary/opencv/sources/modules/cudaobjdetect
      linked by target "opencv_cudaobjdetect" in directory E:/CommonLibrary/opencv/sources/modules/cudaobjdetect
      linked by target "opencv_perf_cudaobjdetect" in directory E:/CommonLibrary/opencv/sources/modules/cudaobjdetect
      linked by target "opencv_test_cudaobjdetect" in directory E:/CommonLibrary/opencv/sources/modules/cudaobjdetect
      linked by target "opencv_test_cudaoptflow" in directory E:/CommonLibrary/opencv/sources/modules/cudaoptflow
      linked by target "opencv_perf_cudaoptflow" in directory E:/CommonLibrary/opencv/sources/modules/cudaoptflow
      linked by target "opencv_cudaoptflow" in directory E:/CommonLibrary/opencv/sources/modules/cudaoptflow
      linked by target "opencv_cudaoptflow" in directory E:/CommonLibrary/opencv/sources/modules/cudaoptflow
      linked by target "opencv_perf_cudastereo" in directory E:/CommonLibrary/opencv/sources/modules/cudastereo
      linked by target "opencv_cudastereo" in directory E:/CommonLibrary/opencv/sources/modules/cudastereo
      linked by target "opencv_cudastereo" in directory E:/CommonLibrary/opencv/sources/modules/cudastereo
      linked by target "opencv_test_cudastereo" in directory E:/CommonLibrary/opencv/sources/modules/cudastereo
      linked by target "opencv_test_stitching" in directory E:/CommonLibrary/opencv/sources/modules/stitching
      linked by target "opencv_stitching" in directory E:/CommonLibrary/opencv/sources/modules/stitching
      linked by target "opencv_stitching" in directory E:/CommonLibrary/opencv/sources/modules/stitching
      linked by target "opencv_perf_stitching" in directory E:/CommonLibrary/opencv/sources/modules/stitching
      linked by target "opencv_superres" in directory E:/CommonLibrary/opencv/sources/modules/superres
      linked by target "opencv_superres" in directory E:/CommonLibrary/opencv/sources/modules/superres
      linked by target "opencv_test_superres" in directory E:/CommonLibrary/opencv/sources/modules/superres
      linked by target "opencv_perf_superres" in directory E:/CommonLibrary/opencv/sources/modules/superres
      linked by target "opencv_videostab" in directory E:/CommonLibrary/opencv/sources/modules/videostab
      linked by target "opencv_videostab" in directory E:/CommonLibrary/opencv/sources/modules/videostab
      linked by target "opencv_traincascade" in directory E:/CommonLibrary/opencv/sources/apps/traincascade
      linked by target "opencv_createsamples" in directory E:/CommonLibrary/opencv/sources/apps/createsamples
      linked by target "opencv_annotation" in directory E:/CommonLibrary/opencv/sources/apps/annotation
      CUDA_nppi_LIBRARY (ADVANCED)
      linked by target "opencv_cudev" in directory E:/CommonLibrary/opencv/sources/modules/cudev
      linked by target "opencv_cudev" in directory E:/CommonLibrary/opencv/sources/modules/cudev
      linked by target "opencv_test_cudev" in directory E:/CommonLibrary/opencv/sources/modules/cudev/test
      linked by target "opencv_perf_core" in directory E:/CommonLibrary/opencv/sources/modules/core
      linked by target "opencv_core" in directory E:/CommonLibrary/opencv/sources/modules/core
      linked by target "opencv_core" in directory E:/CommonLibrary/opencv/sources/modules/core
      linked by target "opencv_test_core" in directory E:/CommonLibrary/opencv/sources/modules/core
      linked by target "opencv_perf_cudaarithm" in directory E:/CommonLibrary/opencv/sources/modules/cudaarithm
      linked by target "opencv_cudaarithm" in directory E:/CommonLibrary/opencv/sources/modules/cudaarithm
      linked by target "opencv_cudaarithm" in directory E:/CommonLibrary/opencv/sources/modules/cudaarithm
      linked by target "opencv_test_cudaarithm" in directory E:/CommonLibrary/opencv/sources/modules/cudaarithm
      linked by target "opencv_flann" in directory E:/CommonLibrary/opencv/sources/modules/flann
      linked by target "opencv_flann" in directory E:/CommonLibrary/opencv/sources/modules/flann
      linked by target "opencv_test_flann" in directory E:/CommonLibrary/opencv/sources/modules/flann
      linked by target "opencv_perf_imgproc" in directory E:/CommonLibrary/opencv/sources/modules/imgproc
      linked by target "opencv_test_imgproc" in directory E:/CommonLibrary/opencv/sources/modules/imgproc
      linked by target "opencv_imgproc" in directory E:/CommonLibrary/opencv/sources/modules/imgproc
      linked by target "opencv_imgproc" in directory E:/CommonLibrary/opencv/sources/modules/imgproc
      linked by target "opencv_ml" in directory E:/CommonLibrary/opencv/sources/modules/ml
      linked by target "opencv_ml" in directory E:/CommonLibrary/opencv/sources/modules/ml
      linked by target "opencv_test_ml" in directory E:/CommonLibrary/opencv/sources/modules/ml
      linked by target "opencv_perf_video" in directory E:/CommonLibrary/opencv/sources/modules/video
      linked by target "opencv_video" in directory E:/CommonLibrary/opencv/sources/modules/video
      linked by target "opencv_video" in directory E:/CommonLibrary/opencv/sources/modules/video
      linked by target "opencv_test_video" in directory E:/CommonLibrary/opencv/sources/modules/video
      linked by target "opencv_perf_cudabgsegm" in directory E:/CommonLibrary/opencv/sources/modules/cudabgsegm
      linked by target "opencv_cudabgsegm" in directory E:/CommonLibrary/opencv/sources/modules/cudabgsegm
      linked by target "opencv_cudabgsegm" in directory E:/CommonLibrary/opencv/sources/modules/cudabgsegm
      linked by target "opencv_test_cudabgsegm" in directory E:/CommonLibrary/opencv/sources/modules/cudabgsegm
      linked by target "opencv_test_cudafilters" in directory E:/CommonLibrary/opencv/sources/modules/cudafilters
      linked by target "opencv_perf_cudafilters" in directory E:/CommonLibrary/opencv/sources/modules/cudafilters
      linked by target "opencv_cudafilters" in directory E:/CommonLibrary/opencv/sources/modules/cudafilters
      linked by target "opencv_cudafilters" in directory E:/CommonLibrary/opencv/sources/modules/cudafilters
      linked by target "opencv_cudaimgproc" in directory E:/CommonLibrary/opencv/sources/modules/cudaimgproc
      linked by target "opencv_cudaimgproc" in directory E:/CommonLibrary/opencv/sources/modules/cudaimgproc
      linked by target "opencv_test_cudaimgproc" in directory E:/CommonLibrary/opencv/sources/modules/cudaimgproc
      linked by target "opencv_perf_cudaimgproc" in directory E:/CommonLibrary/opencv/sources/modules/cudaimgproc
      linked by target "opencv_test_cudawarping" in directory E:/CommonLibrary/opencv/sources/modules/cudawarping
      linked by target "opencv_perf_cudawarping" in directory E:/CommonLibrary/opencv/sources/modules/cudawarping
      linked by target "opencv_cudawarping" in directory E:/CommonLibrary/opencv/sources/modules/cudawarping
      linked by target "opencv_cudawarping" in directory E:/CommonLibrary/opencv/sources/modules/cudawarping
      linked by target "opencv_test_imgcodecs" in directory E:/CommonLibrary/opencv/sources/modules/imgcodecs
      linked by target "opencv_imgcodecs" in directory E:/CommonLibrary/opencv/sources/modules/imgcodecs
      linked by target "opencv_imgcodecs" in directory E:/CommonLibrary/opencv/sources/modules/imgcodecs
      linked by target "opencv_perf_imgcodecs" in directory E:/CommonLibrary/opencv/sources/modules/imgcodecs
      linked by target "opencv_photo" in directory E:/CommonLibrary/opencv/sources/modules/photo
      linked by target "opencv_photo" in directory E:/CommonLibrary/opencv/sources/modules/photo
      linked by target "opencv_test_photo" in directory E:/CommonLibrary/opencv/sources/modules/photo
      linked by target "opencv_perf_photo" in directory E:/CommonLibrary/opencv/sources/modules/photo
      linked by target "opencv_shape" in directory E:/CommonLibrary/opencv/sources/modules/shape
      linked by target "opencv_shape" in directory E:/CommonLibrary/opencv/sources/modules/shape
      linked by target "opencv_test_shape" in directory E:/CommonLibrary/opencv/sources/modules/shape
      linked by target "opencv_perf_videoio" in directory E:/CommonLibrary/opencv/sources/modules/videoio
      linked by target "opencv_test_videoio" in directory E:/CommonLibrary/opencv/sources/modules/videoio
      linked by target "opencv_videoio" in directory E:/CommonLibrary/opencv/sources/modules/videoio
      linked by target "opencv_videoio" in directory E:/CommonLibrary/opencv/sources/modules/videoio
      linked by target "opencv_perf_cudacodec" in directory E:/CommonLibrary/opencv/sources/modules/cudacodec
      linked by target "opencv_test_cudacodec" in directory E:/CommonLibrary/opencv/sources/modules/cudacodec
      linked by target "opencv_cudacodec" in directory E:/CommonLibrary/opencv/sources/modules/cudacodec
      linked by target "opencv_cudacodec" in directory E:/CommonLibrary/opencv/sources/modules/cudacodec
      linked by target "opencv_test_highgui" in directory E:/CommonLibrary/opencv/sources/modules/highgui
      linked by target "opencv_highgui" in directory E:/CommonLibrary/opencv/sources/modules/highgui
      linked by target "opencv_highgui" in directory E:/CommonLibrary/opencv/sources/modules/highgui
      linked by target "opencv_test_objdetect" in directory E:/CommonLibrary/opencv/sources/modules/objdetect
      linked by target "opencv_objdetect" in directory E:/CommonLibrary/opencv/sources/modules/objdetect
      linked by target "opencv_objdetect" in directory E:/CommonLibrary/opencv/sources/modules/objdetect
      linked by target "opencv_perf_objdetect" in directory E:/CommonLibrary/opencv/sources/modules/objdetect
      linked by target "opencv_ts" in directory E:/CommonLibrary/opencv/sources/modules/ts
      linked by target "opencv_ts" in directory E:/CommonLibrary/opencv/sources/modules/ts
      linked by target "opencv_features2d" in directory E:/CommonLibrary/opencv/sources/modules/features2d
      linked by target "opencv_features2d" in directory E:/CommonLibrary/opencv/sources/modules/features2d
      linked by target "opencv_test_features2d" in directory E:/CommonLibrary/opencv/sources/modules/features2d
      linked by target "opencv_perf_features2d" in directory E:/CommonLibrary/opencv/sources/modules/features2d
      linked by target "opencv_perf_calib3d" in directory E:/CommonLibrary/opencv/sources/modules/calib3d
      linked by target "opencv_test_calib3d" in directory E:/CommonLibrary/opencv/sources/modules/calib3d
      linked by target "opencv_calib3d" in directory E:/CommonLibrary/opencv/sources/modules/calib3d
      linked by target "opencv_calib3d" in directory E:/CommonLibrary/opencv/sources/modules/calib3d
      linked by target "opencv_perf_cudafeatures2d" in directory E:/CommonLibrary/opencv/sources/modules/cudafeatures2d
      linked by target "opencv_cudafeatures2d" in directory E:/CommonLibrary/opencv/sources/modules/cudafeatures2d
      linked by target "opencv_cudafeatures2d" in directory E:/CommonLibrary/opencv/sources/modules/cudafeatures2d
      linked by target "opencv_test_cudafeatures2d" in directory E:/CommonLibrary/opencv/sources/modules/cudafeatures2d
      linked by target "opencv_perf_cudalegacy" in directory E:/CommonLibrary/opencv/sources/modules/cudalegacy
      linked by target "opencv_cudalegacy" in directory E:/CommonLibrary/opencv/sources/modules/cudalegacy
      linked by target "opencv_cudalegacy" in directory E:/CommonLibrary/opencv/sources/modules/cudalegacy
      linked by target "opencv_test_cudalegacy" in directory E:/CommonLibrary/opencv/sources/modules/cudalegacy
      linked by target "opencv_cudaobjdetect" in directory E:/CommonLibrary/opencv/sources/modules/cudaobjdetect
      linked by target "opencv_cudaobjdetect" in directory E:/CommonLibrary/opencv/sources/modules/cudaobjdetect
      linked by target "opencv_perf_cudaobjdetect" in directory E:/CommonLibrary/opencv/sources/modules/cudaobjdetect
      linked by target "opencv_test_cudaobjdetect" in directory E:/CommonLibrary/opencv/sources/modules/cudaobjdetect
      linked by target "opencv_test_cudaoptflow" in directory E:/CommonLibrary/opencv/sources/modules/cudaoptflow
      linked by target "opencv_perf_cudaoptflow" in directory E:/CommonLibrary/opencv/sources/modules/cudaoptflow
      linked by target "opencv_cudaoptflow" in directory E:/CommonLibrary/opencv/sources/modules/cudaoptflow
      linked by target "opencv_cudaoptflow" in directory E:/CommonLibrary/opencv/sources/modules/cudaoptflow
      linked by target "opencv_perf_cudastereo" in directory E:/CommonLibrary/opencv/sources/modules/cudastereo
      linked by target "opencv_cudastereo" in directory E:/CommonLibrary/opencv/sources/modules/cudastereo
      linked by target "opencv_cudastereo" in directory E:/CommonLibrary/opencv/sources/modules/cudastereo
      linked by target "opencv_test_cudastereo" in directory E:/CommonLibrary/opencv/sources/modules/cudastereo
      linked by target "opencv_test_stitching" in directory E:/CommonLibrary/opencv/sources/modules/stitching
      linked by target "opencv_stitching" in directory E:/CommonLibrary/opencv/sources/modules/stitching
      linked by target "opencv_stitching" in directory E:/CommonLibrary/opencv/sources/modules/stitching
      linked by target "opencv_perf_stitching" in directory E:/CommonLibrary/opencv/sources/modules/stitching
      linked by target "opencv_superres" in directory E:/CommonLibrary/opencv/sources/modules/superres
      linked by target "opencv_superres" in directory E:/CommonLibrary/opencv/sources/modules/superres
      linked by target "opencv_test_superres" in directory E:/CommonLibrary/opencv/sources/modules/superres
      linked by target "opencv_perf_superres" in directory E:/CommonLibrary/opencv/sources/modules/superres
      linked by target "opencv_videostab" in directory E:/CommonLibrary/opencv/sources/modules/videostab
      linked by target "opencv_videostab" in directory E:/CommonLibrary/opencv/sources/modules/videostab
      linked by target "opencv_traincascade" in directory E:/CommonLibrary/opencv/sources/apps/traincascade
      linked by target "opencv_createsamples" in directory E:/CommonLibrary/opencv/sources/apps/createsamples
      linked by target "opencv_annotation" in directory E:/CommonLibrary/opencv/sources/apps/annotation
      CUDA_npps_LIBRARY (ADVANCED)
      linked by target "opencv_cudev" in directory E:/CommonLibrary/opencv/sources/modules/cudev
      linked by target "opencv_cudev" in directory E:/CommonLibrary/opencv/sources/modules/cudev
      linked by target "opencv_test_cudev" in directory E:/CommonLibrary/opencv/sources/modules/cudev/test
      linked by target "opencv_perf_core" in directory E:/CommonLibrary/opencv/sources/modules/core
      linked by target "opencv_core" in directory E:/CommonLibrary/opencv/sources/modules/core
      linked by target "opencv_core" in directory E:/CommonLibrary/opencv/sources/modules/core
      linked by target "opencv_test_core" in directory E:/CommonLibrary/opencv/sources/modules/core
      linked by target "opencv_perf_cudaarithm" in directory E:/CommonLibrary/opencv/sources/modules/cudaarithm
      linked by target "opencv_cudaarithm" in directory E:/CommonLibrary/opencv/sources/modules/cudaarithm
      linked by target "opencv_cudaarithm" in directory E:/CommonLibrary/opencv/sources/modules/cudaarithm
      linked by target "opencv_test_cudaarithm" in directory E:/CommonLibrary/opencv/sources/modules/cudaarithm
      linked by target "opencv_flann" in directory E:/CommonLibrary/opencv/sources/modules/flann
      linked by target "opencv_flann" in directory E:/CommonLibrary/opencv/sources/modules/flann
      linked by target "opencv_test_flann" in directory E:/CommonLibrary/opencv/sources/modules/flann
      linked by target "opencv_perf_imgproc" in directory E:/CommonLibrary/opencv/sources/modules/imgproc
      linked by target "opencv_test_imgproc" in directory E:/CommonLibrary/opencv/sources/modules/imgproc
      linked by target "opencv_imgproc" in directory E:/CommonLibrary/opencv/sources/modules/imgproc
      linked by target "opencv_imgproc" in directory E:/CommonLibrary/opencv/sources/modules/imgproc
      linked by target "opencv_ml" in directory E:/CommonLibrary/opencv/sources/modules/ml
      linked by target "opencv_ml" in directory E:/CommonLibrary/opencv/sources/modules/ml
      linked by target "opencv_test_ml" in directory E:/CommonLibrary/opencv/sources/modules/ml
      linked by target "opencv_perf_video" in directory E:/CommonLibrary/opencv/sources/modules/video
      linked by target "opencv_video" in directory E:/CommonLibrary/opencv/sources/modules/video
      linked by target "opencv_video" in directory E:/CommonLibrary/opencv/sources/modules/video
      linked by target "opencv_test_video" in directory E:/CommonLibrary/opencv/sources/modules/video
      linked by target "opencv_perf_cudabgsegm" in directory E:/CommonLibrary/opencv/sources/modules/cudabgsegm
      linked by target "opencv_cudabgsegm" in directory E:/CommonLibrary/opencv/sources/modules/cudabgsegm
      linked by target "opencv_cudabgsegm" in directory E:/CommonLibrary/opencv/sources/modules/cudabgsegm
      linked by target "opencv_test_cudabgsegm" in directory E:/CommonLibrary/opencv/sources/modules/cudabgsegm
      linked by target "opencv_test_cudafilters" in directory E:/CommonLibrary/opencv/sources/modules/cudafilters
      linked by target "opencv_perf_cudafilters" in directory E:/CommonLibrary/opencv/sources/modules/cudafilters
      linked by target "opencv_cudafilters" in directory E:/CommonLibrary/opencv/sources/modules/cudafilters
      linked by target "opencv_cudafilters" in directory E:/CommonLibrary/opencv/sources/modules/cudafilters
      linked by target "opencv_cudaimgproc" in directory E:/CommonLibrary/opencv/sources/modules/cudaimgproc
      linked by target "opencv_cudaimgproc" in directory E:/CommonLibrary/opencv/sources/modules/cudaimgproc
      linked by target "opencv_test_cudaimgproc" in directory E:/CommonLibrary/opencv/sources/modules/cudaimgproc
      linked by target "opencv_perf_cudaimgproc" in directory E:/CommonLibrary/opencv/sources/modules/cudaimgproc
      linked by target "opencv_test_cudawarping" in directory E:/CommonLibrary/opencv/sources/modules/cudawarping
      linked by target "opencv_perf_cudawarping" in directory E:/CommonLibrary/opencv/sources/modules/cudawarping
      linked by target "opencv_cudawarping" in directory E:/CommonLibrary/opencv/sources/modules/cudawarping
      linked by target "opencv_cudawarping" in directory E:/CommonLibrary/opencv/sources/modules/cudawarping
      linked by target "opencv_test_imgcodecs" in directory E:/CommonLibrary/opencv/sources/modules/imgcodecs
      linked by target "opencv_imgcodecs" in directory E:/CommonLibrary/opencv/sources/modules/imgcodecs
      linked by target "opencv_imgcodecs" in directory E:/CommonLibrary/opencv/sources/modules/imgcodecs
      linked by target "opencv_perf_imgcodecs" in directory E:/CommonLibrary/opencv/sources/modules/imgcodecs
      linked by target "opencv_photo" in directory E:/CommonLibrary/opencv/sources/modules/photo
      linked by target "opencv_photo" in directory E:/CommonLibrary/opencv/sources/modules/photo
      linked by target "opencv_test_photo" in directory E:/CommonLibrary/opencv/sources/modules/photo
      linked by target "opencv_perf_photo" in directory E:/CommonLibrary/opencv/sources/modules/photo
      linked by target "opencv_shape" in directory E:/CommonLibrary/opencv/sources/modules/shape
      linked by target "opencv_shape" in directory E:/CommonLibrary/opencv/sources/modules/shape
      linked by target "opencv_test_shape" in directory E:/CommonLibrary/opencv/sources/modules/shape
      linked by target "opencv_perf_videoio" in directory E:/CommonLibrary/opencv/sources/modules/videoio
      linked by target "opencv_test_videoio" in directory E:/CommonLibrary/opencv/sources/modules/videoio
      linked by target "opencv_videoio" in directory E:/CommonLibrary/opencv/sources/modules/videoio
      linked by target "opencv_videoio" in directory E:/CommonLibrary/opencv/sources/modules/videoio
      linked by target "opencv_perf_cudacodec" in directory E:/CommonLibrary/opencv/sources/modules/cudacodec
      linked by target "opencv_test_cudacodec" in directory E:/CommonLibrary/opencv/sources/modules/cudacodec
      linked by target "opencv_cudacodec" in directory E:/CommonLibrary/opencv/sources/modules/cudacodec
      linked by target "opencv_cudacodec" in directory E:/CommonLibrary/opencv/sources/modules/cudacodec
      linked by target "opencv_test_highgui" in directory E:/CommonLibrary/opencv/sources/modules/highgui
      linked by target "opencv_highgui" in directory E:/CommonLibrary/opencv/sources/modules/highgui
      linked by target "opencv_highgui" in directory E:/CommonLibrary/opencv/sources/modules/highgui
      linked by target "opencv_test_objdetect" in directory E:/CommonLibrary/opencv/sources/modules/objdetect
      linked by target "opencv_objdetect" in directory E:/CommonLibrary/opencv/sources/modules/objdetect
      linked by target "opencv_objdetect" in directory E:/CommonLibrary/opencv/sources/modules/objdetect
      linked by target "opencv_perf_objdetect" in directory E:/CommonLibrary/opencv/sources/modules/objdetect
      linked by target "opencv_ts" in directory E:/CommonLibrary/opencv/sources/modules/ts
      linked by target "opencv_ts" in directory E:/CommonLibrary/opencv/sources/modules/ts
      linked by target "opencv_features2d" in directory E:/CommonLibrary/opencv/sources/modules/features2d
      linked by target "opencv_features2d" in directory E:/CommonLibrary/opencv/sources/modules/features2d
      linked by target "opencv_test_features2d" in directory E:/CommonLibrary/opencv/sources/modules/features2d
      linked by target "opencv_perf_features2d" in directory E:/CommonLibrary/opencv/sources/modules/features2d
      linked by target "opencv_perf_calib3d" in directory E:/CommonLibrary/opencv/sources/modules/calib3d
      linked by target "opencv_test_calib3d" in directory E:/CommonLibrary/opencv/sources/modules/calib3d
      linked by target "opencv_calib3d" in directory E:/CommonLibrary/opencv/sources/modules/calib3d
      linked by target "opencv_calib3d" in directory E:/CommonLibrary/opencv/sources/modules/calib3d
      linked by target "opencv_perf_cudafeatures2d" in directory E:/CommonLibrary/opencv/sources/modules/cudafeatures2d
      linked by target "opencv_cudafeatures2d" in directory E:/CommonLibrary/opencv/sources/modules/cudafeatures2d
      linked by target "opencv_cudafeatures2d" in directory E:/CommonLibrary/opencv/sources/modules/cudafeatures2d
      linked by target "opencv_test_cudafeatures2d" in directory E:/CommonLibrary/opencv/sources/modules/cudafeatures2d
      linked by target "opencv_perf_cudalegacy" in directory E:/CommonLibrary/opencv/sources/modules/cudalegacy
      linked by target "opencv_cudalegacy" in directory E:/CommonLibrary/opencv/sources/modules/cudalegacy
      linked by target "opencv_cudalegacy" in directory E:/CommonLibrary/opencv/sources/modules/cudalegacy
      linked by target "opencv_test_cudalegacy" in directory E:/CommonLibrary/opencv/sources/modules/cudalegacy
      linked by target "opencv_cudaobjdetect" in directory E:/CommonLibrary/opencv/sources/modules/cudaobjdetect
      linked by target "opencv_cudaobjdetect" in directory E:/CommonLibrary/opencv/sources/modules/cudaobjdetect
      linked by target "opencv_perf_cudaobjdetect" in directory E:/CommonLibrary/opencv/sources/modules/cudaobjdetect
      linked by target "opencv_test_cudaobjdetect" in directory E:/CommonLibrary/opencv/sources/modules/cudaobjdetect
      linked by target "opencv_test_cudaoptflow" in directory E:/CommonLibrary/opencv/sources/modules/cudaoptflow
      linked by target "opencv_perf_cudaoptflow" in directory E:/CommonLibrary/opencv/sources/modules/cudaoptflow
      linked by target "opencv_cudaoptflow" in directory E:/CommonLibrary/opencv/sources/modules/cudaoptflow
      linked by target "opencv_cudaoptflow" in directory E:/CommonLibrary/opencv/sources/modules/cudaoptflow
      linked by target "opencv_perf_cudastereo" in directory E:/CommonLibrary/opencv/sources/modules/cudastereo
      linked by target "opencv_cudastereo" in directory E:/CommonLibrary/opencv/sources/modules/cudastereo
      linked by target "opencv_cudastereo" in directory E:/CommonLibrary/opencv/sources/modules/cudastereo
      linked by target "opencv_test_cudastereo" in directory E:/CommonLibrary/opencv/sources/modules/cudastereo
      linked by target "opencv_test_stitching" in directory E:/CommonLibrary/opencv/sources/modules/stitching
      linked by target "opencv_stitching" in directory E:/CommonLibrary/opencv/sources/modules/stitching
      linked by target "opencv_stitching" in directory E:/CommonLibrary/opencv/sources/modules/stitching
      linked by target "opencv_perf_stitching" in directory E:/CommonLibrary/opencv/sources/modules/stitching
      linked by target "opencv_superres" in directory E:/CommonLibrary/opencv/sources/modules/superres
      linked by target "opencv_superres" in directory E:/CommonLibrary/opencv/sources/modules/superres
      linked by target "opencv_test_superres" in directory E:/CommonLibrary/opencv/sources/modules/superres
      linked by target "opencv_perf_superres" in directory E:/CommonLibrary/opencv/sources/modules/superres
      linked by target "opencv_videostab" in directory E:/CommonLibrary/opencv/sources/modules/videostab
      linked by target "opencv_videostab" in directory E:/CommonLibrary/opencv/sources/modules/videostab
      linked by target "opencv_traincascade" in directory E:/CommonLibrary/opencv/sources/apps/traincascade
      linked by target "opencv_createsamples" in directory E:/CommonLibrary/opencv/sources/apps/createsamples
      linked by target "opencv_annotation" in directory E:/CommonLibrary/opencv/sources/apps/annotation

  16. 首先感谢博主的分享,感谢博主的分享,感谢博主的分享。

    我尝试了opencv3.1.0+cuda7.5+vs2013+QT5.4.1 

    其中opencv,可以整合TBB(版本tbb44_20151115oss)以及ippicv(版本ippicv_windows_20151201)。

    最后感谢博主的分享,感谢博主的分享,感谢博主的分享

     

  17. 您好,按照您的教程,在最后一步测试中,出现了这个异常。您知道是什么原因么?

    我所用的VS,CUDA,OPENCV版本都与您一致,前几步也都正常。

    1. 0x000007FED27D4E81 (nvcuda.dll) (ocv3-test.exe 中)处有未经处理的异常: 0xC000001D: Illegal Instruction。

      这个是异常信息。

      1. 您能不能用断点确定一下错误出现在哪一行。根据微软提供的支持信息(https://support.microsoft.com/en-us/kb/835932),应该是由于在try之内调用不同模块的函数引起的。在我们的案例中,可能是调用的GPU函数产生了某些错误,超出了C++ exception handler的处理范围。或许把try-catch结构去掉,或者把debug type从“auto”改为“GPU only”更有助于发现原因?

        1. debug编译就出错了:检测到文件修改,已在环境外部修改了项目opencv_cudalegacy_object的筛选文件。是否从磁盘中重新加载筛选器结构:……………………………………………………………………………………………………………………………………………………………………………………

          点是,否都不行

发表评论

电子邮件地址不会被公开。 必填项已用*标注