Home > Database > Mysql Tutorial > Cocos2d-x项目移植到WinRT/Win8小记

Cocos2d-x项目移植到WinRT/Win8小记

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 15:19:01
Original
1146 people have browsed it

打包错误,提示找不到 CCPlatformMacros.h 或者 CCPlatformConfig.h 文件。 Error 3 error C1083: Cannot open include file: ‘platform/CCPlatformMacros.h’: No such file or directory d:\workspacecocos2dx\cocos2d-x-2.2\cocos2dx\platform\winrt\CCS

打包错误,提示找不到CCPlatformMacros.h或者CCPlatformConfig.h文件。

Error 3 error C1083: Cannot open include file: ‘platform/CCPlatformMacros.h’: No such file or directory d:\workspacecocos2dx\cocos2d-x-2.2\cocos2dx\platform\winrt\CCStdC.h 29 1 ThunderPlaneX

Error 18 error C1083: Cannot open include file: ‘platform/CCPlatformConfig.h’: No such file or directory D:\WorkspaceCocos2dx\cocos2d-x-2.2\cocos2dx\include\ccConfig.h 30 1 ThunderPlaneX

错误说的很明显了,检查一下项目的include路径,应该是少了cocos2dx所在目录,加入即可: 
$(ProjectDir)......\cocos2dx

另外需要注意的是,一下两个目录也别忘了要加入include路径当中。:
$(ProjectDir)......\CocosDenshion\include
$(ProjectDir)......\CocosDenshion\include

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template