编程遇到问题与解决(opencv 、sys / videoio.h 、eigen)

OpenCV modules:

To be built:

core flann imgproc highgui features2d calib3d ml video legacy objdetect photo gpu ocl nonfree contrib python stitching superres ts videostab viz world

 

出现错误:

libopencv_nonfree.so.2.4: error adding symbols: DSO missing from command line

解决办法:

将opencv_nonfree加入到opencv项目对应的头文件中

项目——》属性

uploading.4e448015.gif转存失败重新上传取消

 

选择——》Add——》将缺少的nonfree加入进行,点击应用即可解决这个问题。

 

 

出现问题:

关于sys / videoio.h 

搏斗了很长一段时间,但是,Github上出现了从贡献者这样的言论的问题

同样,“未找到sys / videoio.h”不是错误 - 它只是一个检查结果。所以这根本不是问题。

即sys / videoio.h没有找到的错误可以忽略

 

出现的问题:

unsupported/Eigen/MatrixFunctions not Found

 

解决办法:

I met this problem and I solved it easily!
Just read the error message, it says header file unsupported/Eigen/MatrixFunctions not Found!

so with eigen3 we downloaded, (use apt-get, default location is usr/include/eigen3/) there are two folders in eigen3/, 1. Eigen, 2. unsupported. (my Eigen is 3.2.92).

Solution: copy both of these folders to /usr/include. (I assume you have already put Eigen in /usr/include, that's what tutorial usually says. leaving unsupported in usr/include/eigen3 folder is like hiding it, system can not find it.)

你可能感兴趣的:(计算机,计算机视觉,算法,opencv,sys,/,videoio.h,eigen)