Re: [MacPorts] #30886: libQGLViewer: error: ‘glLockArraysEXT’ was not declared in this scope

MacPorts noreply at macports.org
Thu Sep 15 10:44:56 PDT 2011


#30886: libQGLViewer: error: ‘glLockArraysEXT’ was not declared in this scope
------------------------------+---------------------------------------------
 Reporter:  xdarby@…          |       Owner:  raphael@…           
     Type:  defect            |      Status:  new                 
 Priority:  Normal            |   Milestone:                      
Component:  ports             |     Version:                      
 Keywords:  lion              |        Port:  libQGLViewer        
------------------------------+---------------------------------------------

Comment(by macports@…):

 According to the logs the error is in examples/contribs/terrain/water.cpp,
 which says:
 {{{
 // Required to have glLockArraysEXT
 #define GL_GLEXT_PROTOTYPES
 }}}

 GL_GLEXT_PROTOTYPES is nowhere to be found in glext.h. glLockArraysEXT is
 wrapped in a different set of ifdefs. I'm attaching glext.h from Lion.

-- 
Ticket URL: <https://trac.macports.org/ticket/30886#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list