How to run the sample project

How to run the sample project
0.0 0


Hi guys,

I downloaded the latest codes from github, checked out gles20 branch.
Then I tried to run the TestJavascript target, but I got errors say - "generated/cocos2dx.hpp’ file not found. Did I miss some steps?
I also checked the, it complies and runs well, but it’s probably outdated of the current cocos2dx codes.

Please help and thanks in advance. :slight_smile:


UPDATE: I tried the MoonWarriors project and got the same errors.


Hmm, it seems like that I didn’t checkout submodules.


I have the same problem, “generated/cocos2d-x.hpp” file not found. I guess this file need to be generated by some magical way but can’t find any instructions on how to do so.


OK I found good instructions here :