Can not compile OGLES2.0 with lastest svn version
Re: Can not compile OGLES2.0 with lastest svn version
Thanks Yep, everything is uploaded on SVN.
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
Re: Can not compile OGLES2.0 with lastest svn version
a sad news , Nadro, lots of C++ grammar error in CIrrDeviceWin32 when I check out and build with VS2010。。。。。。
May be new merge is broken……
OK, Finally I found the problem: Missing a "}" at line 1299 in CIrrDeviceWin32.cpp
May be new merge is broken……
OK, Finally I found the problem: Missing a "}" at line 1299 in CIrrDeviceWin32.cpp
Re: Can not compile OGLES2.0 with lastest svn version
Egl still buggy…… same as beforecris wrote:a sad news , Nadro, lots of C++ grammar error in CIrrDeviceWin32 when I check out and build with VS2010。。。。。。
May be new merge is broken……
OK, Finally I found the problem: Missing a "}" at line 1299 in CIrrDeviceWin32.cpp
Re: Can not compile OGLES2.0 with lastest svn version
Ehhh... This is fixing a specific platform without an access to them, but thanks for a report Tomorow I'll have an access to my main PC, so I'll prepare final, checked patch.
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Re: Can not compile OGLES2.0 with lastest svn version
I've fixed the type, code compiles and runs properly on Windows with Imagination SDK.
Re: Can not compile OGLES2.0 with lastest svn version
Compile is OK,but still can not run……
both OGLES and ogles2 reports same error
call stack like:
> ntdll.dll!77eb8dc9()
[下面的框架可能不正确和/或缺失,没有为 ntdll.dll 加载符号]
user32.dll!76687276()
user32.dll!76687257()
ntdll.dll!77eaec62()
ntdll.dll!77eaeba1()
opengl32.dll!5335af92()
opengl32.dll!5335b1a9()
opengl32.dll!5335c6a4()
opengl32.dll!53365658()
opengl32.dll!53365dd4()
opengl32.dll!53366559()
KernelBase.dll!7678143f()
gdi32.dll!757258b7()
libEGL.dll!5352242c()
libEGL.dll!5353bcc4()
libEGL.dll!53538c26()
libEGL.dll!5354ba9b()
libEGL.dll!5354a1fb()
libEGL.dll!5353d607()
libEGL.dll!5353a51d()
libEGL.dll!5353a663()
libEGL.dll!5353a71e()
ntdll.dll!77eb9950()
ntdll.dll!77ebd8c9()
ntdll.dll!77ebdf9d()
ntdll.dll!77ec681c()
ntdll.dll!77eb9e79()
I was thought it is problem with power vr(Imagination ) sdk, but Imagination demos works fine
Older Irrlicht versions works fine too……
both OGLES and ogles2 reports same error
call stack like:
> ntdll.dll!77eb8dc9()
[下面的框架可能不正确和/或缺失,没有为 ntdll.dll 加载符号]
user32.dll!76687276()
user32.dll!76687257()
ntdll.dll!77eaec62()
ntdll.dll!77eaeba1()
opengl32.dll!5335af92()
opengl32.dll!5335b1a9()
opengl32.dll!5335c6a4()
opengl32.dll!53365658()
opengl32.dll!53365dd4()
opengl32.dll!53366559()
KernelBase.dll!7678143f()
gdi32.dll!757258b7()
libEGL.dll!5352242c()
libEGL.dll!5353bcc4()
libEGL.dll!53538c26()
libEGL.dll!5354ba9b()
libEGL.dll!5354a1fb()
libEGL.dll!5353d607()
libEGL.dll!5353a51d()
libEGL.dll!5353a663()
libEGL.dll!5353a71e()
ntdll.dll!77eb9950()
ntdll.dll!77ebd8c9()
ntdll.dll!77ebdf9d()
ntdll.dll!77ec681c()
ntdll.dll!77eb9e79()
I was thought it is problem with power vr(Imagination ) sdk, but Imagination demos works fine
Older Irrlicht versions works fine too……
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Re: Can not compile OGLES2.0 with lastest svn version
Did you remove the opengl32.lib from the Irrlicht project? As the Imagination SDK otherwise won't run properly.
Re: Can not compile OGLES2.0 with lastest svn version
Thank you, now the demo can be launched
but still problem when rendering
The outputs were:
ogles1 nothing be rendered:
In glHint error: 500 (GL_INVALID_ENUM) : unknown target
Could not load sprite bank because the file does not exist: #DefaultFont
GL_INVALID_ENUM
Could not bind Texture
Loaded mesh: ../../media/sydney.md2
In glEnable error: 500 (GL_INVALID_ENUM) : unknown 'cap' (0xde1)"
GL_INVALID_ENUM
Could not bind Texture
In glTexParameteri error: 500 (GL_INVALID_ENUM) : bad pname
GL_INVALID_ENUM
Could not glTexImage2D
Loaded texture: F:/Irrlicht/gles/media/sydney.bmp
Resizing window (640 480)
In glDrawElements error: 502 (GL_INVALID_OPERATION) : No valid shader program loaded
ogles2 no textrue:
Loading shader: ../../media/Shaders/COGLES2FixedPipeline.vsh
Loading shader: ../../media/Shaders/COGLES2FixedPipeline.fsh
Unable to find uniform : uUseLight
Unable to find uniform : uLightPosition
Unable to find uniform : uLightAmbient
Unable to find uniform : uLightDiffuse
Unable to find uniform : uLightSpecular
Unable to find uniform : uLightDirection
Unable to find uniform : uLightAttenuation
Unable to find uniform : uLightExponent
Unable to find uniform : uLightCutoff
Unable to find uniform : uMaterialSpecular
Unable to find uniform : uMaterialShininess
Unable to find uniform : uUseTexture
Unable to find uniform : uTextureMatrix
Unable to find uniform : uUseTexMatrix
Loading shader: ../../media/Shaders/COGLES2Renderer2D.vsh
Loading shader: ../../media/Shaders/COGLES2Renderer2D.fsh
Loading shader: ../../media/Shaders/COGLES2NormalMap.vsh
Loading shader: ../../media/Shaders/COGLES2NormalMap.fsh
Unable to find uniform : uLightPos
Unable to find uniform : uLightColor
Loading shader: ../../media/Shaders/COGLES2ParallaxMap.vsh
Loading shader: ../../media/Shaders/COGLES2ParallaxMap.fsh
Unable to find uniform : uLightPos
Unable to find uniform : uLightColor
Unable to find uniform : uLightDiffuse
Could not load sprite bank because the file does not exist: #DefaultFont
Loaded mesh: ../../media/sydney.md2
Loaded texture: F:/Irrlicht/gles/media/sydney.bmp
Resizing window (640 480)
In glDeleteProgram error: 502 (GL_INVALID_OPERATION) : (null)
but still problem when rendering
The outputs were:
ogles1 nothing be rendered:
In glHint error: 500 (GL_INVALID_ENUM) : unknown target
Could not load sprite bank because the file does not exist: #DefaultFont
GL_INVALID_ENUM
Could not bind Texture
Loaded mesh: ../../media/sydney.md2
In glEnable error: 500 (GL_INVALID_ENUM) : unknown 'cap' (0xde1)"
GL_INVALID_ENUM
Could not bind Texture
In glTexParameteri error: 500 (GL_INVALID_ENUM) : bad pname
GL_INVALID_ENUM
Could not glTexImage2D
Loaded texture: F:/Irrlicht/gles/media/sydney.bmp
Resizing window (640 480)
In glDrawElements error: 502 (GL_INVALID_OPERATION) : No valid shader program loaded
ogles2 no textrue:
Loading shader: ../../media/Shaders/COGLES2FixedPipeline.vsh
Loading shader: ../../media/Shaders/COGLES2FixedPipeline.fsh
Unable to find uniform : uUseLight
Unable to find uniform : uLightPosition
Unable to find uniform : uLightAmbient
Unable to find uniform : uLightDiffuse
Unable to find uniform : uLightSpecular
Unable to find uniform : uLightDirection
Unable to find uniform : uLightAttenuation
Unable to find uniform : uLightExponent
Unable to find uniform : uLightCutoff
Unable to find uniform : uMaterialSpecular
Unable to find uniform : uMaterialShininess
Unable to find uniform : uUseTexture
Unable to find uniform : uTextureMatrix
Unable to find uniform : uUseTexMatrix
Loading shader: ../../media/Shaders/COGLES2Renderer2D.vsh
Loading shader: ../../media/Shaders/COGLES2Renderer2D.fsh
Loading shader: ../../media/Shaders/COGLES2NormalMap.vsh
Loading shader: ../../media/Shaders/COGLES2NormalMap.fsh
Unable to find uniform : uLightPos
Unable to find uniform : uLightColor
Loading shader: ../../media/Shaders/COGLES2ParallaxMap.vsh
Loading shader: ../../media/Shaders/COGLES2ParallaxMap.fsh
Unable to find uniform : uLightPos
Unable to find uniform : uLightColor
Unable to find uniform : uLightDiffuse
Could not load sprite bank because the file does not exist: #DefaultFont
Loaded mesh: ../../media/sydney.md2
Loaded texture: F:/Irrlicht/gles/media/sydney.bmp
Resizing window (640 480)
In glDeleteProgram error: 502 (GL_INVALID_OPERATION) : (null)
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Re: Can not compile OGLES2.0 with lastest svn version
The latter is a known bug due to long uniform names which seem to be unsupported on many platforms. For ogl-es1 you should make sure to only enable ogl-es1 in IrrCompileConfig and use an ogl-es1 emulator.
Re: Can not compile OGLES2.0 with lastest svn version
Anyway fixed pipeline shaders need rebuilding due to iOS platform.
Library helping with network requests, tasks management, logger etc in desktop and mobile apps: https://github.com/GrupaPracuj/hermes
Re: Can not compile OGLES2.0 with lastest svn version
Thank you , I comment ogles2 with only enable ogles1, it works.
To expect your fix with ogles2 pipeline shaders Nadro, great job Irrlicht team
To expect your fix with ogles2 pipeline shaders Nadro, great job Irrlicht team