Welcome![Sign In][Sign Up]
Location:
Search - opencv CV

Search list

[Graph programopencv两个常见的编译错误

Description:

在利用opencv库进行编程中两个常见的问题的解决方法,十分有效!

以openCV的使用为例,并结合个实验经验,总结一下在使用其它库进行编程时VC环境下编译与链接时经常遇到的两个错误的解决办法.

1.编译错误

问题描述:编译时,出现编译如下编译错误:

fatal error C1083: Cannot open include file: 'cv.h': No such file or directory

意思是找不到语句 #include "cv.h" 的cv.h头文件.

解决办法:在工程环境下,Tools->Options->Directories,在页内Show directories for下拉列表框中选择 Include files,然后在Directories列表框中添加上cv.h的路径,
如:D:\OPENCV\CV\INCLUDE,再编译就能找到cv.h头文件了.

2.链接错误

问题描述:链接时出现如下错误:

Linking...

test.obj : error LNK2001: unresolved external symbol _cvCanny

Debug/cvtest.exe : fatal error LNK1120: 1 unresolved externals

解决办法:明明知道cvCanny函数(_cvCanny是纯C编译生成的目标文件的函数名)的原型说明在文件cv.h中,怎么又出现链接错误呢,可能是静态链接库的问题(可能还有其它的原因),
然后有两各解决办法:(1).通过project->Add to project->Files, 将cv.lib加到工程中(2).①Tools->Options->Directories,Show directories for下拉列表框中
选择 Library files,然后在Directories列表框中添加上cv.lib的路径,如:D:\OPENCV\LIB ② project->settings下的LINK属性页下,在Object/Library modules 的文本框中
加上 cv.lib 后,点击确定.此时链接通过.

 

仅为个人的实验经验,有可能不全面或错误.
 


Platform: | Size: 974 | Author: simon112233 | Hits:

[SourceCodeWinCE Compact7 OpenCV Library

Description: 包含cxcore和cv两个dll, 在WinCE Compact7中测试通过..
Platform: | Size: 884649 | Author: jing51536@126.com | Hits:

[Windows Kernelopen cv直方图 二值化

Description: opencv图像处理二值化分析,直方图
Platform: | Size: 528594 | Author: hip3@163.com | Hits:

[BooksOpenCV

Description: 比较齐全的OpenCV参考手册-relatively complete reference manual OpenCV
Platform: | Size: 707584 | Author: 叶磊 | Hits:

[Graph programHow to use OpenCV step by step in VC

Description: 手把手教你怎么在VC下使用OPENCV,详细介绍了VC工程环境设置,即学即用!-Maxivista how you use the VC OPENCV details of VC engineering environment settings, that is used to study!
Platform: | Size: 466944 | Author: 赖做梦 | Hits:

[Multimedia Developopencv-slides

Description: 中科院的讲义和示例程序,给出了openCV的大致内容介绍,和常用函数的demo-CAS handouts and sample procedures openCV given the general description, and common function demo
Platform: | Size: 528384 | Author: 杨蕾 | Hits:

[Special Effectsopencv-slides

Description: 中科院自动化所自由软件学会于任棋讲解的使用opencv进行图像处理的课件和源码。其中包括opencv图像结构、矩阵结构、点结构简介,以及图像I/O,边缘检测,轮廓检测,背景建模等。-free software to automate the process of the Chinese Academy of Sciences Institute of the game on the use opencv for Image Processing Software and the source. Including opencv image structure, matrix structure, the point structure profiles, and Image I/O, edge detection, Contour detection, background modeling.
Platform: | Size: 523264 | Author: | Hits:

[GDI-Bitmapopencv4_Lib

Description: opencv4库文件,可以有效提高图像处理工作者的编程效率。使用时要包含cv.h,ipl.h和highgui.h三个头文件。-opencv4 libraries can effectively improve the image processing workers programming efficiency. Used to contain cv.h, ipl.h and highgui.h three headers.
Platform: | Size: 10214400 | Author: chenxin | Hits:

[Picture ViewerImageInv

Description: 图象反色程序 要用到OpenCV库中的cv.h和 highgui.h-Anti-color process images to use OpenCV library cv.h and highgui.h
Platform: | Size: 2717696 | Author: Yu Gong | Hits:

[Graph RecognizeIntelligent_Screen_Saver

Description: It is a utility to control screen saver using human face detection. Human face detection is performed using OpenCV Haar-Cascade method. The software is primarily a daemon that resides in your system tray and keeps observing the input from a webcam to analyze if the user is no longer in view. Currently two angles are supported namely frontal pose and profile pose.
Platform: | Size: 98304 | Author: 萧董 | Hits:

[Special EffectsFackTrack(OpenCV)

Description: 一個基於OpenCV且for BCB的人臉追蹤程式-Based on OpenCV and for BCB Face tracking program
Platform: | Size: 1019904 | Author: 王傑 | Hits:

[CSharpEmgu.CV.SourceAndExamples-1.4.0.0

Description: Opencv C# Library (wrapper) and example
Platform: | Size: 8279040 | Author: Flavio | Hits:

[File Operateopencv

Description: This a header file necessery for open cv programs-This is a header file necessery for open cv programs
Platform: | Size: 6144 | Author: Satyajit | Hits:

[source in ebookopencv

Description: 于仕琪编写的《open cv教程》所有例程的源代码-仕琪prepared to " open cv Guide," the source code for all routines
Platform: | Size: 13270016 | Author: 鲜燚 | Hits:

[ConsoleEmgu.CV.x86_2.0.1.0_windows_installer

Description: the emuge cv is the free c# wrapper for using opencv in dot net plateform c#-the emuge cv is the free c# wrapper for using opencv in dot net plateform c#......
Platform: | Size: 31820800 | Author: silent | Hits:

[Special Effectsopencv

Description: xcore.lib cv.lib ml.lib cvaux.lib highgui.lib cvcam.lib
Platform: | Size: 229376 | Author: whr | Hits:

[OpenCVcv-buttons.h

Description: example code for opencv with cv button of phillips webcam
Platform: | Size: 1024 | Author: kabir | Hits:

[File Formatkalman

Description: opencv中的kalman滤波器程序, / Use Kalman Filter to model particle in circular trajectory // #include <cv.h> #include <highgui.h> //#include <cvx_defs.h>-opencv kalman filter process in,/Use Kalman Filter to model particle in circular trajectory//# include <cv.h># Include <highgui.h>//# Include <cvx_defs.h>
Platform: | Size: 1024 | Author: jad | Hits:

[OpenCVcvut_test

Description: 照相机标定。OpenCV的摄像机标定方法。《基于OpenCV的计算机视觉技术实现》第十四章源代码。多图标定。-Camera calibration. OpenCV for camera calibration. " Based on OpenCV for computer vision," the 14th chapter source code. More icon set.
Platform: | Size: 637952 | Author: 姜欣 | Hits:

[BooksOpenCV

Description: Cv中文参考手册 图像处理 结构分析 运动分析与对象跟踪 模式识别 照相机定标和三维重建 -Cv Reference Manual motion analysis image processing structure of pattern recognition and object tracking camera calibration and 3D reconstruction
Platform: | Size: 2678784 | Author: 麦高 | Hits:
« 12 3 4 5 6 7 8 9 10 »

CodeBus www.codebus.net