处理好三个东西
1、头文件,Configuration Properties → VC++ Directories → Include Directories
2、静态库,Configuration Properties → Linker → Input → Additional Dependencies,如需批量添加,则在…… → Command Line中
3、动态库,加入环境变量
重启VS即可
头文件提供类、函数的接口形式,方便调用
静态库作静态链接,动态库作动态链接
https://stackoverflow.com/questions/9125817/opencv-imreadfilename-fails-in-debug-mode-when-using-release-libraries
http://blog.csdn.net/pinbodexiaozhu/article/details/39889995/