0
Google Test를 다운로드했습니다. 그런 다음 "gtest.sln"파일을 열었습니다. 변환 후 "build"를 클릭했지만 Visual Studio 2005에서 아래 오류를 반복해서 들었습니다. 어떻게해야합니까? 감사합니다.Google 테스트를 구축 할 때 shellapi 오류가 발생했습니다.
3>C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\shellapi.h(69) : error C2065: 'WHWND' : undeclared identifier
3>C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\shellapi.h(69) : error C2146: syntax error : missing ')' before identifier 'hwnd'
3>C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\shellapi.h(69) : warning C4229: anachronism used : modifiers on data are ignored
3>C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\shellapi.h(69) : error C2491: 'ShellExecute' : definition of dllimport data not allowed
3>C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\shellapi.h(69) : error C2059: syntax error : ')'
대단히 감사합니다 :))))) 이것은 정말로 나를 매우 도움이되었습니다. 며칠 동안이 문제를 해결할 수 없었다 :)) – trante