在网上看资料说OpenCV 2以后不支持VC 6.0了,所以自己根据文档尝试着用VS 2008创建工程。OpenCV的下载及参考文档可以通过http://opencv.org/进行查看,在windows系统中的安装可以参考http://docs.opencv.org/doc/tutorials/introduction/windows_install/windows_install.html#windows-installation,而创建一个test应用可以参考http://docs.opencv.org/doc/tutorials/introduction/windows_visual_studio_Opencv/windows_visual_studio_Opencv.html#windows-visual-studio-how-to。
1.从网站上下载OpenCV 2.4.5后,执行解压(2.7G),解压后应该类似这个样子: