Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 702008 - 'GL_GEOMETRY_SHADER' was not declared in this scope
Summary: 'GL_GEOMETRY_SHADER' was not declared in this scope
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-05 01:47 UTC by Xuewei
Modified: 2019-12-05 10:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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".