Hello, I have built Ogre for android (with some warnings) and I'm trying to test OgreJni sample on my device but when I compile c++ part with ndk-build I got an error saying this:
I have been looking for that path and I can't find anything... what can I do?
PD: Obviously the launch of the app crash and say that there are a error loading a library at "System.loadLibrary("OgreJNI");"
I did that, and I found many files with that name (in Android NDK and in Ogre's Android dependencies) but if y make the path ../systemlibs/armeabi" and put them on it, the command ndk show lots of fails at compiling (Undefined references), so I though that this is not a solution
Well, first, sorry for my ignorance and thanks for your patience! I had downloaded the sdk from the link but the examples there are 100% native, and I was looking for some example where I could use android events and java code to make an app. Thats the reason why I'm build Ogre from source, because it have a OgreJNI example that I think is what I am wanting, and the SDK doesn't have it
Anyway, There are any guide or tutorial to build an app with the Android sdk?
Wolfmanfx wrote:As i see in the first thread - you did not build ogre because the system libs are generated during the full build.
I have some warnings when building Ogre, but when I saw the folders and files created, I thought that I compile well. Maybe it only compiled some parts and forgot others, here is the output when I compile Ogre:
Well, I think that this time we have done well! Thanks everybody for your help, this is my new output after building:
buuuut I have another problem now when I import OgreJNI to eclipse and try to use ndk-build in the folder, there is no problem with libraries not found, but I have lots of errors like this: