Hi Ying,

You should be able to use all these OpenGL features with just
compiling the OSG with defaults which is the GL1/GL2 target.  The OSG
checks the driver for support of these features/extensions at runtime
so there is no need to specifically compile against them.

The fact you are getting runtime errors suggest that the OpenGL driver
that you application is linking to doesn't support the OpenGL
features, as the ATI FirePro should support them then it suggests that
for some reason your app is linking to a driver other than the one
supplied by ATI, something like a software GL implementation.  You
don't mention what platform you are working on, could it be Windows
and you are suck with the MS crippled driver rather than then ATI one?

Robert.

On 23 June 2014 11:21, ying song <[email protected]> wrote:
> Hello everyone,
>
> When running my program for vertex shading, I encountered some problems. Hope 
> someone could help me out of this.
>
> The list of errors:
> Error: glCreateShader not supported by OpenGL driver
> Error: glShaderSource not supported by OpenGL driver
> Error: glCompileShader not supported by OpenGL driver
> Error: glGetShaderiv not supported by OpenGL driver
> FRAGMENT glCompileShader "" FAILED
> Error: glGetShaderiv not supported by OpenGL driver
> Error: glCreateShader not supported by OpenGL driver
> Error: glShaderSource not supported by OpenGL driver
> Error: glCompileShader not supported by OpenGL driver
> Error: glGetShaderiv not supported by OpenGL driver
> VERTEX glCompileShader "" FAILED
> Error: glGetShaderiv not supported by OpenGL driver
> Error: glCreateProgram not supported by OpenGL driver
> Error: glAttachShader not supported by OpenGL driver
> Error: glAttachShader not supported by OpenGL driver
> Error: glLinkProgram not supported by OpenGL driver
> Error: glGetProgramiv not supported by OpenGL driver
> glLinkProgram "marble" FAILED
> Error: glGetProgramiv not supported by OpenGL driver
>
> My graphic card is ati firegl v3400, and I installed the ATI FirePro 8.583 
> driver, which could support openGL 3.0. Would someone tell me is it the 
> problem of my graphic card or the wrong driver?
>
> For the source, I use OpenSceneGraph 3.0.1 in my project. When I compiling 
> the source code of osg, I only enabled OSG_GL1, OSG_GL2, OSG_GLES1 and 
> OSG_GLES2. Should I also enable OSG_GL3 to support these shader functions? Or 
> should I include the opengl files in my code (e.g. glut.h)?
>
>
> Thank you in advance for your help!!
>
> Cheers!
> Ying
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=59852#59852
>
>
>
>
>
> _______________________________________________
> 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