[osg-users] How to resolve OSG compiler errors using Opengles3.0?

mirr...@gmail.com mirro187 at gmail.com
Wed Mar 10 04:04:29 PST 2021


win10&osg3.6.4&gl3&cmake
[image: QQ图片20210310200048.png]

1>------ Build started: Project: osg, Configuration: Debug x64 ------
1>  Depth.cpp
1>D:\compileShareLIB\OpenSceneGraph-OpenSceneGraph-3.6.4\src\osg\Depth.cpp(34): 
error C3861: 'glDepthRangef': identifier not found
1>  Shader.cpp
1>D:\compileShareLIB\OpenSceneGraph-OpenSceneGraph-3.6.4\src\osg\Shader.cpp(590): 
error C2065: 'GL_NUM_SHADER_BINARY_FORMATS': undeclared identifier
1>D:\compileShareLIB\OpenSceneGraph-OpenSceneGraph-3.6.4\src\osg\Shader.cpp(595): 
error C2065: 'GL_SHADER_BINARY_FORMATS': undeclared identifier
1>D:\compileShareLIB\OpenSceneGraph-OpenSceneGraph-3.6.4\src\osg\Shader.cpp(601): 
error C3861: 'glShaderBinary': identifier not found
1>  Generating Code...
2>------ Build started: Project: osgUtil, Configuration: Debug x64 ------
2>  RenderStage.cpp
2>D:\compileShareLIB\OpenSceneGraph-OpenSceneGraph-3.6.4\src\osgUtil\RenderStage.cpp(1360): 
error C3861: 'glClearDepthf': identifier not found

-- 
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/b9c28f74-72c7-47ff-a7f6-19d5c5483522n%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20210310/187c79be/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: QQ??20210310200048.png
Type: image/png
Size: 880398 bytes
Desc: not available
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20210310/187c79be/attachment-0001.png>


More information about the osg-users mailing list