Improving Android support

Discussion of issues specific to mobile platforms such as iOS, Android, Symbian and Meego.
Liu Xinya
Gnoblar
Posts: 8
Joined: Wed May 23, 2012 6:09 am

Re: Improving Android support

Post by Liu Xinya »

Brocan wrote:Which cmake version are you using? visual studio 2008 express or pro? could you put the whole cmake trace? and the contents of the files "build/CMakeFiles/CMakeOutput and CMakeErrors?
The CMakeError.log file:

Performing C++ SOURCE FILE Test OGRE_GCC_HAS_SSE failed with the following output:
Change Dir D:/Android_Ogre/OgreAndroidSrc/build/CMakeFiles/CMakeTmp

Run Build Command:nmake /NOLOGO "cmTryCompileExec\fast"
"C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe" -f CMakeFiles\cmTryCompileExec.dir\build.make /nologo -L
CMakeFiles\cmTryCompileExec.dir\build
"C:\Program Files\CMake 2.8\bin\cmake.exe" -E cmake_progress_report
D:\Android_Ogre\OgreAndroidSrc\build\CMakeFiles\CMakeTmp\CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec.dir/src.cxx.o
D:\eclipse\android-ndk-r7\toolchaines\arm-linux-androideabi-4.4.3\prebuilt\windows\bin\arm-linux-androideabi-g++.exe -
DANDROID -D_ARM_ARCH_5_ -D_ARM_ARCH_5T_ -D_ARM_ARCH_5E_ -D_ARM_ARCH_5TE_ --sysroot=D:/eclipse/android-ndk-r7/platforms/android-14/arch-arm -fsigned-char -march=armv7-a -mfloat-abi=softfp
-mfpu=vfp -fdata-sections -ffunction-sections -fPIC -Wno-psabi -frtti -fexceptions -DOGRE_GCC_HAS_SSE -isystem D:\eclipse\android-ndk-r7\platforms\android-14\arch-
arm\usr\include -isytem D:\eclipse\android-ndk-r7\sources\cxx-stl\gnu-libstdc++\include -isystem D:\eclipse\android-ndk-r7
\sources\cxx-stl\gnu-libstdc++\libs\armeabi-v7a\include -msse -o CMakeFiles\cmTryCompileExec.dir\src.cxx.o -c
D:\Android_Ogre\OgreAndroidSrc\build\CMakeFiles\CMakeTmp\src.cxx
cc1plus.exe:error:unrecognized command line option "-msse"
NMAKE : fatal error U1077: "D:\eclipse\android-ndk-r7\toolchains\arm-linux-androideabi-4.4.3\prebuilt\windows\bin\arm-linux-androideabi-g++.exe":返回代码"0x1"
Stop.
NAMKE : fatal error U1077: " "C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe" ":返回代码"0x2"
Stop.

Source file was:
int main() {return 0;}
User avatar
Brocan
Orc
Posts: 441
Joined: Tue Aug 01, 2006 1:43 am
Location: Spain!!
x 8

Re: Improving Android support

Post by Brocan »

That is only the error? msse test fails always because the compiler doesn't support it, but it doesn't stop cmake.

Whats the current state? you can generate at all except by freetype? or you are stuck in a step before?
Liu Xinya
Gnoblar
Posts: 8
Joined: Wed May 23, 2012 6:09 am

Re: Improving Android support

Post by Liu Xinya »

Brocan wrote:That is only the error? msse test fails always because the compiler doesn't support it, but it doesn't stop cmake.

Whats the current state? you can generate at all except by freetype? or you are stuck in a step before?
Hi Brocan,

Now,in the command line ,I can generate at all . Just existed these errors:

NMAKE : fatal error U1077: "D:\eclipse\android-ndk-r7\toolchains\arm-linux-androideabi-4.4.3\prebuilt\windows\bin\arm-linux-androideabi-g++.exe":返回代码"0x1"
Stop.
NAMKE : fatal error U1077: " "C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe" ":返回代码"0x2"
Stop.
User avatar
Brocan
Orc
Posts: 441
Joined: Tue Aug 01, 2006 1:43 am
Location: Spain!!
x 8

Re: Improving Android support

Post by Brocan »

There is no problem if this errors are related to checkings done by cmake, and not in the compilation process. :D
User avatar
Wolfmanfx
OGRE Team Member
OGRE Team Member
Posts: 1525
Joined: Fri Feb 03, 2006 10:37 pm
Location: Austria - Leoben
x 100

Re: Improving Android support

Post by Wolfmanfx »

I have impl the context restore so when you go to the home screen and back to app it recreates all gpu resources (also rotation works but the viewport dimensions must be updated ;) )

http://www.ogre3d.org/forums/viewtopic. ... 01#p459901

[youtube]B0NTbU_CDnE[/youtube]

So happy testing
User avatar
Brocan
Orc
Posts: 441
Joined: Tue Aug 01, 2006 1:43 am
Location: Spain!!
x 8

Re: Improving Android support

Post by Brocan »

Great work! i'll try it on friday!
User avatar
aguru
Goblin
Posts: 236
Joined: Tue Feb 26, 2008 5:48 pm
x 3

Re: Improving Android support

Post by aguru »

Thank you so much for your efforts and sharing them. I'm sure many people will benefit from your work - I guess some of them even financially :)
User avatar
Brocan
Orc
Posts: 441
Joined: Tue Aug 01, 2006 1:43 am
Location: Spain!!
x 8

Re: Improving Android support

Post by Brocan »

