• 大小: 111KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-05-22
  • 语言: 其他
  • 标签: Opencv2.4.12  cuda9.0  

资源简介

opencv 2.4.* 链接cuda 9的时候会有依赖问题,通过修改opencv源码中的cmake, 可以解决opencv在cuda9.0编译上的依赖问题。

资源截图

代码片段和文件信息

#if defined __APPLE__
#include 
#else
#include 
#endif

#ifndef _MSC_VER
#ifdef CL_VERSION_1_2
#error OpenCL is valid
#else
#error OpenCL check failed
#endif
#else
#ifdef CL_VERSION_1_2
#pragma message (“OpenCL is valid“)
#else
#pragma message (“OpenCL check failed“)
#endif
#endif

int main(int /*argc*/ char** /*argv*/)
{
    return 0;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-05-26 12:57  cmake\
     文件        2000  2015-07-29 18:57  cmake\cl2cpp.cmake
     文件        1263  2015-07-29 18:57  cmake\OpenCVVersion.cmake
     文件       19945  2015-07-29 18:57  cmake\OpenCVUtils.cmake
     文件        9747  2015-07-29 18:57  cmake\OpenCVPackaging.cmake
     文件       12893  2015-07-29 18:57  cmake\OpenCVPCHSupport.cmake
     文件       39747  2015-07-29 18:57  cmake\OpenCVModule.cmake
     文件        1238  2015-07-29 18:57  cmake\OpenCVLegacyOptions.cmake
     文件        3992  2015-07-29 18:57  cmake\OpenCVGenPkgconfig.cmake
     文件         139  2015-07-29 18:57  cmake\OpenCVGenInfoPlist.cmake
     文件        1357  2015-07-29 18:57  cmake\OpenCVGenHeaders.cmake
     文件        7940  2015-07-29 18:57  cmake\OpenCVGenConfig.cmake
     文件        7277  2015-07-29 18:57  cmake\OpenCVGenAndroidMK.cmake
     文件        1401  2015-07-29 18:57  cmake\OpenCVFindXimea.cmake
     文件       15608  2015-07-29 18:57  cmake\OpenCVFindPkgConfig.cmake
     文件        4621  2015-07-29 18:57  cmake\OpenCVFindOpenNI.cmake
     文件        3387  2015-07-29 18:57  cmake\OpenCVFindOpenEXR.cmake
     文件       10787  2015-07-29 18:57  cmake\OpenCVFindLibsVideo.cmake
     文件        2309  2015-07-29 18:57  cmake\OpenCVFindLibsPerf.cmake
     文件        5595  2015-07-29 18:57  cmake\OpenCVFindLibsGrfmt.cmake
     文件        1974  2015-07-29 18:57  cmake\OpenCVFindLibsGUI.cmake
     文件        2888  2015-07-29 18:57  cmake\OpenCVFindLATEX.cmake
     文件        1236  2015-07-29 18:57  cmake\OpenCVFindIntelPerCSDK.cmake
     文件       14368  2015-07-29 18:57  cmake\OpenCVFindIPP.cmake
     文件        1419  2015-07-29 18:57  cmake\OpenCVExtraTargets.cmake
     文件        2099  2015-07-29 18:57  cmake\OpenCVDetectVTK.cmake
     文件        3291  2015-07-29 18:57  cmake\OpenCVDetectTBB.cmake
     文件        6308  2015-07-29 18:57  cmake\OpenCVDetectPython.cmake
     文件        2241  2015-07-29 18:57  cmake\OpenCVDetectOpenCL.cmake
     文件        5391  2015-07-29 18:57  cmake\OpenCVDetectCXXCompiler.cmake
     文件         361  2015-07-29 18:57  cmake\OpenCVDetectCStripes.cmake
............此处省略30个文件信息

评论

共有 条评论