#30886 closed defect (fixed)
libQGLViewer: error: ‘glLockArraysEXT’ was not declared in this scope
Reported by: | xdarby@… | Owned by: | raphael-st (Raphael Straub) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | lion | Cc: | macports@…, macports@… |
Port: | libQGLViewer |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
sudo port install libQGLViewer local/include/QtXml -I/opt/local/include/QtOpenGL -I/opt/local/include/QtGui -I/opt/local/include/QtCore -I/opt/local/include -F/opt/local/lib -o .obj/water.o water.cpp :info:build water.cpp: In member function ‘void WATER::Render()’: :info:build water.cpp:321: error: ‘glLockArraysEXT’ was not declared in this scope :info:build water.cpp:326: error: ‘glUnlockArraysEXT’ was not declared in this scope :info:build make[2]: *** [.obj/water.o] Error 1
Attachments (2)
Change History (10)
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to raphael@… |
Port: | libQGLViewer added |
Summary: | libQGLViewer built failed → libQGLViewer: error: ‘glLockArraysEXT’ was not declared in this scope |
comment:4 Changed 13 years ago by macports@…
I've encountered the same problem with libQGLViewer.
Mac OS X 10.7.1
XCode 4.1
MacPorts 2.0.3 (selfupdate run approx 2011-09-07)
libQGLViewer @2.3.10
i'll attach my complete main.log also if that's of any help, but the errors appear to be identical.
Changed 13 years ago by macports@…
main.log with error for libQGLViewer @2.3.10
comment:5 Changed 13 years ago by raphael-st (Raphael Straub)
Keywords: | lion added |
---|---|
Version: | 2.0.1 |
This seems to be a Lion problem as I cannot reproduce this error on Leopard and Snow Leopard.
On Snow Leopard glLockArraysEXT
is defined in /System/Library/Frameworks/OpenGL.framework/Headers/glext.h
. I don't have Lion yet. Can anybody with Lion try to find out why glLockArraysEXT
is not defined?
comment:6 Changed 13 years ago 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.
comment:7 Changed 13 years ago by raphael-st (Raphael Straub)
According to AGL Changes glLockArraysEXT
has been removed from OpenGL in Lion.
I think the best solution to fix this is to remove the terrain example on Lion.
comment:8 Changed 13 years ago by raphael-st (Raphael Straub)
Resolution: | → fixed |
---|---|
Status: | new → closed |
This should be fixed in r84044. Please try again after a sudo port selfupdate
and reopen this ticket if the problem is still there.
Remember to use WikiFormatting please and to preview before submitting. Also fill in the Port field and Cc the maintainer of the port. We may need to see the complete main.log file, and to know more about your system.