Ninja tutorial building error

0 votes

Hello

error occurs in ninja tutorial.

I am beginner,please help me.

"jni/../../Classes/HelloWorldScene.h:4:21: fatal error: cocos2d.h: No such file or directory"

sad

asked Sep 4, 2014 in AppWarp by jinri1218 (10 points)
recategorized Oct 22, 2014 by sushil

1 Answer

0 votes
Hey,

As the error is being shown as "cocos2d.h" not found, I believe the issue is not with our sample but cocos2D-X. Please make sure your cocos2d-x installation is correct. You may try to first run a hello world program to see if cocos2D-x is working or not.

Also you must read cocos2D-X documentation to see how to build cocos2D-x project for android. http://www.cocos2d-x.org/wiki/How_to_Build_an_Android_Project_with_Eclipse

Thanks
answered Sep 6, 2014 by Suyash Mohan (900 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...