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

MEKKI Mhamed ekkimmhd at gmail.com
Tue Mar 16 14:37:40 PDT 2021


Hey, i advice you to use vcpkg to compile and build your library.


Le mer. 10 mars 2021 à 13:04, mirr... at gmail.com <mirro187 at gmail.com> a
écrit :

> 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
> <https://groups.google.com/d/msgid/osg-users/b9c28f74-72c7-47ff-a7f6-19d5c5483522n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAKCvRh%2Bb7qxa4zsdvtfEzuTTz3tL5yE7wbe%3D%2BM8e9cQ3Qs3e4w%40mail.gmail.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20210316/1c6a15f3/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/20210316/1c6a15f3/attachment-0001.png>


More information about the osg-users mailing list