Ive built an Android project in eclipse, converted it to a c++/native project. I also have java calling c++ function successfully.
Now my problem is when I go to initialize a new ogre::root build complains undefined reference to Ogre::Root and Ogre::NedAllocMemWhatever...
Ive also included "OgreRoot.h".
I have OgreMain, RenderSystemGLES2 and octree built. Whats the proper way to now link in the libOgreMainStatic.a that I already have built.
Any help would be greatly appreciated. Also if you could copy and paste my make file with the corrections I would be so so so very greatful. I always have a hard time following instructions on where to put certain lines. Thanks in advance. Im planning on making a tutorial for the process of making a Ogre capable Android project in eclipse. With instructions for jni and functions naming etc etc. Thanks again
Well I solved my own problem. So for anyone ever needing, this is for search. LINKING STATIC OGRE ECLIPSE
Here is my new Android.mk under the jni folder in my project.