I've followed this tutorial http://www.raywenderlich.com/33750/cocos2d-x-tutorial-for-ios-and-android-getting-started, and managed to create an android hello world project in cococs2d-x. Now when I add anything to my classes directory and try to use them, I get errors like
make: *** [obj/local/armeabi/libgame.so] Error 1
undefined reference to 'ConstAndStats::getDevice()'
How should I fix these problems, and add the already working codes (in Xcode) for my eclipse project?
jni/../../Classes/ConstAndStats.cpp', needed by
obj/local/armeabi/objs-debug/game_shared/__/__/Classes/ConstAndStats.o'. Stop. asad C/C++ Problem – Colonel