精华内容
下载资源
问答
  • 2016-11-22 10:35:57

    今天在vs上写一段代码,编译后总是显示有无法解析的函数,又不知道该函数在哪个lib文件中,在百度上找了半天,也没找到。已是就将所有lib库都添加到vs链接中。如下:

    opencv_calib3d2410d.lib
    opencv_contrib2410d.lib
    opencv_core2410d.lib
    opencv_features2d2410d.lib
    opencv_flann2410d.lib
    opencv_gpu2410d.lib
    opencv_highgui2410d.lib
    opencv_imgproc2410d.lib
    opencv_legacy2410d.lib
    opencv_ml2410d.lib
    opencv_nonfree2410d.lib
    opencv_objdetect2410d.lib
    opencv_ocl2410d.lib
    opencv_photo2410d.lib
    opencv_stitching2410d.lib
    opencv_superres2410d.lib
    opencv_ts2410d.lib
    opencv_video2410d.lib
    opencv_videostab2410d.lib


    然后会提示缺dll,然后将所有dll也加进去,虽然方法有点笨但是也算解决了问题。


    后续可以将一些lib库删除,来判断到底对应哪个库,但是加载的lib库也不多,影响也不大,好像也没这个必要了。

    更多相关内容
  • opencv X86 32位 的静态链接库 lib 文件 opencv_core341.lib opencv_calib3d341.lib opencv_dnn341.lib opencv_features2d341.lib opencv_flann341.lib opencv_highgui341.lib opencv_imgcodecs341.lib opencv_...
  • opencv_world341.lib

    2021-06-24 14:42:43
    装好opencv一直报下面这个错误,额外下了,希望对大家有用 LINK : fatal error LNK1181: 无法打开输入文件opencv_world341.lib” 0
  • opencv_world310.lib文件

    2017-05-17 16:46:54
    opencv_world310.lib opencv_world310d.lib
  • opencv3.4.1的lib

    2018-07-01 09:04:06
    OpenCV3.4.1的win10+VS2015的生成库。支持AMD显卡的opencl。希望有积分的朋友可以支持一下,没有积分的朋友可以选择去我的博客中找到《OpenCV生成库分享》这一篇博文去找到下载链接。
  • opencv早期版本使用的库文件,搜集了Lib及Dll两类文件,包含cv200.lib,cv200d.lib,cxcore200.lib,cxcore200d.lib,highgui200.lib,highgui200d.lib等,cv100.dll,cv200.dll,cv200d.dll,cxcore200.dll,cxcore200d.dll,...
  • opencv_aruco440.lib opencv_bgsegm440.lib opencv_bioinspired440.lib opencv_calib3d440.lib opencv_ccalib440.lib opencv_core440.lib opencv_datasets440.lib opencv_dnn_objdetect440.lib opencv_dnn_superres...
  • 含bin文件和lib文件 vs2015编译(VC14) lib文件有: opencv_ts310.lib ,opencv_ts310d.lib,opencv_world310.lib,opencv_world310d.lib dll文件有:opencv_world310.dll 以及opencv_calib3d310.dll,opencv_core...
  • 使用OpenCV前,需对项目属性进行设置,主要包括:包含目录、库目录,附加依赖项等。包含目录和库目录设置如下图所示 包含目录添加3个:(1)OpenCV安装文件夹\opencv\build\include (2)OpenCV安装文件夹\opencv...

            使用OpenCV前,需对项目属性进行设置,主要包括:包含目录、库目录,附加依赖项等。包含目录和库目录设置如下图所示

    包含目录添加3个:(1)OpenCV安装文件夹\opencv\build\include     (2)OpenCV安装文件夹\opencv\build\include\opencv

                                   (3)OpenCV安装文件夹\opencv\build\include\opencv2

    库目录添加: OpenCV安装文件夹\opencv\build\x86\vc12\lib,如果调试平台选的x64,则配置时也要选择x64文件夹下的lib文件,根据vs安装的版本选择x86或x64文件夹下的vc文件夹。(ps:本文调试平台x32,vs版本2013.)

    之后进行附加依赖项的设置:链接器 -> 输入 ->附加依赖项。

    现将OpenCV各个版本的附加依赖项.lib文件汇总如下:

    2.4.9

    Debug下的OpenCV2.4.9依赖项lib文件

    opencv_calib3d249d.lib 
    opencv_contrib249d.lib 
    opencv_core249d.lib 
    opencv_features2d249d.lib 
    opencv_flann249d.lib 
    opencv_gpu249d.lib 
    opencv_highgui249d.lib 
    opencv_imgproc249d.lib 
    opencv_legacy249d.lib 
    opencv_ml249d.lib 
    opencv_nonfree249d.lib 
    opencv_objdetect249d.lib 
    opencv_ocl249d.lib 
    opencv_photo249d.lib 
    opencv_stitching249d.lib 
    opencv_superres249d.lib 
    opencv_ts249d.lib 
    opencv_video249d.lib 
    opencv_videostab249d.lib


    Release下的OpenCV2.4.9依赖项lib文件

    opencv_calib3d249.lib 
    opencv_contrib249.lib 
    opencv_core249.lib 
    opencv_features2d249.lib 
    opencv_flann249.lib 
    opencv_gpu249.lib 
    opencv_highgui249.lib 
    opencv_imgproc249.lib 
    opencv_legacy249.lib 
    opencv_ml249.lib 
    opencv_nonfree249.lib 
    opencv_objdetect249.lib 
    opencv_ocl249.lib 
    opencv_photo249.lib 
    opencv_stitching249.lib 
    opencv_superres249.lib 
    opencv_ts249.lib 
    opencv_video249.lib 
    opencv_videostab249.lib

    2.4.10

    Debug下的OpenCV2.4.10依赖项lib文件

    opencv_ml2410d.lib
    opencv_calib3d2410d.lib
    opencv_contrib2410d.lib
    opencv_core2410d.lib
    opencv_features2d2410d.lib
    opencv_flann2410d.lib
    opencv_gpu2410d.lib
    opencv_highgui2410d.lib
    opencv_imgproc2410d.lib
    opencv_legacy2410d.lib
    opencv_objdetect2410d.lib
    opencv_ts2410d.lib
    opencv_video2410d.lib
    opencv_nonfree2410d.lib
    opencv_ocl2410d.lib
    opencv_photo2410d.lib
    opencv_stitching2410d.lib
    opencv_superres2410d.lib
    opencv_videostab2410d.lib

    Release下的OpenCV2.4.10依赖项lib文件

    opencv_objdetect2410.lib
    opencv_ts2410.lib
    opencv_video2410.lib
    opencv_nonfree2410.lib
    opencv_ocl2410.lib
    opencv_photo2410.lib
    opencv_stitching2410.lib
    opencv_superres2410.lib
    opencv_videostab2410.lib
    opencv_calib3d2410.lib
    opencv_contrib2410.lib
    opencv_core2410.lib
    opencv_features2d2410.lib
    opencv_flann2410.lib
    opencv_gpu2410.lib
    opencv_highgui2410.lib
    opencv_imgproc2410.lib
    opencv_legacy2410.lib
    opencv_ml2410.lib

    2.4.11

    Debug下

    opencv_ml2411d.lib
    opencv_calib3d2411d.lib
    opencv_contrib2411d.lib
    opencv_core2411d.lib
    opencv_features2d2411d.lib
    opencv_flann2411d.lib
    opencv_gpu2411d.lib
    opencv_highgui2411d.lib
    opencv_imgproc2411d.lib
    opencv_legacy2411d.lib
    opencv_objdetect2411d.lib
    opencv_ts2411d.lib
    opencv_video2411d.lib
    opencv_nonfree2411d.lib
    opencv_ocl2411d.lib
    opencv_photo2411d.lib
    opencv_stitching2411d.lib
    opencv_superres2411d.lib
    opencv_videostab2411d.lib

    Release下

    opencv_objdetect2411.lib
    opencv_ts2411.lib
    opencv_video2411.lib
    opencv_nonfree2411.lib
    opencv_ocl2411.lib
    opencv_photo2411.lib
    opencv_stitching2411.lib
    opencv_superres2411.lib
    opencv_videostab2411.lib
    opencv_calib3d2411.lib
    opencv_contrib2411.lib
    opencv_core2411.lib
    opencv_features2d2411.lib
    opencv_flann2411.lib
    opencv_gpu2411.lib
    opencv_highgui2411.lib
    opencv_imgproc2411.lib
    opencv_legacy2411.lib
    opencv_ml2411.lib

    2.4.12

    Debug下

    opencv_calib3d2412d.lib
    opencv_contrib2412d.lib
    opencv_core2412d.lib
    opencv_features2d2412d.lib
    opencv_flann2412d.lib
    opencv_gpu2412d.lib
    opencv_highgui2412d.lib
    opencv_imgproc2412d.lib
    opencv_legacy2412d.lib
    opencv_ml2412d.lib
    opencv_nonfree2412d.lib
    opencv_objdetect2412d.lib
    opencv_ocl2412d.lib
    opencv_photo2412d.lib
    opencv_stitching2412d.lib
    opencv_superres2412d.lib
    opencv_ts2412d.lib
    opencv_video2412d.lib
    opencv_videostab2412d.lib

    Release下

    opencv_calib3d2412.lib
    opencv_contrib2412.lib
    opencv_core2412.lib
    opencv_features2d2412.lib
    opencv_flann2412.lib
    opencv_gpu2412.lib
    opencv_highgui2412.lib
    opencv_imgproc2412.lib
    opencv_legacy2412.lib
    opencv_ml2412.lib
    opencv_nonfree2412.lib
    opencv_objdetect2412.lib
    opencv_ocl2412.lib
    opencv_photo2412.lib
    opencv_stitching2412.lib
    opencv_superres2412.lib
    opencv_ts2412.lib
    opencv_video2412.lib
    opencv_videostab2412.lib

    2.4.13

    Debug下

    opencv_ml2413d.lib
    opencv_calib3d2413d.lib
    opencv_contrib2413d.lib
    opencv_core2413d.lib
    opencv_features2d2413d.lib
    opencv_flann2413d.lib
    opencv_gpu2413d.lib
    opencv_highgui2413d.lib
    opencv_imgproc2413d.lib
    opencv_legacy2413d.lib
    opencv_objdetect2413d.lib
    opencv_ts2413d.lib
    opencv_video2413d.lib
    opencv_nonfree2413d.lib
    opencv_ocl2413d.lib
    opencv_photo2413d.lib
    opencv_stitching2413d.lib
    opencv_superres2413d.lib
    opencv_videostab2413d.lib

    Release下

    opencv_objdetect2413.lib
    opencv_ts2413.lib
    opencv_video2413.lib
    opencv_nonfree2413.lib
    opencv_ocl2413.lib
    opencv_photo2413.lib
    opencv_stitching2413.lib
    opencv_superres2413.lib
    opencv_videostab2413.lib
    opencv_calib3d2413.lib
    opencv_contrib2413.lib
    opencv_core2413.lib
    opencv_features2d2413.lib
    opencv_flann2413.lib
    opencv_gpu2413.lib
    opencv_highgui2413.lib
    opencv_imgproc2413.lib
    opencv_legacy2413.lib
    opencv_ml2413.lib

    注意:Debug和Release下的附加依赖项区别在于,debug依赖项后缀有d,而release没有。

    汇总过程中难免出错,若内容有误,欢迎提出~

    展开全文
  • 使用opencv1库写的程序到opencv2的环境下跑会出现库文件报错,主要是缺少了一些库文件文件包括cxcore.lib,highgui100.dll,cv.lib,cvaux.lib,cxcore100.dll,highgui.lib,libguide40.dll,ml.lib。把这些库...
  • IlmImf.lib,libjasper.lib,libjpeg.lib,libpng.libopencv_core2413.lib,libtiff.libopencv_highgui2413.libopencv_imgproc2413.libopencv_legacy2413.libopencv_ml2413.libopencv_video2413.lib,...
  • 在使用不同版本opencv时,编译器有时会报错,error LNK1104 无法打开文件opencv_core245d.lib,本文给出了详细的解决方法,实测有效
  • LNK110:无法打开文件opencv_xxxx.lib"的错误,如下 博主也碰到了相同的问题,以下提供的解决办法仅限于已经重新确定Cmake编译、系统Path变量设置和VS环境配置均无误的朋友。 其实这涉及到VS能够到达的目录...
    在论坛上看到"LNK110:无法打开文件opencv_xxxx.lib"的错误,如下
    

    在添加依赖库之后仍然报错
    博主也碰到了相同的问题,以下提供的解决办法仅限于已经重新确定Cmake编译、系统Path变量设置和VS环境配置均无误的朋友。
    其实这涉及到VS能够到达的目录深度(即绝对路径深度)。
    关于目录深度作如下简要解释:将某个文件放置在D盘中,目录深度是1;如果放在D盘的某个文件中,目录深度是2,以此类推。
    博主在重新进行系统Path变量和VS环境配置之后,发现LNK110报错依然存在,于是仔细查看了LNK110错误的相关提示,发现有可能是由于目录深度的问题:
    第一次Cmake编译开发环境时,博主的lib文件夹路径如下:
    D:\Program Files\Opencv\Build\install\x86\vc15\lib,目录深度为8;
    第二次Cmake编译开发环境时,博主的lib文件夹路径如下:
    D:\OpenCVBuild\install\x86\vc15\lib,目录深度为6。
    经过降低目录深度后,问题得到解决。
    另外,目前确定目录深度为<=6时不会有问题,>=8会出现问题,至于7的话,博主没尝试,有兴趣的朋友可以试试。
    Tips:有些朋友习惯于把OpenCV的源代码、编译环境和个人代码等放于同一个文件夹下,这个习惯仁者见仁,博主建议注意目录深度,以免引起一些非常见的报错……

    展开全文
  • opencv_xxx.310d.lib

    2016-07-27 15:48:27
    opencv_calib3d310d.lib opencv_core310d.lib opencv_features2d310d.lib opencv_flann310d.lib opencv_highgui310d.lib opencv_imgcodecs310d.lib opencv_imgproc310d.lib opencv_ml310d.lib opencv_objdetect310d....
  • 用 VS2015 由 OpenCV 4.3.0 源码编译生成的 lib 和 dll 文件, 包含了 None free 模块, 里面 txt 文档有头文件的说明
  • OpenCV3的配置中有一步是附加依赖项的配置: 链接器(Linker)->...我们往往会将D:\OpenCV3.4.7\opencv\build\x64\vc15\lib中所有lib文件添加进去 opencv_aruco347.lib opencv_aruco347d.lib opencv_b...

    OpenCV3的配置中有一步是附加依赖项的配置:

    链接器(Linker)->输入(Input)->附加依赖项(Additional Dependencies)

    我们往往会将D:\OpenCV3.4.7\opencv\build\x64\vc15\lib中所有lib文件添加进去

    opencv_aruco347.lib
    opencv_aruco347d.lib
    opencv_bgsegm347.lib
    opencv_bgsegm347d.lib
    opencv_bioinspired347.lib
    opencv_bioinspired347d.lib
    opencv_calib3d347.lib
    opencv_calib3d347d.lib
    opencv_ccalib347.lib
    opencv_ccalib347d.lib
    opencv_core347.lib
    opencv_core347d.lib
    opencv_datasets347.lib
    opencv_datasets347d.lib
    opencv_dnn347.lib
    opencv_dnn347d.lib
    opencv_dnn_objdetect347.lib
    opencv_dnn_objdetect347d.lib
    opencv_dpm347.lib
    opencv_dpm347d.lib
    opencv_face347.lib
    opencv_face347d.lib
    opencv_features2d347.lib
    opencv_features2d347d.lib
    opencv_flann347.lib
    opencv_flann347d.lib
    opencv_fuzzy347.lib
    opencv_fuzzy347d.lib
    opencv_hfs347.lib
    opencv_hfs347d.lib
    opencv_highgui347.lib
    opencv_highgui347d.lib
    opencv_imgcodecs347.lib
    opencv_imgcodecs347d.lib
    opencv_imgproc347.lib
    opencv_imgproc347d.lib
    opencv_img_hash347.lib
    opencv_img_hash347d.lib
    opencv_line_descriptor347.lib
    opencv_line_descriptor347d.lib
    opencv_ml347.lib
    opencv_ml347d.lib
    opencv_objdetect347.lib
    opencv_objdetect347d.lib
    opencv_optflow347.lib
    opencv_optflow347d.lib
    opencv_phase_unwrapping347.lib
    opencv_phase_unwrapping347d.lib
    opencv_photo347.lib
    opencv_photo347d.lib
    opencv_plot347.lib
    opencv_plot347d.lib
    opencv_reg347.lib
    opencv_reg347d.lib
    opencv_rgbd347.lib
    opencv_rgbd347d.lib
    opencv_saliency347.lib
    opencv_saliency347d.lib
    opencv_shape347.lib
    opencv_shape347d.lib
    opencv_stereo347.lib
    opencv_stereo347d.lib
    opencv_stitching347.lib
    opencv_stitching347d.lib
    opencv_structured_light347.lib
    opencv_structured_light347d.lib
    opencv_superres347.lib
    opencv_superres347d.lib
    opencv_surface_matching347.lib
    opencv_surface_matching347d.lib
    opencv_text347.lib
    opencv_text347d.lib
    opencv_tracking347.lib
    opencv_tracking347d.lib
    opencv_video347.lib
    opencv_video347d.lib
    opencv_videoio347.lib
    opencv_videoio347d.lib
    opencv_videostab347.lib
    opencv_videostab347d.lib
    opencv_xfeatures2d347.lib
    opencv_xfeatures2d347d.lib
    opencv_ximgproc347.lib
    opencv_ximgproc347d.lib
    opencv_xobjdetect347.lib
    opencv_xobjdetect347d.lib
    opencv_xphoto347.lib
    opencv_xphoto347d.lib

    这种做法对于通过从官网下载来的OpenCV二进制可执行文件安装的OpenCV似乎没有什么影响

    但对于自己通过源码编译配置的就出现了问题

    第一个问题:opencv窗口闪退

    对于如下代码,其执行结果imshow窗口闪退

    #include "pch.h"
    #include <iostream>
    #include <opencv2/opencv.hpp>
    using namespace cv;
     
    int main()
    {
    	Mat srcImg = imread("G:\\gatepic.jpg");
    	imshow("imshow", srcImg);
     
    	waitKey(0);
    	return 0;
    }

    查找过程中找到了一篇问答《VS2010配置opencv2.2.0,运行时总是闪退》(https://ask.csdn.net/questions/246151)

    其中回答【在debug里面,链接器->输入->附加依赖项里面添加,opencv_world341d.lib,注意,有一个d在里面,而release里面是没有D的,这两个不能混用,否则会闪退】


    如果说这个影响相对较小

    那么第二种情况就直接让程序崩溃无法运行了


    第二个问题:SURF程序不启动,调试报错

    代码如下:

    	int hessianThreshold = 400;
    	Ptr<xfeatures2d::SURF> detector = xfeatures2d::SURF::create(hessianThreshold);
    	
    	std::vector<KeyPoint> keypoints;
    	detector->detect(srcImg, keypoints); // 此处崩溃
    	Mat featuredImg;
    	drawKeypoints(srcImg, keypoints, featuredImg, Scalar::all(-1), DrawMatchesFlags::DEFAULT);

    代码在  detector->detect(srcImg, keypoints); 处崩溃

    在Debug模式下直接”无调试运行“结果是没有任何相应

    在Debug模式下针对 detector->detect(srcImg, keypoints);  ”调试“,结果是如下报错(每次都会不同):

    各种奇怪的崩溃,debug模式下调试报错"Unhandled exception (opencv_core310.dll)"、"(xxx.dll)in xx.exe Access violation reading location"、" Access violation writinglocation"等类似错误

    查阅资料,终于找到了根本原因,参考《Face Recognition in Videos with OpenCV3 gives Unhandled exception (opencv_core310.dll)》(https://stackoverflow.com/questions/41302737/face-recognition-in-videos-with-opencv3-gives-unhandled-exception-opencv-core31


    更改附加依赖项

    将该项目中的依赖换成只有-d的之后果然一切都好了

    opencv_aruco347d.lib
    opencv_bgsegm347d.lib
    opencv_bioinspired347d.lib
    opencv_calib3d347d.lib
    opencv_ccalib347d.lib
    opencv_core347d.lib
    opencv_datasets347d.lib
    opencv_dnn347d.lib
    opencv_dnn_objdetect347d.lib
    opencv_dpm347d.lib
    opencv_face347d.lib
    opencv_features2d347d.lib
    opencv_flann347d.lib
    opencv_fuzzy347d.lib
    opencv_hfs347d.lib
    opencv_highgui347d.lib
    opencv_imgcodecs347d.lib
    opencv_imgproc347d.lib
    opencv_img_hash347d.lib
    opencv_line_descriptor347d.lib
    opencv_ml347d.lib
    opencv_objdetect347d.lib
    opencv_optflow347d.lib
    opencv_phase_unwrapping347d.lib
    opencv_photo347d.lib
    opencv_plot347d.lib
    opencv_reg347d.lib
    opencv_rgbd347d.lib
    opencv_saliency347d.lib
    opencv_shape347d.lib
    opencv_stereo347d.lib
    opencv_stitching347d.lib
    opencv_structured_light347d.lib
    opencv_superres347d.lib
    opencv_surface_matching347d.lib
    opencv_text347d.lib
    opencv_tracking347d.lib
    opencv_video347d.lib
    opencv_videoio347d.lib
    opencv_videostab347d.lib
    opencv_xfeatures2d347d.lib
    opencv_ximgproc347d.lib
    opencv_xobjdetect347d.lib
    opencv_xphoto347d.lib

    imshow窗口得到了保持:

    SURF特征检测程序,成功实现了特征检测:

     

    展开全文
  • Win32 OpenCv450库文件

    2020-11-20 14:22:37
    Windows 32位OpenCV450开发库文件,包括opencv_world450.libopencv_world450d.lib等所需文件,可用
  • 32位 opencv 3.4.1 lib和dll文件,官方源码下载编译而成,亲测可用
  • 64位 opencv 3.4.1 lib和dll文件,release 版本,官方源码下载编译,亲测可用
  • VS2017+OpenCV4.1.1配置指南 ...spm=1001.2101.3001.4242. 关于错误 网络上有两种解决方法,一个是删除这个链接库,肯定不行,万一用到怎么办;第二个:再添加一个opencv_world401.lib,作用不大,报错的信息
  • 问题描述: 本人使用的是visual studio 2013+openCV 3,跑师姐的标定程序的时候出现了这样的问题 首先我找了我的库,里面并没有这个...输入项,看一下项目的附加依赖项是不是配置的是opencv_world320d.lib 然后再...
  • VS2017配置OpenCV出现无法打开文件opencv_ml249d.lib”的解决办法 因为有些代码不支持opcv3.x版本,所以电脑上同时安装了opencv2.4.9和opencv3.4.1两个版本,当时两个版本都配置成功了,但是opencv2.4.9后来出问题...
  • 这里整理了包括opencv_createsamples、opencv_traincascade、opencv_haartraining、opencv_performance等exe文件,自己找不到的可以从这里下载。用于人脸识别、检测等用途的学习,训练分类器等操作。
  • cvblobslib for opencv lib文件 cvblobslib.lib cvblobslibd.lib,包括x64和x86,windows平台。
  • 文件内容为OpenCV3.4.1源码编译生成dll和lib文件,CMake生成源码环境为VS2010平台,X86版本。
  • windows 下编译好的opencv451 +opencv_contrib 库,包含include lib share 分别对应:头文件,静态库,动态库
  • 编译平台是Release x64时,出现以下错误,提示在链接阶段找不到opencv_world430这个库文件。 解决办法 右键点击项目属性,然后依次点击链接器、输入、附加依赖项。可以看到继承的值里面有opencv_world430.lib,...
  • 在配置opencv4的时候碰到这种情况: 解决方法: 打开opencv安装路径如下 vs2015对应目录vc14 vs2017对应目录vc15 ...opencv_world401d.lib opencv_world401.lib ps:注意下自己的配置环境是不是 Debug X64 ...
  • 静态opencv需要导入的lib

    千次阅读 2018-10-29 16:54:19
    opencv2/imgproc.hpp&gt; #include &lt;opencv2/highgui.hpp&gt; #include &lt;opencv/cv.h&gt; #include &lt;opencv2/nonfree/features2d.hpp&gt; #include &lt;opencv2/core/core...
  • lib目录下并没有opencv_world330d.lib文件。 下面是我的解决办法: 可能是我安装过不同的VS版本,之前的opencv不能用了。 因此可能链接器多弄了“opencv_world330d.lib”等文件。 因此我打开属性...

空空如也

空空如也

1 2 3 4 5 ... 20
收藏数 38,906
精华内容 15,562
关键字:

lib文件 opencv