Saturday, October 5, 2013

visual studio 2010 New cocos2d-x project each run are missing header files

New cocos2d-x project each run are missing header files, find a solution.
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.
Is the source code every time the beat up several folders do?
Reply:
Put your items on the cocos2d-x libraries under. Or you are in a good vs works specified in your library, in the library test over.
Reply:
In the build phase plus connect just fine

No comments:

Post a Comment