Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 702008

Summary: 'GL_GEOMETRY_SHADER' was not declared in this scope
Product: Gentoo Linux Reporter: Xuewei <18800136075>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED CANTFIX    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Xuewei 2019-12-05 01:47:17 UTC
When I build a project related to OpenGL, I receive a error message:

error:               'GL_GEOMETRY_SHADER' was not declared in this scope; did you mean 'GL_GEOMETRY_SHADER_ARB'?                                                                                   
  116 |     m_codes.push_back(GL_GEOMETRY_SHADER);                                                                                                                            
      |                       ^~~~~~~~~~~~~~~~~~                                                                                                                              
      |                       GL_GEOMETRY_SHADER_ARB                                                                                                                          
ninja: build stopped: subcommand failed.

And I simply change GL_GEOMETRY_SHADER to  GL_GEOMETRY_SHADER_ARB, similar error happens in another file:

'GL_FIXED' wasnot declared in this scope

Maybe unsuitable OpenGL version makes it occur.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-12-05 10:27:29 UTC
We have no ebuild for "a project related to OpenGL".