Hi Mike,

On 7 August 2014 18:57, Mike Strean <[email protected]> wrote:

> Woohoo! Changing IF (APPLE) to IF (APPLE AND NOT ANDROID) seems to have
> worked.
>

Good to hear. I have added this CMakeLists.txt in svn/trunk.



> ... though now I am stuck at TextureCubeMap.cpp:
>
>
> Code:
> /usr/local/src/OpenSceneGraph/src/osg/Texture.cpp:125:9: error:
> 'GL_R3_G3_B2' was not declared in this scope
> /usr/local/src/OpenSceneGraph/src/osg/Texture.cpp:126:9: error:
> 'GL_R3_G3_B2' was not declared in this scope
> /usr/local/src/OpenSceneGraph/src/osg/Texture.cpp:127:9: error: 'GL_RGB4'
> was not declared in this scope
> /usr/local/src/OpenSceneGraph/src/osg/Texture.cpp:128:9: error: 'GL_RGB4'
> was not declared in this scope
>

These #defines are from OpenGL 1.1, these lines of code are quite recent
additions to the OSG so perhaps hadn't be compiled under GLES.  I have
added these #define's to the Texture header alongside the other similar
#defines.

Both these set of changes are now checked into svn/trunk.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to