https://github.com/chbfiv/lib-android-ogre-3d
However I'm having an issue with the error below.
/home/chbfiv/dev/ogre//OgreMain/src/OgrePlatformInformation.cpp:44:32: error: sys/sysctl.h: No such file or directory
make: *** [/home/chbfiv/workspace/marble-madness/lib-android-ogre-3d/obj/local/armeabi-v7a/objs-debug/ogre-3d//OgreMain/src/OgrePlatformInformation.o] Error 1
I'm defining the flag as arg's into the build system, however it seems that it's not working because the path to that error is still being compiled.
LOCAL_CFLAGS += -D__ANDROID__
LOCAL_CPPFLAGS += -D__ANDROID__
looking below you can see the compare w/ OGRE_PLATFORM_ANDROID, which is defined by __ANDROID__
1] *********************** OgreMain/src/OgrePlatformInformation.cpp lines 34-49 ********************************
...
#if OGRE_COMPILER == OGRE_COMPILER_MSVC
#include <excpt.h> // For SEH values
#if _MSC_VER >= 1400
#include <intrin.h>
#endif
#elif OGRE_COMPILER == OGRE_COMPILER_GNUC && OGRE_PLATFORM != OGRE_PLATFORM_NACL
#include <signal.h>
#include <setjmp.h>
#if OGRE_CPU == OGRE_CPU_ARM && OGRE_PLATFORM != OGRE_PLATFORM_ANDROID
#include <sys/sysctl.h>
#if _MACH_
#include <mach/machine.h>
#endif
#endif
#endif
...
**************************************************************************************
Also, thanks to http://www.ogre3d.org/tikiwiki/Ogre+And ... evelopment for the general direction. I think I'm close to having it building. next would be getting a demo working.