GitHub Code reproducibility of opencv

Opencv link GitHub reproduction of the code: https://github.com/vonzhou/opencv

 

ISSUE Summary:

Issue1: vs2015 find the configuration dirent.h header file?

Solution: dirent.h header About
dirent is to make the operation of the application programmer interface (API) and a list of folders. Simply put, you can use dirent file in the system folder and its contents to operate and modify. Including displaying the folder list, read the contents and so on. In vs2015 environment, you need to load dirent.h header file. dirent basic can be used in UNIX systems, but in windows, not all compilers can be used.


Github link connection: https://github.com/JackSoja/dirent
will save the downloaded file dirent.h VS system includes (include) directory can be, my directory is C: \ Program Files (x86) \ Microsoft Visual Studio 14.0 \ VC \ include
or directly save the following code dirent.h document, in the above directory can be.

PS: If you do not take effect, restart the VS try again, I was loaded for a while to take effect.

Reference: Configuration dirent.h to vs2015 header under the windows7 - https://blog.csdn.net/iTaacy/article/details/78882696

 

Issue2:VS2015找不到#include <opencv2/nonfree/features2d.hpp> //#include <opencv2/nonfree/nonfree.hpp>

Solution:

 

Issue3: VS2015 undefined identifier "initModule_nonfree"

Solution:

 

Guess you like

Origin www.cnblogs.com/Alliswell-WP/p/GitHub4OpenCV_Code1.html