overlayManager.create block the app in ANDROID

Discussion of issues specific to mobile platforms such as iOS, Android, Symbian and Meego.
Post Reply
piperoman
Gnoblar
Posts: 3
Joined: Thu Apr 25, 2013 9:09 am

overlayManager.create block the app in ANDROID

Post by piperoman »

Hi.

I'm testing OGRE in ANDROID using the precompiled libraries in linux, with android NDK r8d. The example compile and run ok. And I can move/rotate bones.

I'm trying to see the FPS in the screen, but the sample is blocked when execute this line:

Code: Select all

Ogre::Overlay* overlay = overlayManager.create( "OverlayName" );
The same happen when is use:

Code: Select all

Ogre::ResourcePtr font = fontMgr->create( "MyFont", "General" );
What is going on?

Thanks.
User avatar
Argosse
Gnoblar
Posts: 17
Joined: Wed Apr 27, 2011 9:43 pm

Re: overlayManager.create block the app in ANDROID

Post by Argosse »

How are you created that 'overlayManager'?

Have you created an Ogre::OverlaySystem first? I have overlays working on my android.
Post Reply