我在从https://github.com/LestaD/SourceEngine2007升级VB2005时遇到了这些错误,而且我似乎无法解决这个问题.这些错误是由后面包含的依赖项引起的。
错误列表:
Error C2061 syntax error: identifier 'STAT_CHUNK'
Error C3646 'GetChunkType': unknown override specifier
Error C2061 syntax error: identifier 'CHUNKSTATE'这些文件是:
Studio\2017\Community\VC\Tools\MSVC\14.11.25503\atlmfc\include\atlhandler.h视景..\Microsoft
Studio\2017\Community\VC\Tools\MSVC\14.11.25503\atlmfc\include\afxwin.h视景..\Microsoft
一般性质:
Target Platform: Windows 10
Windows SDK Version: 10.0.14393.0
Platform Toolset: Visual Studio 2017 (v141)
Configuration Type: Dynamic Library (.dll)
Use of MFC: Use MFC in a Shared DLL
Character Set: Use Multi-Byte Character Set
Common Language Runtime Support: Common Language Runtime Support (/clr)
.NET Target Framework Version: VC++目录:
Executable Directories: $(VC_ExecutablePath_x86);$(WindowsSDK_ExecutablePath);$(VS_ExecutablePath);$(MSBuild_ExecutablePath);$(SystemRoot)\SysWow64;$(FxCopDir);$(PATH);
Include Directories: C:\Program Files %28x86%29\Microsoft DirectX SDK %28June 2010%29\Include;$(IncludePath)
Reference Directories: $(VC_ReferencesPath_x86);
Library Directories: C:\Program Files %28x86%29\Microsoft DirectX SDK %28June 2010%29\Lib\x86;$(LibraryPath)
Library WinRT Directories: $(WindowsSDK_MetadataPath);
Source Directories: $(VC_SourcePath);
Exclude Directories: $(VC_IncludePath);$(WindowsSDK_IncludePath);$(MSBuild_ExecutablePath);$(VC_LibraryPath_x86);其余的属性看起来是标准的
发布于 2017-09-14 20:23:02
结构STAT_CHUNK和枚举CHUNKSTATE不支持win10。
在下面的链接中向下滚动到底部,您可以注意到客户端支持的末尾是"Windows7“。
https://msdn.microsoft.com/en-us/library/ms691016(v=vs.85).aspx
https://msdn.microsoft.com/en-us/library/windows/desktop/ms691020(v=vs.85).aspx
此外,文档还建议使用"Windows “进行快速搜索。
https://msdn.microsoft.com/en-us/library/windows/desktop/aa965362(v=vs.85).aspx
https://stackoverflow.com/questions/46227355
复制相似问题