错误 1 fatal error C1189: #error : Your version of the Windows SDK is earlier than 6.0. Try setting the 'WINVER' and '_WIN32_WINNT' definitions in your project to less than 0x0600. c:\program files\microsoft visual studio 9.0\vc\atlmfc\include\afxwin.h 26 FaceDetection
解决方法: stdafx.h头部中添加 #ifndef WINVER // Specifies that the minimum required platform is Windows Vista. #define WINVER 0x0500 // Win2k #endif #ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. #define _WIN32_WINNT 0x0500 // Win2k #endif |
评论