I'm working in Qt for Android and I followed this tutorial to implement OGRE: http://www.ogre3d.org/tikiwiki/tiki-ind ... e+into+QT5
I have OgreMain.so, OgreOverlay.so, OgreRTShaderSystem.so, RenderSystem_GL.so, Plugin_PCZSceneManager.so, Plugin_ParticleFX.so, Plugin_OctreeZone.so, Plugin_OctreeSceneManager.so and Plugin_BSPSceneManager.so. All of them are working fine for Linux and with the previous tutorial I could create a window with a sphere.
To compile OGRE for Android, I followed this tutorial (http://www.ogre3d.org/forums/viewtopic.php?f=2&t=80802) and everything went well. The only issue is that I wanted my libraries as dynamic link libraries and I could not achieve that :/
These lines work for all the plugins but not for my render system. When I try to build I receive almost 40 errors.
Code: Select all
Ogre::GLES2Plugin* mGLES2Plugin = new Ogre::GLES2Plugin();
m_ogreRoot->getSingleton().installPlugin(mGLES2Plugin);
From the compiler's output I think that this library (libRenderSystem_GLES2Static.a) is not correctly compiled. That seems rare to me. I followed a tutorial to compile the libaries and Ogre Browser Sample worked perfectly, even better that the apk that you can find in PlayStore.
Could you help me with this problem? Is it possible to compile the libraries as dynamic link libraries for Android? Why is it forced to static in CmakeList? Where could I find precompiled binaries for Android? Do they even exist?
Thanks!
Fer