Uhm, device restore is not working in S2. Pressing home button and returning to the app, freezes it with a black screen. :(

Ogre logcat trace:

Code: Select all

I/OGRE    (13437): Creating resource group General
I/OGRE    (13437): Creating resource group Internal
I/OGRE    (13437): Creating resource group Autodetect
I/OGRE    (13437): SceneManagerFactory for type 'DefaultSceneManager' registered.
I/OGRE    (13437): Registering ResourceManager for type Material
I/OGRE    (13437): Registering ResourceManager for type Mesh
I/OGRE    (13437): Registering ResourceManager for type Skeleton
I/OGRE    (13437): MovableObjectFactory for type 'ParticleSystem' registered.
I/OGRE    (13437): OverlayElementFactory for type Panel registered.
I/OGRE    (13437): OverlayElementFactory for type BorderPanel registered.
I/OGRE    (13437): OverlayElementFactory for type TextArea registered.
I/OGRE    (13437): Registering ResourceManager for type Font
I/OGRE    (13437): ArchiveFactory for archive type FileSystem registered.
I/OGRE    (13437): ArchiveFactory for archive type Zip registered.
I/OGRE    (13437): ArchiveFactory for archive type EmbeddedZip registered.
I/OGRE    (13437): DDS codec registering
I/OGRE    (13437): FreeImage version: 3.13.1
I/OGRE    (13437): This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.n
et for details
I/OGRE    (13437): Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,gif,g3,sgi,j2k,j2c,jp2
I/OGRE    (13437): PVRTC codec registering
I/OGRE    (13437): Registering ResourceManager for type HighLevelGpuProgram
I/OGRE    (13437): Registering ResourceManager for type Compositor
I/OGRE    (13437): MovableObjectFactory for type 'Entity' registered.
I/OGRE    (13437): MovableObjectFactory for type 'Light' registered.
I/OGRE    (13437): MovableObjectFactory for type 'BillboardSet' registered.
I/OGRE    (13437): MovableObjectFactory for type 'ManualObject' registered.
I/OGRE    (13437): MovableObjectFactory for type 'BillboardChain' registered.
I/OGRE    (13437): MovableObjectFactory for type 'RibbonTrail' registered.
E/OGRE    (13437): OGRE EXCEPTION(6:FileNotFoundException): 'plugins.cfg' file not found! in ConfigFile::load at ..\..\OgreMain\src\OgreConfigFile.cpp (li
ne 88)
I/OGRE    (13437): plugins.cfg not found, automatic plugin loading disabled.
I/OGRE    (13437): *-*-* OGRE Initialising
I/OGRE    (13437): *-*-* Version 1.8.0unstable (Byatis)
I/OGRE    (13437): Installing plugin: OpenGL ES 2.0 RenderSystem
I/OGRE    (13437): OpenGL ES 2.x Rendering Subsystem created.
I/OGRE    (13437): Plugin successfully installed
I/OGRE    (13437): Installing plugin: Octree Scene Manager
I/OGRE    (13437): Plugin successfully installed
I/OGRE    (13437): Installing plugin: ParticleFX
I/OGRE    (13437): Particle Emitter Type 'Point' registered
I/OGRE    (13437): Particle Emitter Type 'Box' registered
I/OGRE    (13437): Particle Emitter Type 'Ellipsoid' registered
I/OGRE    (13437): Particle Emitter Type 'Cylinder' registered
I/OGRE    (13437): Particle Emitter Type 'Ring' registered
I/OGRE    (13437): Particle Emitter Type 'HollowEllipsoid' registered
I/OGRE    (13437): Particle Affector Type 'LinearForce' registered
I/OGRE    (13437): Particle Affector Type 'ColourFader' registered
I/OGRE    (13437): Particle Affector Type 'ColourFader2' registered
I/OGRE    (13437): Particle Affector Type 'ColourImage' registered
I/OGRE    (13437): Particle Affector Type 'ColourInterpolator' registered
I/OGRE    (13437): Particle Affector Type 'Scaler' registered
I/OGRE    (13437): Particle Affector Type 'Rotator' registered
I/OGRE    (13437): Particle Affector Type 'DirectionRandomiser' registered
I/OGRE    (13437): Particle Affector Type 'DeflectorPlane' registered
I/OGRE    (13437): Plugin successfully installed
I/OGRE    (13437): CPU Identifier & Features
I/OGRE    (13437): -------------------------
I/OGRE    (13437):  *   CPU ID:
I/OGRE    (13437):  *      VFP: no
I/OGRE    (13437):  *     NEON: no
I/OGRE    (13437): -------------------------
I/OGRE    (13437): Registering ResourceManager for type Texture
I/OGRE    (13437): GLES2RenderSystem::_createRenderWindow "OgreWindow", 0x0 windowed  miscParams: externalWindowHandle=2364408
I/OGRE    (13437):      create called
I/OGRE    (13437):      AndroidEGLContext called
I/OGRE    (13437): GL_VERSION = OpenGL ES 2.0
I/OGRE    (13437): GL_VENDOR = ARM
I/OGRE    (13437): GL_RENDERER = Mali-400 MP
I/OGRE    (13437): GL_EXTENSIONS = GL_OES_texture_npot GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_depth24 GL_
ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_format_BGRA8888 GL_EXT_blend_minmax GL_OES_EGL_image_e
xternal GL_OES_EGL_sync GL_OES_rgb8_rgba8 GL_EXT_multisampled_render_to_texture GL_EXT_discard_framebuffer
I/OGRE    (13437): EXT:GL_OES_texture_npot
I/OGRE    (13437): EXT:GL_OES_compressed_ETC1_RGB8_texture
I/OGRE    (13437): EXT:GL_OES_standard_derivatives
I/OGRE    (13437): EXT:GL_OES_EGL_image
I/OGRE    (13437): EXT:GL_OES_depth24
I/OGRE    (13437): EXT:GL_ARM_rgba8
I/OGRE    (13437): EXT:GL_ARM_mali_shader_binary
I/OGRE    (13437): EXT:GL_OES_depth_texture
I/OGRE    (13437): EXT:GL_OES_packed_depth_stencil
I/OGRE    (13437): EXT:GL_EXT_texture_format_BGRA8888
I/OGRE    (13437): EXT:GL_EXT_blend_minmax
I/OGRE    (13437): EXT:GL_OES_EGL_image_external
I/OGRE    (13437): EXT:GL_OES_EGL_sync
I/OGRE    (13437): EXT:GL_OES_rgb8_rgba8
I/OGRE    (13437): EXT:GL_EXT_multisampled_render_to_texture
I/OGRE    (13437): EXT:GL_EXT_discard_framebuffer
I/OGRE    (13437): **************************************
I/OGRE    (13437): *** OpenGL ES 2.x Renderer Started ***
I/OGRE    (13437): **************************************
I/OGRE    (13437): GLSL ES support detected
I/OGRE    (13437): Registering ResourceManager for type GpuProgram
I/OGRE    (13437): GL ES 2: Using FBOs for rendering to textures
I/OGRE    (13437): FBO PF_UNKNOWN depth/stencil support: D0S8 D16S0 D16S8 D24S0 D24S8 Packed-D24S8
I/OGRE    (13437): FBO PF_R5G6B5 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 Packed-D24S8
I/OGRE    (13437): FBO PF_B5G6R5 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 Packed-D24S8
I/OGRE    (13437): FBO PF_A4R4G4B4 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 Packed-D24S8
I/OGRE    (13437): FBO PF_A1R5G5B5 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 Packed-D24S8
I/OGRE    (13437): FBO PF_R8G8B8 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 Packed-D24S8
I/OGRE    (13437): FBO PF_B8G8R8 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 Packed-D24S8
I/OGRE    (13437): FBO PF_A8R8G8B8 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 Packed-D24S8
I/OGRE    (13437): FBO PF_A8B8G8R8 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 Packed-D24S8
I/OGRE    (13437): FBO PF_B8G8R8A8 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 Packed-D24S8
I/OGRE    (13437): FBO PF_X8R8G8B8 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 Packed-D24S8
I/OGRE    (13437): FBO PF_X8B8G8R8 depth/stencil support: D0S0 D0S8 D16S0 D16S8 D24S0 D24S8 Packed-D24S8
I/OGRE    (13437): OpenGL ES2 error 0x0500 GL_INVALID_ENUM in void Ogre::GLES2FBOManager::detectFBOFormats() at line 368
I/OGRE    (13437): [GLES2] : Valid FBO targets PF_UNKNOWN PF_R5G6B5 PF_B5G6R5 PF_A4R4G4B4 PF_A1R5G5B5 PF_R8G8B8 PF_B8G8R8 PF_A8R8G8B8 PF_A8B8G8R8 PF_B8G8R
8A8 PF_X8R8G8B8 PF_X8B8G8R8
I/OGRE    (13437): RenderSystem capabilities
I/OGRE    (13437): -------------------------
I/OGRE    (13437): RenderSystem Name: OpenGL ES 2.x Rendering Subsystem
I/OGRE    (13437): GPU Vendor: unknown
I/OGRE    (13437): Device Name: Mali-400 MP
I/OGRE    (13437): Driver Version: 0.0.0.0
I/OGRE    (13437):  * Fixed function pipeline: no
I/OGRE    (13437):  * Hardware generation of mipmaps: yes
I/OGRE    (13437):  * Texture blending: yes
I/OGRE    (13437):  * Anisotropic texture filtering: no
I/OGRE    (13437):  * Dot product texture operation: yes
I/OGRE    (13437):  * Cube mapping: yes
I/OGRE    (13437):  * Hardware stencil buffer: no
I/OGRE    (13437):  * Hardware vertex / index buffers: yes
I/OGRE    (13437):  * Vertex programs: yes
I/OGRE    (13437):  * Number of floating-point constants for vertex programs: 256
I/OGRE    (13437):  * Number of integer constants for vertex programs: 256
I/OGRE    (13437):  * Number of boolean constants for vertex programs: 256
I/OGRE    (13437):  * Fragment programs: yes
I/OGRE    (13437):  * Number of floating-point constants for fragment programs: 256
I/OGRE    (13437):  * Number of integer constants for fragment programs: 256
I/OGRE    (13437):  * Number of boolean constants for fragment programs: 256
I/OGRE    (13437):  * Geometry programs: no
I/OGRE    (13437):  * Number of floating-point constants for geometry programs: 0
I/OGRE    (13437):  * Number of integer constants for geometry programs: 0
I/OGRE    (13437):  * Number of boolean constants for geometry programs: 0
I/OGRE    (13437):  * Supported Shader Profiles: glsles
I/OGRE    (13437):  * Texture Compression: no
I/OGRE    (13437):  * Scissor Rectangle: yes
I/OGRE    (13437):  * Hardware Occlusion Query: no
I/OGRE    (13437):  * User clip planes: no
I/OGRE    (13437):  * VET_UBYTE4 vertex element type: yes
I/OGRE    (13437):  * Infinite far plane projection: yes
I/OGRE    (13437):  * Hardware render-to-texture: yes
I/OGRE    (13437):  * Floating point textures: yes
I/OGRE    (13437):  * Non-power-of-two textures: no
I/OGRE    (13437):  * Volume textures: no
I/OGRE    (13437):  * Multiple Render Targets: 1
I/OGRE    (13437):    - With different bit depths: no
I/OGRE    (13437):  * Point Sprites: yes
I/OGRE    (13437):  * Extended point parameters: yes
I/OGRE    (13437):  * Max Point Size: 0.000000
I/OGRE    (13437):  * Vertex texture fetch: no
I/OGRE    (13437):  * Number of world matrices: 0
I/OGRE    (13437):  * Number of texture units: 8
I/OGRE    (13437):  * Stencil buffer depth: 0
I/OGRE    (13437):  * Number of vertex blend matrices: 0
I/OGRE    (13437):  * Render to Vertex Buffer : no
I/OGRE    (13437):  * GL 1.5 without VBO workaround: no
I/OGRE    (13437):  * Frame Buffer objects: yes
I/OGRE    (13437):  * Frame Buffer objects (ARB extension): no
I/OGRE    (13437):  * Frame Buffer objects (ATI extension): no
I/OGRE    (13437):  * PBuffer support: no
I/OGRE    (13437):  * GL 1.5 without HW-occlusion workaround: no
I/OGRE    (13437):  * Separate shader objects: no
I/OGRE    (13437): DefaultWorkQueue('Root') initialising on thread main.
I/OGRE    (13437): Particle Renderer Type 'billboard' registered
I/OGRE    (13437): SceneManagerFactory for type 'OctreeSceneManager' registered.
I/OGRE    (13437): ArchiveFactory for archive type APKFileSystem registered.
I/OGRE    (13437): ArchiveFactory for archive type APKZip registered.
I/OGRE    (13437): Creating resource group Essential
I/OGRE    (13437): Added resource location '/thumbnails' of type 'APKFileSystem' to resource group 'Essential'
I/OGRE    (13437): Added resource location '/packs/SdkTrays.zip' of type 'APKZip' to resource group 'Essential'
I/OGRE    (13437): Added resource location '/' of type 'APKFileSystem' to resource group 'General'
I/OGRE    (13437): Creating resource group Popular
I/OGRE    (13437): Added resource location '/fonts' of type 'APKFileSystem' to resource group 'Popular'
I/OGRE    (13437): Added resource location '/materials/programs' of type 'APKFileSystem' to resource group 'Popular'
I/OGRE    (13437): Added resource location '/materials/scripts' of type 'APKFileSystem' to resource group 'Popular'
I/OGRE    (13437): Added resource location '/materials/textures' of type 'APKFileSystem' to resource group 'Popular'
I/OGRE    (13437): Added resource location '/materials/textures/nvidia' of type 'APKFileSystem' to resource group 'Popular'
I/OGRE    (13437): Added resource location '/models' of type 'APKFileSystem' to resource group 'Popular'
I/OGRE    (13437): Added resource location '/particle' of type 'APKFileSystem' to resource group 'Popular'
I/OGRE    (13437): Added resource location '/RTShaderLib' of type 'APKFileSystem' to resource group 'Popular'
I/OGRE    (13437): Added resource location '/RTShaderLib/materials' of type 'APKFileSystem' to resource group 'Popular'
I/OGRE    (13437): Added resource location '/materials/scripts/SSAO' of type 'APKFileSystem' to resource group 'Popular'
I/OGRE    (13437): Added resource location '/materials/textures/SSAO' of type 'APKFileSystem' to resource group 'Popular'
I/OGRE    (13437): Added resource location '/packs/cubemap.zip' of type 'APKZip' to resource group 'Popular'
I/OGRE    (13437): Added resource location '/packs/cubemapsJS.zip' of type 'APKZip' to resource group 'Popular'
I/OGRE    (13437): Added resource location '/packs/dragon.zip' of type 'APKZip' to resource group 'Popular'
I/OGRE    (13437): Added resource location '/packs/fresneldemo.zip' of type 'APKZip' to resource group 'Popular'
I/OGRE    (13437): Added resource location '/packs/ogretestmap.zip' of type 'APKZip' to resource group 'Popular'
I/OGRE    (13437): Added resource location '/packs/ogredance.zip' of type 'APKZip' to resource group 'Popular'
I/OGRE    (13437): Added resource location '/packs/Sinbad.zip' of type 'APKZip' to resource group 'Popular'
I/OGRE    (13437): Added resource location '/packs/skybox.zip' of type 'APKZip' to resource group 'Popular'
I/OGRE    (13437): Initialising resource group Essential
I/OGRE    (13437): Parsing scripts for resource group Essential
I/OGRE    (13437): Parsing script SdkTrays.material
I/OGRE    (13437): Parsing script SdkTrays.fontdef
I/OGRE    (13437): Parsing script SdkTrays.overlay
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: sdk_cursor.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8B8G
8R8,32x32x1.
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: sdk_tray.png: Loading 1 faces(PF_A8R8G8B8,64x64x1) with 6 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R
8,64x64x1.
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: sdk_button_up.png: Loading 1 faces(PF_A8R8G8B8,128x32x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A
8B8G8R8,128x32x1.
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: sdk_text_box.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8B
8G8R8,32x32x1.
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: sdk_mini_tray.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8
B8G8R8,32x32x1.
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: sdk_track.png: Loading 1 faces(PF_A8R8G8B8,16x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8B8G8
R8,16x32x1.
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: sdk_handle.png: Loading 1 faces(PF_A8R8G8B8,16x16x1) with 4 hardware generated mipmaps from Image. Internal format is PF_A8B8G
8R8,16x16x1.
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: sdk_mini_text_box.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is P
F_A8B8G8R8,32x32x1.
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: sdk_label.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8B8G8
R8,32x32x1.
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: sdk_separator.png: Loading 1 faces(PF_A8R8G8B8,64x16x1) with 6 hardware generated mipmaps from Image. Internal format is PF_A8
B8G8R8,64x16x1.
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: sdk_logo.png: Loading 1 faces(PF_A8R8G8B8,128x64x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8
R8,128x64x1.
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: sdk_shade.png: Loading 1 faces(PF_A8R8G8B8,64x64x1) with 6 hardware generated mipmaps from Image. Internal format is PF_A8B8G8
R8,64x64x1.
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: sdk_frame.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8B8G8
R8,32x32x1.
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: sdk_mini_text_box_over.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format
 is PF_A8B8G8R8,32x32x1.
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: sdk_pulse.png: Loading 1 faces(PF_R8G8B8,8x1x1) with 3 hardware generated mipmaps from Image. Internal format is PF_R8G8B8,8x1
x1.
I/OGRE    (13437): Finished parsing scripts for resource group Essential
I/OGRE    (13437): Creating resources for group Essential
I/OGRE    (13437): All done
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: sdk_bands.png: Loading 1 faces(PF_A8R8G8B8,2x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R
8,2x32x1.
I/OGRE    (13437): Initialising resource group Popular
I/OGRE    (13437): Parsing scripts for resource group Popular
I/OGRE    (13437): Font SdkTrays/Caption using texture size 512x256
I/OGRE    (13437): Info: Freetype returned null for character 160 in font SdkTrays/Caption
I/OGRE    (13437): Texture: SdkTrays/CaptionTexture: Loading 1 faces(PF_BYTE_LA,512x256x1) Internal format is PF_BYTE_LA,512x256x1.
I/OGRE    (13437): Font SdkTrays/Value using texture size 512x256
I/OGRE    (13437): Info: Freetype returned null for character 127 in font SdkTrays/Value
I/OGRE    (13437): Info: Freetype returned null for character 128 in font SdkTrays/Value
I/OGRE    (13437): Info: Freetype returned null for character 129 in font SdkTrays/Value
I/OGRE    (13437): Info: Freetype returned null for character 130 in font SdkTrays/Value
I/OGRE    (13437): Info: Freetype returned null for character 131 in font SdkTrays/Value
I/OGRE    (13437): Info: Freetype returned null for character 132 in font SdkTrays/Value
I/OGRE    (13437): Info: Freetype returned null for character 133 in font SdkTrays/Value
I/OGRE    (13437): Info: Freetype returned null for character 134 in font SdkTrays/Value
I/OGRE    (13437): Info: Freetype returned null for character 135 in font SdkTrays/Value
I/OGRE    (13437): Info: Freetype returned null for character 136 in font SdkTrays/Value
I/OGRE    (13437): Info: Freetype returned null for character 137 in font SdkTrays/Value
I/OGRE    (13437): Info: Freetype returned null for character 138 in font SdkTrays/Value
I/OGRE    (13437): Info: Freetype returned null for character 139 in font SdkTrays/Value
I/OGRE    (13437): Info: Freetype returned null for character 140 in font SdkTrays/Value
I/OGRE    (13437): Info: Freetype returned null for character 141 in font SdkTrays/Value
I/OGRE    (13437): Info: Freetype returned null for character 142 in font SdkTrays/Value
I/OGRE    (13437): Info: Freetype returned null for character 143 in font SdkTrays/Value
I/OGRE    (13437): Info: Freetype returned null for character 144 in font SdkTrays/Value
I/OGRE    (13437): Info: Freetype returned null for character 145 in font SdkTrays/Value
I/OGRE    (13437): Info: Freetype returned null for character 146 in font SdkTrays/Value
I/OGRE    (13437): Info: Freetype returned null for character 147 in font SdkTrays/Value
I/OGRE    (13437): Info: Freetype returned null for character 148 in font SdkTrays/Value
I/OGRE    (13437): Info: Freetype returned null for character 149 in font SdkTrays/Value
I/OGRE    (13437): Info: Freetype returned null for character 150 in font SdkTrays/Value
I/OGRE    (13437): Info: Freetype returned null for character 151 in font SdkTrays/Value
I/OGRE    (13437): Info: Freetype returned null for character 152 in font SdkTrays/Value
I/OGRE    (13437): Info: Freetype returned null for character 153 in font SdkTrays/Value
I/OGRE    (13437): Info: Freetype returned null for character 154 in font SdkTrays/Value
I/OGRE    (13437): Info: Freetype returned null for character 155 in font SdkTrays/Value
I/OGRE    (13437): Info: Freetype returned null for character 156 in font SdkTrays/Value
I/OGRE    (13437): Info: Freetype returned null for character 157 in font SdkTrays/Value
I/OGRE    (13437): Info: Freetype returned null for character 158 in font SdkTrays/Value
I/OGRE    (13437): Info: Freetype returned null for character 159 in font SdkTrays/Value
I/OGRE    (13437): Info: Freetype returned null for character 160 in font SdkTrays/Value
I/OGRE    (13437): Texture: SdkTrays/ValueTexture: Loading 1 faces(PF_BYTE_LA,512x256x1) Internal format is PF_BYTE_LA,512x256x1.
I/OGRE    (13437): Parsing script Instancing.program
I/OGRE    (13437): Parsing script DualQuaternion.program
I/OGRE    (13437): Parsing script Examples.program
E/OGRE    (13437): OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource DiffuseOneTexture.glsles in resource group Popular or any other group.
in ResourceGroupManager::openResource at ..\..\OgreMain\src\OgreResourceGroupManager.cpp (line 756)
I/OGRE    (13437): High-level program Ogre/BasicFragmentPrograms/DiffuseOneTextureGLSLES encountered an error during loading and is thus not supported.
I/OGRE    (13437): OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource DiffuseOneTexture.glsles in resource group Popular or any other group.
in ResourceGroupManager::openResource at ..\..\OgreMain\src\OgreResourceGroupManager.cpp (line 756)
E/OGRE    (13437): OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParamete
rs::_findNamedConstantDefinition at ..\..\OgreMain\src\OgreGpuProgramParams.cpp (line 1441)
I/OGRE    (13437): Compiler error: invalid parameters in (104): setting of constant failed
I/OGRE    (13437): Parsing script StdQuad_vp.program
I/OGRE    (13437): Parsing script ASCII.material
I/OGRE    (13437): Parsing script ASMSwizzle.material
I/OGRE    (13437): Compiler error: object unsupported by render system in (1)
I/OGRE    (13437): Parsing script BlackAndWhite.material
I/OGRE    (13437): Parsing script Bloom.material
I/OGRE    (13437): Parsing script Bloom2.material
I/OGRE    (13437): Parsing script CGSwizzle.material
I/OGRE    (13437): Parsing script CompositorDemo.material
I/OGRE    (13437): Parsing script DOF.material
I/OGRE    (13437): Parsing script DepthShadowmap.material
I/OGRE    (13437): Parsing script Dither.material
I/OGRE    (13437): Parsing script DualQuaternion.material
I/OGRE    (13437): Parsing script Embossed.material
I/OGRE    (13437): Parsing script Example-Water.material
I/OGRE    (13437): Parsing script Examples-Advanced.material
I/OGRE    (13437): Compiler error: object unsupported by render system in (524)
I/OGRE    (13437): Compiler error: object unsupported by render system in (787)
I/OGRE    (13437): Parsing script Examples-DynTex.material
I/OGRE    (13437): Parsing script Examples-Water.material
I/OGRE    (13437): Parsing script Examples.material
I/OGRE    (13437): Parsing script GLSLSwizzle.material
I/OGRE    (13437): Parsing script Glass.material
I/OGRE    (13437): Parsing script HWInstancing.material
I/OGRE    (13437): Parsing script HW_VTFInstancing.material
I/OGRE    (13437): Parsing script HW_VTF_LUTInstancing.material
I/OGRE    (13437): Parsing script Halftone.material
I/OGRE    (13437): Parsing script HeatVision.material
I/OGRE    (13437): Parsing script Hurt.material
I/OGRE    (13437): Parsing script InstancingMisc.material
I/OGRE    (13437): Parsing script Invert.material
I/OGRE    (13437): Parsing script IsoSurf.material
I/OGRE    (13437): Parsing script Laplace.material
I/OGRE    (13437): Parsing script MRTtest.material
I/OGRE    (13437): Parsing script MotionBlur.material
I/OGRE    (13437): Parsing script NightVision.material
I/OGRE    (13437): Parsing script Ocean.material
I/OGRE    (13437): Parsing script OffsetMapping.material
I/OGRE    (13437): Compiler error: object unsupported by render system in (35)
I/OGRE    (13437): Parsing script Ogre.material
I/OGRE    (13437): Parsing script OldMovie.material
I/OGRE    (13437): Parsing script OldTV.material
I/OGRE    (13437): Parsing script ParticleGS.material
I/OGRE    (13437): Parsing script Penguin.material
I/OGRE    (13437): Parsing script Posterize.material
I/OGRE    (13437): Parsing script RZR-002.material
I/OGRE    (13437): Parsing script RadialBlur.material
I/OGRE    (13437): Parsing script ShaderInstancing.material
I/OGRE    (13437): Parsing script ShaderSystem.material
I/OGRE    (13437): Parsing script SharpenEdges.material
I/OGRE    (13437): Parsing script Tiling.material
I/OGRE    (13437): Parsing script VTFInstancing.material
I/OGRE    (13437): Parsing script VarianceShadowmap.material
I/OGRE    (13437): Parsing script facial.material
I/OGRE    (13437): Parsing script hdr.material
I/OGRE    (13437): Parsing script instancing.material
I/OGRE    (13437): Parsing script pssm.material
I/OGRE    (13437): Parsing script shadows.material
I/OGRE    (13437): Parsing script sibenik.material
I/OGRE    (13437): Parsing script smoke.material
I/OGRE    (13437): Parsing script DualQuaternionSkinning_Shadow.material
I/OGRE    (13437): Parsing script HardwareSkinningShadow.material
I/OGRE    (13437): Parsing script RTShaderSystem.material
I/OGRE    (13437): Parsing script CreaseShading.material
I/OGRE    (13437): Parsing script Crytek.material
I/OGRE    (13437): Parsing script GBuffer.material
I/OGRE    (13437): Parsing script HemisphereMC.material
I/OGRE    (13437): Parsing script HorizonBased.material
I/OGRE    (13437): Parsing script SSAOPost.material
I/OGRE    (13437): Parsing script ShowDepth.material
I/OGRE    (13437): Parsing script ShowNormals.material
I/OGRE    (13437): Parsing script ShowViewPos.material
I/OGRE    (13437): Parsing script UnsharpMask.material
I/OGRE    (13437): Parsing script Volumetric.material
I/OGRE    (13437): Parsing script RomanBath.material
I/OGRE    (13437): Parsing script Sinbad.material
I/OGRE    (13437): Parsing script Examples-Water.particle
I/OGRE    (13437): Parsing script Examples.particle
I/OGRE    (13437): Parsing script emitted_emitter.particle
I/OGRE    (13437): Parsing script smoke.particle
I/OGRE    (13437): Parsing script Examples.compositor
I/OGRE    (13437): Parsing script SSAO.compositor
I/OGRE    (13437): Parsing script SSAOPost.compositor
I/OGRE    (13437): Parsing script sample.fontdef
I/OGRE    (13437): Finished parsing scripts for resource group Popular
I/OGRE    (13437): Creating resources for group Popular
I/OGRE    (13437): All done
I/OGRE    (13437): Installing plugin: Bezier Patch Sample
I/OGRE    (13437): Plugin successfully installed
I/OGRE    (13437): Installing plugin: Camera Tracking Sample
I/OGRE    (13437): Plugin successfully installed
I/OGRE    (13437): Installing plugin: Cel-shading Sample
I/OGRE    (13437): Plugin successfully installed
I/OGRE    (13437): Installing plugin: Character Sample
I/OGRE    (13437): Plugin successfully installed
I/OGRE    (13437): Installing plugin: Cube Mapping Sample
I/OGRE    (13437): Plugin successfully installed
I/OGRE    (13437): Installing plugin: Dynamic Texturing Sample
I/OGRE    (13437): Plugin successfully installed
I/OGRE    (13437): Installing plugin: Facial Animation Sample
I/OGRE    (13437): Plugin successfully installed
I/OGRE    (13437): Installing plugin: Fresnel Sample
I/OGRE    (13437): Plugin successfully installed
I/OGRE    (13437): Installing plugin: Grass Sample
I/OGRE    (13437): Plugin successfully installed
I/OGRE    (13437): Installing plugin: Particle Effects Sample
I/OGRE    (13437): Plugin successfully installed
I/OGRE    (13437): Installing plugin: Lighting Sample
I/OGRE    (13437): Plugin successfully installed
I/OGRE    (13437): Installing plugin: Sky Box Sample
I/OGRE    (13437): Plugin successfully installed
I/OGRE    (13437): Installing plugin: Sky Dome Sample
I/OGRE    (13437): Plugin successfully installed
I/OGRE    (13437): Installing plugin: Sky Plane Sample
I/OGRE    (13437): Plugin successfully installed
I/OGRE    (13437): Installing plugin: Smoke Sample
I/OGRE    (13437): Plugin successfully installed
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: thumb_bezier.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A
8B8G8R8,128x128x1.
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: thumb_camtrack.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF
_A8B8G8R8,128x128x1.
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: thumb_cel.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8B8
G8R8,128x128x1.
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: thumb_char.png: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_R8G8B
8,128x128x1.
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: thumb_cubemap.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_
A8B8G8R8,128x128x1.
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: thumb_dyntex.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A
8B8G8R8,128x128x1.
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: thumb_facial.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A
8B8G8R8,128x128x1.
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: thumb_fresnel.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_
A8B8G8R8,128x128x1.
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: thumb_grass.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8
B8G8R8,128x128x1.
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: thumb_lighting.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF
_A8B8G8R8,128x128x1.
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: thumb_particles.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is P
F_A8B8G8R8,128x128x1.
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: thumb_skybox.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A
8B8G8R8,128x128x1.
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: thumb_skydome.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_
A8B8G8R8,128x128x1.
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: thumb_skyplane.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF
_A8B8G8R8,128x128x1.
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: thumb_smoke.png: Loading 1 faces(PF_A8R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8
B8G8R8,128x128x1.
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: sdk_button_over.png: Loading 1 faces(PF_A8R8G8B8,128x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF
_A8B8G8R8,128x32x1.
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: sdk_button_down.png: Loading 1 faces(PF_A8R8G8B8,128x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF
_A8B8G8R8,128x32x1.
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: rockwall.tga: Loading 1 faces(PF_R8G8B8,256x256x1) with 5 hardware generated mipmaps from Image. Internal format is PF_R8G8B8,
256x256x1.
I/OGRE    (13437): Mesh: Loading Sinbad.mesh.
I/OGRE    (13437): Skeleton: Loading Sinbad.skeleton
I/OGRE    (13437): WARNING: Sinbad.mesh is an older format ([MeshSerializer_v1.40]); you should upgrade it as soon as possible using the OgreMeshUpgrade t
ool.
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: sinbad_body.tga: Loading 1 faces(PF_R8G8B8,512x512x1) with 5 hardware generated mipmaps from Image. Internal format is PF_R8G8
B8,512x512x1.
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: sinbad_clothes.tga: Loading 1 faces(PF_R8G8B8,512x512x1) with 5 hardware generated mipmaps from Image. Internal format is PF_R
8G8B8,512x512x1.
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: sinbad_sword.tga: Loading 1 faces(PF_R8G8B8,256x256x1) with 5 hardware generated mipmaps from Image. Internal format is PF_R8G
8B8,256x256x1.
I/OGRE    (13437): WARNING: the mesh 'Sinbad.mesh' includes vertices with more than 4 bone assignments. The lowest weighted assignments beyond this limit
have been removed, so your animation may look slightly different. To eliminate this, reduce the number of bone assignments per vertex on your mesh to 4.
I/OGRE    (13437): Creating swords
I/OGRE    (13437): Mesh: Loading Sword.mesh.
I/OGRE    (13437): WARNING: Sword.mesh is an older format ([MeshSerializer_v1.40]); you should upgrade it as soon as possible using the OgreMeshUpgrade to
ol.
I/OGRE    (13437): Creating the chains
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: ribbonband.png: Loading 1 faces(PF_R8G8B8,128x1x1) with 5 hardware generated mipmaps from Image. Internal format is PF_R8G8B8,
128x1x1.
I/OGRE    (13437): OpenGL ES2 error 0x0502 GL_INVALID_OPERATION in virtual void Ogre::GLES2Texture::createInternalResourcesImpl() at line 153
I/OGRE    (13437): Texture: spot_shadow_fade.png: Loading 1 faces(PF_R8G8B8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF
_R8G8B8,128x128x1.
After pressing home button and returning to the app, the messages were only that:

Code: Select all

I/OGRE    (13437): OpenGL ES2 error 0x0501 GL_INVALID_VALUE in bool Ogre::GLSLESProgram::compile(bool) at line 222
I/OGRE    (13437): OpenGL ES2 error 0x0501 GL_INVALID_VALUE in bool Ogre::GLSLESProgram::compile(bool) at line 187
Last edited by Brocan on Tue Jun 05, 2012 8:40 am, edited 1 time in total.
User avatar
Wolfmanfx
OGRE Team Member
OGRE Team Member
Posts: 1525
Joined: Fri Feb 03, 2006 10:37 pm
Location: Austria - Leoben
x 100

Re: Improving Android support

Post by Wolfmanfx »

What says the log?

Just saw but you have a bunch gl error on texture loading also the log after return must say render reset started.
Which os do you use - i am doing everything with 4.0.3. Could also be a driver thing.

I have to say its really hard to support every hardware when you do not own it :)
User avatar
Brocan
Orc
Posts: 441
Joined: Tue Aug 01, 2006 1:43 am
Location: Spain!!
x 8

Re: Improving Android support

Post by Brocan »

Stack trace after returning to the app :D

Code: Select all

W/Ogre    (14682): APP_CMD_INIT_WINDOW
W/Ogre    (14682): _createInternalResources
I/OGRE    (14682): OpenGL ES2 error 0x0501 GL_INVALID_VALUE in bool Ogre::GLSLESProgram::compile(bool) at line 222
I/OGRE    (14682): OpenGL ES2 error 0x0501 GL_INVALID_VALUE in bool Ogre::GLSLESProgram::compile(bool) at line 187
I/DEBUG   ( 1830): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   ( 1830): Build fingerprint: 'samsung/GT-I9100/GT-I9100:4.0.3/IML74K/BULPC:user/release-keys'
I/DEBUG   ( 1830): pid: 14682, tid: 14695  >>> org.ogre3d.browser <<<
I/DEBUG   ( 1830): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
I/DEBUG   ( 1830):  r0 deadbaad  r1 00000001  r2 40000000  r3 00000000
I/DEBUG   ( 1830):  r4 00000000  r5 00000027  r6 514c1d7c  r7 00000000
I/DEBUG   ( 1830):  r8 00000000  r9 00000e70  10 00000000  fp 5251fa48
I/DEBUG   ( 1830):  ip ffffffff  sp 514c1c60  lr 40073179  pc 4006f8d8  cpsr 60000030
I/DEBUG   ( 1830):  d0  3f80000000000000  d1  3f800000a2f727d2
I/DEBUG   ( 1830):  d2  0000000041700000  d3  0000000040e00000
I/DEBUG   ( 1830):  d4  0000000040000000  d5  c120000000000000
I/DEBUG   ( 1830):  d6  3f6666663f19999a  d7  422ccccc3f333333
I/DEBUG   ( 1830):  d8  422ccccc42066666  d9  0000000000000000
I/DEBUG   ( 1830):  d10 0000000000000000  d11 0000000000000000
I/DEBUG   ( 1830):  d12 0000000000000000  d13 0000000000000000
I/DEBUG   ( 1830):  d14 0000000000000000  d15 0000000000000000
I/DEBUG   ( 1830):  d16 3fda8279a7bc2207  d17 3fd921fb60000000
I/DEBUG   ( 1830):  d18 3f9607e47bc22070  d19 3fd5555555555563
I/DEBUG   ( 1830):  d20 0000000000000000  d21 3f55c2778a8be9cf
I/DEBUG   ( 1830):  d22 3f967b6faf8d2e07  d23 3f82391ed3d83df8
I/DEBUG   ( 1830):  d24 3f57f48a38a4a052  d25 3f6d8a8e44e27de7
I/DEBUG   ( 1830):  d26 3f3043b3a18f8aef  d27 3f43545b10f5feaa
I/DEBUG   ( 1830):  d28 3f12e167f9ad8af4  d29 3f1460ea3eff5d8f
I/DEBUG   ( 1830):  d30 3efb2a7074bf7ad4  d31 0000000000000000
I/DEBUG   ( 1830):  scr 60000013
I/DEBUG   ( 1830):
I/DEBUG   ( 1830):          #00  pc 000178d8  /system/lib/libc.so
I/DEBUG   ( 1830):          #01  pc 0001ea74  /system/lib/libc.so (__assert2)
I/DEBUG   ( 1830):
I/DEBUG   ( 1830): code around pc:
I/DEBUG   ( 1830): 4006f8b8 4623b15c 2c006824 e026d1fb b12368db  \.#F$h.,..&..h#.
I/DEBUG   ( 1830): 4006f8c8 21014a17 6011447a 48124798 24002527  .J.!zD.`.G.H'%.$
I/DEBUG   ( 1830): 4006f8d8 f7f47005 2106ee4c eedaf7f5 460aa901  .p..L..!.......F
I/DEBUG   ( 1830): 4006f8e8 f04f2006 94015380 94029303 eaa4f7f5  . O..S..........
I/DEBUG   ( 1830): 4006f8f8 4622a905 f7f52002 f7f4eaae 2106ee38  .."F. ......8..!
I/DEBUG   ( 1830):
I/DEBUG   ( 1830): code around lr:
I/DEBUG   ( 1830): 40073158 41f0e92d 46804c0c 447c2600 68a56824  -..A.L.F.&|D$h.h
I/DEBUG   ( 1830): 40073168 e0076867 300cf9b5 dd022b00 47c04628  gh.....0.+..(F.G
I/DEBUG   ( 1830): 40073178 35544306 37fff117 6824d5f4 d1ee2c00  .CT5...7..$h.,..
I/DEBUG   ( 1830): 40073188 e8bd4630 bf0081f0 000283c2 41f0e92d  0F..........-..A
I/DEBUG   ( 1830): 40073198 fb01b086 9004f602 461f4815 4615460c  .........H.F.F.F
I/DEBUG   ( 1830):
I/DEBUG   ( 1830): memory map around addr deadbaad:
I/DEBUG   ( 1830): beef2000-bef13000 [stack]
I/DEBUG   ( 1830): (no map for address)
I/DEBUG   ( 1830): ffff0000-ffff1000 [vectors]
I/DEBUG   ( 1830):
I/DEBUG   ( 1830): stack:
I/DEBUG   ( 1830):     514c1c20  00004000
I/DEBUG   ( 1830):     514c1c24  00000000
I/DEBUG   ( 1830):     514c1c28  000bb5a0  [heap]
I/DEBUG   ( 1830):     514c1c2c  4009b6f0  /system/lib/libc.so
I/DEBUG   ( 1830):     514c1c30  4009b74c  /system/lib/libc.so
I/DEBUG   ( 1830):     514c1c34  400a0848
I/DEBUG   ( 1830):     514c1c38  00000000
I/DEBUG   ( 1830):     514c1c3c  40073179  /system/lib/libc.so
I/DEBUG   ( 1830):     514c1c40  00000000
I/DEBUG   ( 1830):     514c1c44  514c1c74
I/DEBUG   ( 1830):     514c1c48  514c1d7c
I/DEBUG   ( 1830):     514c1c4c  00000000
I/DEBUG   ( 1830):     514c1c50  00000000
I/DEBUG   ( 1830):     514c1c54  400722e5  /system/lib/libc.so
I/DEBUG   ( 1830):     514c1c58  df0027ad
I/DEBUG   ( 1830):     514c1c5c  00000000
I/DEBUG   ( 1830): #00 514c1c60  400926d5  /system/lib/libc.so
I/DEBUG   ( 1830):     514c1c64  5126479c  /data/data/org.ogre3d.browser/lib/libOgreSampleBrowser.so
I/DEBUG   ( 1830):     514c1c68  514c1d7c
I/DEBUG   ( 1830):     514c1c6c  40072611  /system/lib/libc.so
I/DEBUG   ( 1830):     514c1c70  4009b6f0  /system/lib/libc.so
I/DEBUG   ( 1830):     514c1c74  fffffbdf
I/DEBUG   ( 1830):     514c1c78  40076a75  /system/lib/libc.so
I/DEBUG   ( 1830):     514c1c7c  400926d5  /system/lib/libc.so
I/DEBUG   ( 1830):     514c1c80  5126479c  /data/data/org.ogre3d.browser/lib/libOgreSampleBrowser.so
I/DEBUG   ( 1830):     514c1c84  40076a79  /system/lib/libc.so
I/DEBUG   ( 1830): #01 514c1c88  000001da
I/DEBUG   ( 1830):     514c1c8c  51264530  /data/data/org.ogre3d.browser/lib/libOgreSampleBrowser.so
I/DEBUG   ( 1830):     514c1c90  51264530  /data/data/org.ogre3d.browser/lib/libOgreSampleBrowser.so
I/DEBUG   ( 1830):     514c1c94  513a871c  /data/data/org.ogre3d.browser/lib/libOgreSampleBrowser.so
I/DEBUG   ( 1830):     514c1c98  542adaf8
I/DEBUG   ( 1830):     514c1c9c  50dbed34  /data/data/org.ogre3d.browser/lib/libOgreSampleBrowser.so
I/DEBUG   ( 1830):     514c1ca0  00245318  [heap]
I/DEBUG   ( 1830):     514c1ca4  00000000
I/DEBUG   ( 1830):     514c1ca8  00000000
I/DEBUG   ( 1830):     514c1cac  400d2627  /system/lib/libutils.so
I/DEBUG   ( 1830):     514c1cb0  002452d0  [heap]
I/DEBUG   ( 1830):     514c1cb4  00000000
I/DEBUG   ( 1830):     514c1cb8  002452d0  [heap]
I/DEBUG   ( 1830):     514c1cbc  00000000
I/DEBUG   ( 1830):     514c1cc0  00000000
I/DEBUG   ( 1830):     514c1cc4  3fda8279
I/DEBUG   ( 1830):     514c1cc8  00000000
I/DEBUG   ( 1830):     514c1ccc  00000000
I'll try to mount everying in my home and try to debug it :D
User avatar
Wolfmanfx
OGRE Team Member
OGRE Team Member
Posts: 1525
Joined: Fri Feb 03, 2006 10:37 pm
Location: Austria - Leoben
x 100

Re: Improving Android support

Post by Wolfmanfx »

You are using the wrong version try to update it - i see it on the old debug output.
User avatar
Brocan
Orc
Posts: 441
Joined: Tue Aug 01, 2006 1:43 am
Location: Spain!!
x 8

Re: Improving Android support

Post by Brocan »

Wolfmanfx wrote:You are using the wrong version try to update it - i see it on the old debug output.
Ohú, it is a fresh checkout from yesterday afternoon :?

Edit: ok, i see that you made another commit yesterday :mrgreen:
marioprats
Gnoblar
Posts: 3
Joined: Sun May 27, 2012 6:49 pm

Re: Improving Android support

Post by marioprats »

Thanks again Wolfmanfx, works as expected in the Galaxy Tab :)
User avatar
Wolfmanfx
OGRE Team Member
OGRE Team Member
Posts: 1525
Joined: Fri Feb 03, 2006 10:37 pm
Location: Austria - Leoben
x 100

Re: Improving Android support

Post by Wolfmanfx »

So i pushed device rotation support.
Next step is to fix rendertexture on context reset.
ntgd
Gnoblar
Posts: 6
Joined: Fri Jun 08, 2012 2:12 pm

Re: Improving Android support

Post by ntgd »

Is it possible to build this for api levle = 10? or for x86?
Last edited by ntgd on Fri Jun 08, 2012 2:19 pm, edited 1 time in total.
User avatar
Wolfmanfx
OGRE Team Member
OGRE Team Member
Posts: 1525
Joined: Fri Feb 03, 2006 10:37 pm
Location: Austria - Leoben
x 100

Re: Improving Android support

Post by Wolfmanfx »

Should be possible - my main dev env is 14 (4.0.3) and 10 is 2.3.3
ntgd
Gnoblar
Posts: 6
Joined: Fri Jun 08, 2012 2:12 pm

Re: Improving Android support

Post by ntgd »

Thanks Wolfmanfx!
Ok, its building right now :D Btw, NDK doesn't support api level 10 but 9.
Also I'm curious about building it for x86 architecture, cuz I would like test it on x86 emulator image provided by Intel.

btw for x86 just add -DANDROID_ABI=x86 cmake options
ntgd
Gnoblar
Posts: 6
Joined: Fri Jun 08, 2012 2:12 pm

Re: Improving Android support

Post by ntgd »

unfortunately browser builded with platform api level 10 crashes on loading, after progress bar reaches the end and before menu appears
User avatar
Wolfmanfx
OGRE Team Member
OGRE Team Member
Posts: 1525
Joined: Fri Feb 03, 2006 10:37 pm
Location: Austria - Leoben
x 100

Re: Improving Android support

Post by Wolfmanfx »

Do you have a stacktrace?
ntgd
Gnoblar
Posts: 6
Joined: Fri Jun 08, 2012 2:12 pm

Re: Improving Android support

Post by ntgd »

Here you have a logcat output http://dl.dropbox.com/u/48083960/log.txt and here is a dumpstate https://dl.dropbox.com/u/48083960/dumps ... ive.txt.gz . Would you need something more?

Btw, could you provide dependencies precompiled for x86 architecture? Thanks in advance!
ntgd
Gnoblar
Posts: 6
Joined: Fri Jun 08, 2012 2:12 pm

Re: Improving Android support

Post by ntgd »

Finally I ran browser on x86 AVD. Dependencies can be taken from gamekit but not freeimage. I had to build myself and now it has over 20mb :D But it works.

In browser I have barely 5fps. Probably because of resolution. Settings shows it is 1280/800. Where I can change resolution?
noob
Gnoblar
Posts: 1
Joined: Sat Jun 16, 2012 2:17 pm

Re: Improving Android support

Post by noob »

Hello guys!

I have a question. How to run code from basic tutorial on android? I was struggling a lot using this port but it was unsuccessful. Please help
Nebojsa
Gnoblar
Posts: 8
Joined: Tue Apr 10, 2012 10:46 am

Re: Improving Android support

Post by Nebojsa »

Hi guys,

I am developing some application for the Android and I want to use your Ogre3d port. My problem is that I need to include prebuild ogre libraries in the project and compile the rest with ndk-build, but it brakes when linking ogre static library. I get a lot of errors related to std, for example

undefined reference to `std::tr1::hash<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::operator()(std::basic_string<char, std::char_traits<char>, std::allocator<char> >) const'

I suspect it is related to some compiler flag but I wasn't able to figure out which.
My Application.mk looks like this:

APP_MODULES := ###
APP_OPTIM := release
APP_ABI := armeabi-v7a
APP_PLATFORM := android-9
APP_STL := gnustl_static
APP_CPPFLAGS := -fexceptions -frtti -Wno-deprecated

If I use stlport_static with no rtti it compiler throws error that rtti needs to be used to compile.

Could you please tell me what compiler flag do you use to build ogrestatic packages.

Thanks for the help.
User avatar
Wolfmanfx
OGRE Team Member
OGRE Team Member
Posts: 1525
Joined: Fri Feb 03, 2006 10:37 pm
Location: Austria - Leoben
x 100

Re: Improving Android support

Post by Wolfmanfx »

Please build the sample browser using cmake - cmake creates a dir under the build dir called SampleBrowserNDK which contains a Android project which shows up how to create you own application using androids make system.
Nebojsa
Gnoblar
Posts: 8
Joined: Tue Apr 10, 2012 10:46 am

Re: Improving Android support

Post by Nebojsa »

Thanks for the quick answer.
I was able to compile it.
Thanks again!