首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >CHUNKSTATE和STAT_CHUNK未定义

CHUNKSTATE和STAT_CHUNK未定义
EN

Stack Overflow用户
提问于 2017-09-14 20:01:39
回答 1查看 1.4K关注 0票数 0

我在从https://github.com/LestaD/SourceEngine2007升级VB2005时遇到了这些错误,而且我似乎无法解决这个问题.这些错误是由后面包含的依赖项引起的。

错误列表:

代码语言:javascript
复制
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

一般性质:

代码语言:javascript
复制
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++目录:

代码语言:javascript
复制
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);

其余的属性看起来是标准的

EN

回答 1

Stack Overflow用户

发布于 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

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/46227355

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档