新建cocos2d-x项目每次运行都缺少头文件,求解决办法。
1> Creating directory "E:\study folder\MyTest01\Debug.win32\".
1>InitializeBuildStatus:
1> Creating "Debug.win32\MyTest01.win32.unsuccessfulbuild" because "AlwaysCreate" was specified.
1>ClCompile:
1> main.cpp
1>e:\study folder\mytest01\mytest01\proj.win32\main.h(11): fatal error C1083: Cannot open include file: 'CCStdC.h': No such file or directory
1> HelloWorldScene.cpp
1>e:\study folder\mytest01\mytest01\classes\helloworldscene.h(4): fatal error C1083: Cannot open include file: 'cocos2d.h': No such file or directory
1> AppDelegate.cpp
1>e:\study folder\mytest01\mytest01\classes\appdelegate.cpp(1): fatal error C1083: Cannot open include file: 'cocos2d.h': No such file or directory
1> Generating Code...
1>
1>Build FAILED.
难道每次都要把源码中的几个文件夹拷过来吗?
1> Creating directory "E:\study folder\MyTest01\Debug.win32\".
1>InitializeBuildStatus:
1> Creating "Debug.win32\MyTest01.win32.unsuccessfulbuild" because "AlwaysCreate" was specified.
1>ClCompile:
1> main.cpp
1>e:\study folder\mytest01\mytest01\proj.win32\main.h(11): fatal error C1083: Cannot open include file: 'CCStdC.h': No such file or directory
1> HelloWorldScene.cpp
1>e:\study folder\mytest01\mytest01\classes\helloworldscene.h(4): fatal error C1083: Cannot open include file: 'cocos2d.h': No such file or directory
1> AppDelegate.cpp
1>e:\study folder\mytest01\mytest01\classes\appdelegate.cpp(1): fatal error C1083: Cannot open include file: 'cocos2d.h': No such file or directory
1> Generating Code...
1>
1>Build FAILED.
难道每次都要把源码中的几个文件夹拷过来吗?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货