HI Tibias,

In OpenGL ES 2.0 the fixed function pipeline is not available so you
have to switch this off with:
OSG_GL_FIXED_FUNCTION_AVAILABLE:BOOL=OFF

Robert.

2011/9/9 Tobias Weißhaar <[email protected]>:
> Hi guys,
>
> Now I have generated a project with this command:
>
> cmake -G Xcode \
> -DOSG_BUILD_PLATFORM_IPHONE_SIMULATOR:BOOL=ON \
> -DBUILD_OSG_APPLICATIONS:BOOL=OFF \
> -DBUILD_OSG_EXAMPLES:BOOL=OFF \
> -DOSG_BUILD_FRAMEWORKS:BOOL=OFF \
> -DOSG_WINDOWING_SYSTEM:STRING=IOS \
> -DCMAKE_OSX_ARCHITECTURES:STRING=i386 \
> -DOSG_GL1_AVAILABLE:BOOL=OFF \
> -DOSG_GL2_AVAILABLE:BOOL=OFF \
> -DOSG_GLES2_AVAILABLE:BOOL=ON \
> -DOSG_GL_DISPLAYLISTS_AVAILABLE:BOOL=OFF \
> -DOSG_GL_FIXED_FUNCTION_AVAILABLE:BOOL=ON \
> -DOSG_GL_LIBRARY_STATIC:BOOL=OFF \
> -DOSG_GL_MATRICES_AVAILABLE:BOOL=ON \
> -DOSG_GL_VERTEX_ARRAY_FUNCS_AVAILABLE:BOOL=ON \
> -DOSG_GL_VERTEX_FUNCS_AVAILABLE:BOOL=OFF \
> -DDYNAMIC_OPENSCENEGRAPH:BOOL=OFF \
> -DDYNAMIC_OPENTHREADS:BOOL=OFF \
>
> I want to use OpenGLES2.0 and not 1.0. With 1.0 all went fine but now I get 
> errors like this:
>
> glLoadMatrix has not been declared
> GL_VERTEX_ARRAY has not been declared
> ...
>
>
> Thank you!
>
> Cheers,
> Tobias
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=42557#42557
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to