Search code examples
eclipsecocos2d-xcocos2d-x-3.0

No rule to make target 'proj.android/../cocos2d/cocos/./cocos2d.cpp'


I have development few games but when i start building a new game i am facing the error for android on eclipse. The project is working fine on xcode but not on eclipe. Now even all my other projects is giving the same error, which was working fine a day ago.

make: * No rule to make target /Users/king/Documents/cocoGamesBeta/game1/proj.android/../cocos2d/cocos/./cocos2d.cpp', needed byobj/local/armeabi/objs/cocos2dx_static/cocos2d.o'. Stop. game1 C/C++ Problem

Thanks,


Solution

  • This kind of errors comes from not writing the definition of functions in cpp class or not adding listener functions callback in cpp.

    I resolved it by debugging.